Thread Sendmail für Windows!?: Sendmailmässiger Testserver für Win**? (7 answers)
Opened by Kogge at 2004-06-17 21:57

Oesi50
 2004-06-21 03:45
#2909 #2909
User since
2004-05-15
33 Artikel
BenutzerIn
[default_avatar]
Für Mime::Lite braucht man kein sendmail.

Quote
send_by_smtp ARGS...
Instance method. Send message via SMTP, using Net::SMTP. The optional ARGS are sent into Net::SMTP::new(): usually, these are

MAILHOST, OPTION=>VALUE, ...

Note that the list of recipients is taken from the ``To'', ``Cc'' and ``Bcc'' fields.

Returns true on success, false or exception on error.


Du brauchst dazu nur einen Mailserver von Deinem Provider. Es kann aber auch gmx, yahoo,... sein

Quote
### Do something like this in your 'main':
if ($I_DONT_HAVE_SENDMAIL) {
MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60);
}

### Now this will do the right thing:
$msg->send; ### will now use Net::SMTP as shown above
\n\n

<!--EDIT|Oesi50|1087775440-->

View full thread Sendmail für Windows!?: Sendmailmässiger Testserver für Win**?