Hi,
I have a problem where my HTML e-mails are empty when sent to Gmail,
but fine when sent to my standard e-mail viewed through outlook.
The coldfusion code i'm using to send my e-mail is:
cfmail from=#arguments.sFrom# to=#arguments.sRecipients#
subject=#arguments.sSubject#
I have fixed it by not using cfmailpart parameters, maybe it's because I
didn't have a text part?
cfmail from=#arguments.sFrom# to=#arguments.sRecipients#
subject=#arguments.sSubject# failto=testf...@massey.ac.nz
charset=utf-8 type=html
cfoutput
Yeah i have
I dont think gmail likes the html mime part like that.
Try this
cfmail from=#arguments.sFrom# to=#arguments.sRecipients#
subject=#arguments.sSubject# failto=testf...@lmassey.ac.nz
type=htmlcfoutput#arguments.sContent#/cfoutput
cfmailpart type=textThis email is in html format
That's right. You need to specify both mail parts.
ALSO the text/plain one has to be first, like below.
Also cfoutput is not needed inside cfmail, unless you are outputting a query
using grouping.
cfmail from=#arguments.sFrom# to=#arguments.sRecipients#
subject=#arguments.sSubject#
ps: I tested this in gmail and it works.
On 25 August 2011 13:12, MrBuzzy mrbu...@gmail.com wrote:
That's right. You need to specify both mail parts.
ALSO the text/plain one has to be first, like below.
Also cfoutput is not needed inside cfmail, unless you are outputting a
query using