1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use MIME::Lite;
$user = 'blümchen';
$pass = 'blümchen';
$msg = MIME::Lite->new(
From => 'sender@yahoo.de',
To => 'empfaenger@yahoo.de',
Subject => 'Test-Mail',
Type => 'multipart/mixed'
);
$msg->attach(
Type => 'text/html',
Data => qq{
<body bgcolor="#FF9999">
<br><b>Text Text Text</b><br>
</body>
},
);
$msg->send('smtp','smtp.googlemail.com', Port => 465, AuthUser=> $user, AuthPass=> $pass, Timeout => 90, Debug => 1);
QuoteSMTP auth() command failed: No such file or directory
Need MIME::Base64 and Authen::SASL todo auth