K_M_McMahon has asked for the wisdom of the Perl Monks concerning the following question:
all of the variables are defined by the time it gets here, and it usually works, but sometimes it crashes and I don't know what the difference is....any ideas?$smtp=Net::SMTP->new($out_server); $smtp->auth($username,$pwd); $smtp->mail($smtp_usr); $smtp->recipient($goto); $smtp->data(); $smtp->datasend("To: $goto\n"); $smtp->datasend("\n"); foreach $line (@text) {$smtp->datasend($line);} $smtp->datasend("$curr_month/$curr_dom/$curr_year/$curr_hours:$cur +r_min:$curr_sec\n"); $smtp->dataend(); $smtp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SMTP error
by pg (Canon) on Dec 11, 2003 at 20:08 UTC | |
|
Re: Net::SMTP error
by Gerard (Pilgrim) on Dec 11, 2003 at 20:07 UTC | |
|
Re: Net::SMTP error
by K_M_McMahon (Hermit) on Dec 11, 2003 at 20:46 UTC | |
by Gerard (Pilgrim) on Dec 11, 2003 at 21:40 UTC | |
by Roger (Parson) on Dec 11, 2003 at 22:32 UTC | |
by K_M_McMahon (Hermit) on Dec 13, 2003 at 05:03 UTC | |
by K_M_McMahon (Hermit) on Dec 11, 2003 at 21:43 UTC |