Hi All, From: https://github.com/retupmoca/P6-Net-SMTP # raw interface my $client = Net::SMTP.new(:server("your.server.here"), :port(587), :debug, :raw); $client.get-response; # 220 your.server.here ... $client.ehlo; # 250-STARTTLS\r\n250 ... $client.mail-from('from@your.server.here'); # 250 OK $client.rcpt-to('to@your.server.here'); # 250 OK $client.data; # 354 Enter message $client.payload($email); # 250 OK $client.quit; # 221 closing connection Where do I put the user name and password for the SMTP server? It is either auth-login($username, $password) or auth-plain($username, $password) But where does it go? After the $client.ehlo ?? Many thanks, -T -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Computers are like air conditioners. They malfunction when you open windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Thread Next