in reply to Re^2: NET::SMTP help
in thread NET::SMTP help
$s->to($to); $s->mail($from); $s->data(); $s->datasend("To: $to\n"); ### $s->datasend("From: $from\n"); $s->datasend("Subject: Hi, this looks like SPAM ... but it ain't.\ +n"); $s->datasend('Date: ', scalar(time), "\n"); ### $s->datasend("\n"); $s->datasend("$message \n" ); $s->datasend( "\n" ); $s->dataend(); $s->quit();
Note the lines I added between the triple-hashmarks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: NET::SMTP help
by bengmau (Beadle) on Mar 10, 2005 at 18:06 UTC |