TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   How to mail files as attachments? (http://www.talkphp.com/absolute-beginners/4768-how-mail-files-attachments.html)

sandhyagupta 07-21-2009 11:13 AM

How to mail files as attachments?
 
Hi everyone,

I am fetching 4-5 files randomly from a database and mailing them. now i want to mail them as attachments. i tried a lot of ways but was not able to find a solution. can any one please tell me how to mail them as attachments.
I would have stored the files in $text.

thanks in advance.

JaoudeStudios 07-21-2009 11:22 AM

Zend Framework makes it really easy. You dont need to use the whole MVC structure, you can just use the library file.

http://framework.zend.com/manual/en/...tachments.html

EGYG33K 07-21-2009 04:14 PM

http://phpmailer.worxware.com/index.php?pg=phpmailer

Methods:
http://phpmailer.worxware.com/index.php?pg=methods

Tutorial:
http://phpmailer.worxware.com/index.php?pg=tutorial

AddAttachment() or AddStringAttachment() are the methods you need


All times are GMT. The time now is 04:33 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0