[Coldstuff] smtp question
Brandon Gillespie
coldstuff@cold.org
Fri, 17 May 2002 08:14:16 -0600
Jonathan Robertson wrote:
> I'm trying to get the smtp.sendmail part of my core to
> work. I think I have it connecting to the right smtp
> server since I don't have one locally, but Im' getting
> an error.
>
> The command line I use is:
> ;$smtp.sendmail("ae-khepri@aephirsden.com",
> "jwrtrumpet@attbi.com", "Test Subject Line", "Test
> body information.")
>
The body needs to be a list. Try:
;$stmp.sendmail("from@foo", "to@foo", "subject", ["body line 1", "body
line2"]);
-Brandon