You do need additional headers and should take a look at the RFC. My solution was to make a copy of A4D_SendMail wrapper and modify the body part to:If ($err=0) If (Position("<html>";$inBody)>0)$err:=SMTP_AddHeader ($smtp;"Content-Type:";"text/html; charset=us-ascii";1)If ($err=0) $err:=SMTP_Body ($smtp;$inBody;1) End if Else $err:=SMTP_Body ($smtp;$inBody;1) End if End if
In v4 the Content-Type header can be passed directly to a4d.utils.SendMail or A4D_SendMail, no need to modify it.
Regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoylibrary.com _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
