Can you give us a semincolon-delimited list of header: value pairs
examples
I don't find the right way !
Regards
Michel
Le 25 oct. 05 à 19:42, Aparajita Fishman a écrit :
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/
-------------------------------------
Open Mac
11 rue de l'Eglise
57660 Lixing les St Avold
tél : +33 3 87 29 85 58
fax : +33 3 87 29 85 59
--------------------------------------
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/