punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
I've got a nice little Sendmail script, the basic, classic
And it works real fine.$mailprog = '/usr/sbin/sendmail'; $to = "you@yourdomain.com"; $from="me@mydomain.com" $subject = "something"; $content = "bla bla bla"; open(MAIL,"|$mailprog -t"); print MAIL "MIME-Version: 1.0\n"; print MAIL "Content-Type: text/html; charset=us-ascii\n"; print MAIL "To: $to\n"; print MAIL "From: $from\n"; print MAIL "Subject: $subject\n"; print MAIL "$content\n"; close (MAIL);
Except for one thing: it gives you no record you can keep of your email's expedition. There's no "Sent" folder in your email client for Sendmail emails.
Other than Cc'ing yourself, is there any way to consult the outgoing email server and create something that confirms what was sent to whom when containing what?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Create "Sent"-like reference for Sendmail mails.
by cosmicperl (Chaplain) on Oct 19, 2007 at 01:35 UTC | |
|
Re: Create "Sent"-like reference for Sendmail mails.
by gamache (Friar) on Oct 19, 2007 at 01:02 UTC | |
|
Re: Create "Sent"-like reference for Sendmail mails.
by punch_card_don (Curate) on Oct 19, 2007 at 13:59 UTC | |
by dwm042 (Priest) on Oct 19, 2007 at 16:43 UTC | |
|
Re: Create "Sent"-like reference for Sendmail mails.
by talexb (Chancellor) on Dec 16, 2007 at 22:59 UTC |