Hi all,
I noticed you cant use html in body of the PureBasic mail. Are there any working solutions to this problem, working with version PB 5.50?
Any help is appreciated!
How to use html in body of PB mail?
Re: How to use html in body of PB mail?
Hi,
the problem is the Content-Type which is used by PB:
Does not replace the original part. It adds a second one which is ignored (by Thunderbird)
So a new attribute is required:
Place a feature reuest, since Fred had already done some stuff for PB 5.60.
Bernd
the problem is the Content-Type which is used by PB:
For html it should be:Content-type: text/plain; charset=ISO-8859-1; format=flowed
At the moment you have no chance to modify this.Content-type: text/html; charset=iso-8859-1
Code: Select all
SetMailAttribute(0, #PB_Mail_Custom, "Content-type: text/html; charset=iso-8859-1")
So a new attribute is required:
Code: Select all
#PB_Mail_ContentType
Bernd
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: How to use html in body of PB mail?
+1
Not being able to send html mail is a pain.
Not being able to send html mail is a pain.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: How to use html in body of PB mail?
+1, although I swear I used to be able to do this. Weird.