Hi David,
mail() and imap_mail() both call's the internal function TSendMail(). This
is the function that generates the error. the imap version does some
additional chacks for headers. I'll take a look to see if we can make the
error message more informative.
- Frank
> ok thanks. but still, how
ok thanks. but still, how is it that
mail('[EMAIL PROTECTED]','subject','body',"From: [EMAIL PROTECTED]");
should produce an error message stating "custom "From:" header missing"?
and is there any reason the custom header can't be parsed, and if a
"From:" header is found, to use that instead of
These extra parameters to the TSendMail function are used by imap_mail().
To use this function you need to load the imap extension but you get a few
more options that are not available in the standard mail function. See
http://php.net/imap_mail for more information.
- Frank
> sorry in advance f
sorry in advance for the length, formatting and possible redundancy of
this message.
Anyway, on Windows, leaving "sendmail_from" blank and setting a "From:"
header in the extra headers parameter doesn't work.
test.php:
http://bugs.php.net/bug.php?id=28976
there are also a couple user notes on th