Page 1 of 1

Please advise a php mail class (library)

Posted: Wed Mar 01, 2006 11:49 pm
by tim_kinder
Hello,

Can you please advise an easy to use and reliable php mail class or library?

The requirements are :

- Multipart/alternative emails (HTML/non-HTML);
- Attached files;
- Attachments created from script output;
- Multiple languages/encodings (unicode?)
- Open Source (php)

Sincerely,

Posted: Thu Mar 02, 2006 12:01 am
by feyd
phpmailer?

phpmailer.sf.net - not absolutely sure on the multilanguage support, but I don't think it doesn't support them.

Posted: Thu Mar 02, 2006 12:10 am
by tim_kinder
feyd wrote:phpmailer?
I'm reading it's tutorial right now, but can't see how to create attachments from script output, rather than reading from file.

Posted: Thu Mar 02, 2006 5:41 am
by Roja
tim_kinder wrote:
feyd wrote:phpmailer?
I'm reading it's tutorial right now, but can't see how to create attachments from script output, rather than reading from file.
Add string attachment.

Alternatively, you could channel the script output to a temporary file, attach (AddAttachment) it to phpmailer, and then delete it.

Posted: Thu Mar 02, 2006 7:16 am
by matthijs
Did you also read the tutorial on http://www.phpfreaks.com/tutorials/130/0.php? I found it very useful, and all examples worked for me. Including attachments etc.