in reply to Re: Re: CGI Recipient
in thread CGI Recipient
Second, you aren't formatting the email correctly. There must be a blank line between the header and the body.$recipient = "foo@example.com bar@example.com";
Third, you should include a To: line in the header with a list of the email addresses being sent to (separated by commas). sendmail will not add the header automatically. If you don't, the mail will show "To: undisclosed-recipients;". And probably be filtered out by spam filters. Sendmail will read the list of addresses from the To: header if you use the "-t" command line switch.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: CGI Recipient
by Anonymous Monk on Mar 09, 2004 at 13:53 UTC |