note 72204 deleted from ref.mail by nlopess
| From: | nlopess@php.net | Date: | Sun, 07 Jan 2007 23:33:40 +0000 |
| Subject: | note 72204 deleted from ref.mail by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121400@lists.php.net to get a copy of this message | ||
Note Submitter: pcb dot php at breg dot nl
----
in reaction on the many scripts and codings on this page.
some things were not working for me.
while debugging i sent many emails to myself via email.php script. (payload and lots of wasted time)
the clue was:
sent an email (the way php should produce) from your own box to your self and examine the source.
then let your mail.php script produce exactly the same code and appear it in your browser.
when it's exactly the same code the script is ready for the last line of code:
mail($emailaddress, $emailsubject, $msg, $headers);
this way my work made sense and gave me a better look on the subject.
there is a difference between:
multipart/alternative
multipart/related
multipart/mixed
I hope this helps.