sandy1028 has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Mail::Sendmail; use strict; use warnings; $mail_server = 'xxx.xxx.xx.xx'; #$email= $_POST['email']; $mail_to = 'abc@xyz.in'; $mail_from ='xyz@bac.in'; $body="Test Mail"; $subject = 'Test Mail'; mail($mail_server, $mail_from, $mail_to, $subject, $body);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sending Mail
by Taulmarill (Deacon) on Aug 16, 2007 at 09:40 UTC | |
by sandy1028 (Sexton) on Aug 16, 2007 at 09:50 UTC | |
by Quicksilver (Scribe) on Aug 16, 2007 at 10:21 UTC | |
by sandy1028 (Sexton) on Aug 16, 2007 at 10:44 UTC | |
by moritz (Cardinal) on Aug 16, 2007 at 10:47 UTC | |
Re: Sending Mail
by Anonymous Monk on Aug 16, 2007 at 12:05 UTC |