I use this code to send mail
a4d.utils.setSMTPHost ("mail.domainname.com")
a4d.utils.setSMTPAuthorization
("[EMAIL PROTECTED]";"password")
a4d.utils.sendmail
("mail.inc";"[EMAIL PROTECTED]";"[EMAIL PROTECTED]")
If mail.inc is a text file all is ok
But if mail.inc is an html file, mail program don't recognise html
code and parse it as a text file
To send html emails you have to send some extra headers and modify
the content. See RFC 1521.
http://www.freesoft.org/CIE/RFC/1521/index.htm
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/