Hi Octavian, I don't need to use this server. I need only to send an email, but as I don't know perl very well I get an example using SMTP and yahoo server.
Thanks, Fúlvio On 5 jan, 17:16, orasn...@gmail.com (Octavian Rasnita) wrote: > From: "Fúlvio" <fulvi...@gmail.com> > 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 me? > > Hi, > > Can you use Yahoo's SMTP server? > I thought that they don't allow this. > > Octavian -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/