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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential do not support attachments. If you're on PHP 4 / Exponential 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 / Exponential 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