PxPlus User Forum

Main Board => Discussions => Language => Topic started by: Jeffrey Ferreira on July 13, 2018, 11:46:00 AM

Title: text/html encoding is coming thru as attachment
Post by: Jeffrey Ferreira on July 13, 2018, 11:46:00 AM
I use the *web\email encoding all the time.
I'm working on a client using pxplus 10.2
and when i do a text/html encoding and i create the body of email as standard html it keeps coming thru as an attchment

it happens when i send to my gmail and outlook.
does anyone have any ideas?

thanks

jeff
Title: Re: text/html encoding is coming thru as attachment
Post by: Jeffrey Ferreira on July 13, 2018, 12:59:09 PM
I made a mistake in my encoding variable please ignore.
Title: Re: text/html encoding is coming thru as attachment
Post by: Devon Austen on July 13, 2018, 01:03:54 PM
There should be no reason for HTML to go through as an attachment. Is it possible your call to *web/email has some of the arguments mixed up or not set correctly?

the 7th argument is message$ and should be something like "<html><head><title>..</html>"

The 8th argument is attachment$ and should be ""

The 13th argument is bodyencoding$ and should be "text/html"