in reply to Re^4: MIME::Lite question
in thread MIME::Lite question

Yes, ask the administrator.

/J\

Replies are listed 'Best First'.
Re^6: MIME::Lite question
by Anonymous Monk on Jun 15, 2005 at 12:12 UTC

    yes i asked, smtp for outgoing mails and pop3 for incoming mails

      You have to know the server that can be used to send your email. e.g. mail.servername.com so you get
      MIME::Lite->send('smtp', "mail.servername.com", Timeout=>60);

      "We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

        here in our company we are using the ip address (192.168.1.5) for sending mail through smtp.

      Er, yes but that was the answer to the wrong question - you need to know the name of the SMTP server in order to tell MIME::Lite.

      /J\

        i am working in intranet, the ip address of the server is 192.168.1.5.

        if ($I_DONT_HAVE_SENDMAIL) { MIME::Lite->send('SMTP', "192.168.1.5", Timeout=>60); } else { MIME::Lite->send('SMTP', "192.168.1.5", Timeout=>60); }

        i am using the above coding to send the mail.