Re: Send email using SMTP

2009-01-06 Thread Fúlvio Figueirôa
eaddre...@somedomain\n"; print MAIL "Content-Type: text/plain\n"; print MAIL "Subject: Very simple email test\n\n"; print MAIL "Body of the message"; close (MAIL); Thanks for your help Fúlvio On Tue, Jan 6, 2009 at 10:47 AM, Sean Davis wrote: > > >

Re: Send email using SMTP

2009-01-06 Thread Fúlvio
Hi Jody, I use your code bellow but the the following error message happens: "Can't call method "domain" on an undefined value at ...." Thanks, Fúlvio On 5 jan, 21:16, jody_rrhq_fa...@yahoo.com (Jody Fanto) wrote: > The problem is that you are using an inval

Send email using SMTP

2009-01-05 Thread Fúlvio
Hi all, I am trying to send an email using the following code: use Net::SMTP; $smtp = Net::SMTP->new("smtp.yahoo.com"); $smtp->mail('fulviocg'); but the error below is happening: Can't call method "mail" on an undefined value at .... Can someone help