Für Mime::Lite braucht man kein sendmail.
Quotesend_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-->