PHP Classes

sending mail with an Attachment

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  sending mail with an Attachment  >  (Un) Subscribe thread alerts  
Subject:sending mail with an Attachment
Summary:sending mail with an Attachment
Messages:4
Author:Navaneetha krishnan
Date:2013-10-29 05:21:05
Update:2013-10-29 09:48:56
 

  1. sending mail with an Attachment   Reply   Report abuse  
Picture of Navaneetha krishnan Navaneetha krishnan - 2013-10-29 05:21:05
hi everybody,

this is krishnaa from bangalore, i'm very much new to PHP and i was trying to send a mail with an attachment. i dont know how to do it.... right now am using SMTP E-mail sending class. help me pls..... thanks and congrats in advance

  2. Re: sending mail with an Attachment   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-10-29 09:48:56 - In reply to message 1 from Navaneetha krishnan
You need to use this class in conjunction with the MIME message class, as it is able to compose more complex messages such as those with attachements, alternative HTML and text, etc..

phpclasses.org/mimemessage

  3. Re: sending mail with an Attachment   Reply   Report abuse  
Picture of TOHIONON R. Fabrice TOHIONON R. Fabrice - 2021-09-09 12:47:40 - In reply to message 2 from Manuel Lemos
Hi thanks
Please can we have an example of this used ?

  4. Re: sending mail with an Attachment   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2021-09-09 22:26:20 - In reply to message 3 from TOHIONON R. Fabrice
Hello Tohionon,

You can find an example here:

phpclasses.org/package/9-PHP-PHP-ma ...