From: "Dennis G. Wicks" <[email protected]>
[Cleaned out previous stuff]

Greetings;

Well, I tried to attach the port to the server address,

    Host => 'smtpout.secureserver.net:3535',

but that doesn't work either. Maybe there is something else setup wrong that I'm not seeing.

I see the word "secure" in the host of the server. The server might be secured and it could use SSL or TLS encryptions for communicating with it.

If it does this, you can try to use something like:

use strict;
use Mail::Builder::Simple;
use Net::SMTP::SSL; #or TLS

my $mail = Mail::Builder::Simple->new;

$mail->send(
 mail_client => {
   mailer => 'SMTP',
   mailer_args => [
     Host => 'smtpout.secureserver.net:3535',
     ssl => 1,
     username => 'the_username',
     password => 'the_pass',
   ],
 },
 from => ['[email protected]', 'Your Name'],
 to => ['[email protected]', 'Recipient Name'],
 subject => 'The subject',
plaintext => "The text\n\n",
);

Octavian


--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to