Forums / Developer / how to send mail with attachment using EZMAIL

how to send mail with attachment using EZMAIL

Author Message

Dhaval Patel

Thursday 31 July 2008 2:24:00 am

hello,

I want to send the mail with attachement of text file.

I have made an action handler to send the mail.

Simple mail is working but I want to send it with attachment.

Please suggest me the solution.

Thanks in advance.

Dhaval Patel
iNET Process India
www.inetprocess.co.in

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Kristof Coomans

Thursday 31 July 2008 7:49:35 am

Hi Dhaval

The eZMail libraries coming with eZ Publish do not support attachments. If you're on PHP 4 / eZ Publish 3 you might have to use a third party mail library to send out e-mails with attachments in PHP, take a look at this extension: http://projects.ez.no/ezswift. If you're on PHP 5 / eZ Publish 4, you can use the eZ Mail Component: http://ezcomponents.org/docs/tutorials/Mail. Good luck!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Nicolas Ottavi

Thursday 28 August 2008 8:10:22 am

Hi Kristof,

Thanks for the link to eZSwift. Unfortunatly I can't find the extension archive to download?

http://projects.ez.no/index.php/ezswift/downloads

[edit:] I am using the svn instead ;)
Thanks