Forum Moderators: coopster

Message Too Old, No Replies

mail attachments

attachments with the mail() function

         

WhosAWhata

10:17 pm on Aug 2, 2004 (gmt 0)

10+ Year Member



i'm getting pretty good at sending basic text and html e-mails but what i am wondering now is how to attatch a file.

how do i go about sending a message with an attachment from my server? this.zip or that.jpg?

thanks

coopster

10:33 pm on Aug 2, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There are a couple examples in the User Contributed Notes as well as tutorials linked on the PHP mail() [php.net] page. The Zend tutorial by Coggeshall is quite well written.

WhosAWhata

10:35 pm on Aug 2, 2004 (gmt 0)

10+ Year Member




User notes are temporarily unavailable. Please read the related news item on our frontpage.

coopster

11:05 pm on Aug 2, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Oh well, the tutorial is better anyway...
[zend.com...]

mgm_03

3:12 am on Aug 4, 2004 (gmt 0)

10+ Year Member



if you want to include a .jpg or .gif, use the absolute URL to your site [yoursite.com...]