I was wondering if you guys could show me a php tutorial about reading and sending email through php, I would also like it to explain email attachments.
This will get you started. http://us3.php.net/mail as far as reading email with PHP, no clue, never had to do it for anything.
I used this to get started. I've hacked mine up and rebuilt them so much I'm not sure whats my own and what is from this form, but I do remember it has tons of notes in the code so you can understand what segment accomplished which task, so customization is pretty simple. http://www.thesitewizard.com/wizards/feedbackform.shtml
Thanks, I know how to send email but not with attachments. I also don't know how to read email. I'll check these out though. I'm still wanting more help if it's okay though.
http://www.sitepoint.com/article/advanced-email-php gives precise instructions on sending emails with attachments... I love this article and want it to have my babies
Dear Adam, This letter is in regard to your pending paternity suit...Please send us half of everything. Thanks
If you look at the code from what I posted, you can see that sending attachments is pretty easy. It amounts to adding some headers and reading in the file you want to attach, encode it as base64 and send it in a header. As far as reading mail, find out what all the possible headers are so you can deal with them. The headers all come at the beginning of the email, separated by an \r\n and the headers are separated from the email text by \r\n\r\n. One of the headers will tell you if the email is plain text or html etc. There are probably php mail parsing classes out there if you look for them.