Thanks,

Changed the single quotes to doubles and it works fine with \@

-fred

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Davide Libenzi
Sent: 24 août 2009 13:59
To: XMail Users Mailing List
Subject: Re: [xmail] Problem using perl script to send mail to XMail

On Mon, 24 Aug 2009, fred wrote:

>
> Hey guys,
>
>  
>
> I am having a small problem trying to send an email to XMail from a perl
script, here is the code:
>
>  
>
> #!/usr/bin/perl -w
>
> use Net::SMTP;
>
> $smtp = Net::SMTP->new('smtp.mydomain.com', Hello =>
'myserver.mydomain.com', Timeout => 60);
>
> $smtp->mail([email protected]');
>
> $smtp->to('[email protected]');

Either this:

'b...@blah'

or this:

"bl...@blah"



- Davide



_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to