DreamT has asked for the wisdom of the Perl Monks concerning the following question:
(of course there are other solutions available since there's "more than one way to do it"...)$mailprog = "/usr/sbin/exim -t -i -f"; open (MAIL, "|$mailprog"); print MAIL "From: Me <me\@myself.com>\n"; print MAIL "To: john\@doe.com\n"; print MAIL "Subject: Test"; print MAIL "This is a test\n"; close(MAIL);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sending E-mail attachment wihout using external module
by moritz (Cardinal) on Nov 18, 2009 at 08:04 UTC | |
|
Re: Sending E-mail attachment wihout using external module
by virtualsue (Vicar) on Nov 18, 2009 at 09:36 UTC | |
|
Re: Sending E-mail attachment wihout using external module
by ww (Archbishop) on Nov 18, 2009 at 12:38 UTC | |
by Bloodnok (Vicar) on Nov 18, 2009 at 12:50 UTC | |
by ww (Archbishop) on Nov 18, 2009 at 13:08 UTC | |
|
Re: Sending E-mail attachment wihout using external module
by zentara (Cardinal) on Nov 18, 2009 at 13:05 UTC |