Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Now the above code, does not generate a Mail::Sendmail::error, and prints out "Sent Successfully", but I do not receive anything. Does anyone know if this would be a Perl problem I'm having or some setup I'm not doing correctly? Anyone dealt with using comcast relay server ? ahhh...I'm going nuts the last 3 days trying to get my perl script to send mail on windows.use Mail::Sendmail; # Set up some default configuration unshift @{$Mail::Sendmail::mailcfg{'smtp'}} , 'smtp.comcast.com'; $Mail::Sendmail::mailcfg{'from'} = "test\@aol.com"; my %mail = ( To => "mytestaddress\@aol.com", #real add changed for this ex. Subject => "Test 1", Message => "Test number 1", ); sendmail( %mail ) or print "Error: $Mail::Sendmail::error\n"; print "Sent Successfully";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sending Mail Scenario with Windows
by astroboy (Chaplain) on Jul 21, 2005 at 04:37 UTC | |
by Anonymous Monk on Jul 21, 2005 at 05:04 UTC | |
by astroboy (Chaplain) on Jul 21, 2005 at 20:59 UTC |