in reply to Send e-mail using perl

Is your MTA set up to deliver mail to other hosts, not locally? Check its logs.
Sorry if my advice was wrong.

Replies are listed 'Best First'.
Re^2: Send e-mail using perl
by rbala (Acolyte) on Aug 07, 2012 at 09:42 UTC
    HI aitap..I am not much aware of this area of setting up mail client in linux. Can you please guide me on this ?

      Sounds like it's time to talk to your systems administrator.

      What OS do you use? Try google'ing "<operating system name> MTA send mail". Maybe it will be easier to use Net::SMTP and send mail using existing mail servers (e.g. smtp.google.com).
      EDIT: some terms
      Sorry if my advice was wrong.

        Mail::Sendmail also allows you to specify another smtp server, though for gmail they'd need something which supports TLS, Super search has examples.