Hi Octavian, I solved my problem using sendmail with the code below: open (MAIL, "|/usr/sbin/sendmail -t "); print MAIL "From: someaddr...@somedomain\n"; print MAIL "To: someaddre...@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:48 AM, Octavian Rasnita <orasn...@gmail.com>wrote: > From: "Fúlvio" <fulvi...@gmail.com> > > 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. > > You can't send an email without using an SMTP server, or sendmail, qmail... > Do you use an SMTP server for sending email with your email client (Outlook > Express, Outlook, Eudora or another client...)? > Or do you have a Gmail account that you can use for sending email? > > Octavian > >