Hammy has asked for the wisdom of the Perl Monks concerning the following question:
Is there something I am missing? Thanks for your help.$lines[0] = "To: $email\n"; $lines[1] = "From: $from\n"; $lines[2] = "Bcc: support\@mysite.com\n"; $lines[3] = "MIME-Version: 1.0\n"; $lines[4] = "Content-Type: text/html; charset=us-ascii\n"; $lines[5] = "Subject: $subject\n\n"; $lines[6] = "$theMessage"; open(MAIL,"|/usr/sbin/sendmail -t") or fatal("..."); print MAIL @lines; close(MAIL) or fatal("...");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: multiple CC using sendmail
by Joost (Canon) on Jun 26, 2007 at 00:12 UTC | |
by Hammy (Scribe) on Jun 26, 2007 at 02:14 UTC | |
|
Re: multiple CC using sendmail
by sago (Scribe) on Jun 26, 2007 at 09:29 UTC | |
by Anonymous Monk on Jul 02, 2014 at 21:47 UTC | |
|
Re: multiple CC using sendmail
by Anonymous Monk on Jun 26, 2007 at 05:03 UTC |