Re: Re: Sending file stored on server via email - How?
| From: | Mailing Lists) | Date: | Tue, 09 Jan 2007 04:35:22 +0000 |
| Subject: | Re: Re: Sending file stored on server via email - How? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246779@lists.php.net to get a copy of this message | ||
On 1/8/07, Ville Mattila <ville@pmd.fi> wrote:
Matt Arnilo S. Baluyos (Mailing Lists) kirjoitti: What's the easiest way to go about this? Specifically, what's the easiest way to read a file from the server and send it as an email attachment. I would suggest you to use http://phpmailer.sourceforge.net/ that is a featured class for sending e-mails from PHP scripts. It supports file attachments too. Messages can be sent over sendmail or direct SMTP with the PHPMailer.Just tested the phpmailer package and integrated it into our application. Great stuff. Thanks for pointing me to it. -- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present.