SetMailBody: support for HTML and Plain Text
SetMailBody: support for HTML and Plain Text
Currently only a plain text part can be added as a e-mail body.
Please add a possibility to add a HTML body, but also allow a combination of both.
Please add a possibility to add a HTML body, but also allow a combination of both.
Re: SetMailBody: support for HTML and Plain Text
+1
(every example on this forum with html support on email doesnt work anymore...)
(every example on this forum with html support on email doesnt work anymore...)
Re: SetMailBody: support for HTML and Plain Text
i thought html email was just plaintext but, well, as html? ie. doesn't that mean it's already supported?
[edit] ooh, i see now the difference is in the actual email header, not the body:
Plaintext: Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Html: Content-Type: multipart/alternative; boundary="----=_NextPart_000_0123_0123456.123456"
[edit] ooh, i see now the difference is in the actual email header, not the body:
Plaintext: Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Html: Content-Type: multipart/alternative; boundary="----=_NextPart_000_0123_0123456.123456"
Re: SetMailBody: support for HTML and Plain Text
Code: Select all
#PB_Mail_ContentType
Look here:
http://www.purebasic.fr/english/viewtop ... 13&t=67605
Bernd
Re: SetMailBody: support for HTML and Plain Text
Hi
I would like to see HTML supported in the eMail body as we send lots of emails for transactions receipts etc. that require HTML to display logos and formatted tables with different colors. So having PB support HTML emails would be very useful.
Thanks,
Simon
I would like to see HTML supported in the eMail body as we send lots of emails for transactions receipts etc. that require HTML to display logos and formatted tables with different colors. So having PB support HTML emails would be very useful.
Thanks,
Simon
Simon White
dCipher Computing
dCipher Computing
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: SetMailBody: support for HTML and Plain Text
+1
It needs this.
It needs this.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: SetMailBody: support for HTML and Plain Text
+1
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- Addict
- Posts: 1233
- Joined: Wed Feb 28, 2007 9:13 am
- Location: London
Re: SetMailBody: support for HTML and Plain Text
+1
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
- the.weavster
- Addict
- Posts: 1537
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
- DeanH
- Enthusiast
- Posts: 228
- Joined: Wed May 07, 2008 4:57 am
- Location: Adelaide, South Australia
- Contact:
Re: SetMailBody: support for HTML and Plain Text
+1
I have used some code from the forum that worked with older versions of PB but does not seem to work any more. I have not been able to work out why yet.
I have used some code from the forum that worked with older versions of PB but does not seem to work any more. I have not been able to work out why yet.