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

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

Replies are listed 'Best First'.
Re^7: MIME::Lite question
by jbrugger (Parson) on Jun 15, 2005 at 12:16 UTC
    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.

Re^7: MIME::Lite question
by gellyfish (Monsignor) on Jun 15, 2005 at 12:14 UTC

    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.