Quote#$wgSMTP = array(
#'host' => "xx.xx.xx.xxx", // could also be an IP address. Where the SMTP server is located
#'IDHost' => "xxxx.de", // Generally this will be the domain name of your website (aka mywiki.org)
#'port' => 25, // Port to use when connecting to the SMTP server
#'auth' => true, // Should we use SMTP authentication (true or false)
#'username' => "aaaaaaaa@xxxx.de", // Username to use for SMTP authentication (if being used)
#'username' => "xxxxxxx@xxxx.de", // Username to use for SMTP authentication (if being used)
#'password' => "**********" // Password to use for SMTP authentication (if being used)
#);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/usr/local/bin/perl use Mail::Sendmail; my %mail = ( To => 'bbbbbb@xxxx.de', From => 'aaaaaaa@xxxx.de', Message => "This is a very short message from Wiki-Server" ); $mail{auth} = {user=>'yyyyyy@xxxx.de', password=>"******", required=>1 }; $mail{Smtp} = 'xxxxxxx.xxxx.de'; print "vor dem sendmail\n"; sendmail(%mail) or die $Mail::Sendmail::error; print "OK. Log says:\n", $Mail::Sendmail::log;