Re: Net::SMTP module error



On 28 Sep 2006, uctraing@xxxxxxxxxxxx wrote:

As a followup, is there alternative code that might do the same thing
without the Net::SMTP module ?

Since you are not doing anything fancy, you could just open a
connection to the SMTP server on port 25 and print your message. You
have to escape lines that begin with a period, but otherwise it's
really not very complicated. That's what the Net::SMTP module does
internally, although it handles other ESMTP commands you won't need,
judging by your original code sample.

I would strongly recommend trying to install Net::SMTP instead,
though. Life's too short to reinvent the wheel!

Ted
.



Relevant Pages

  • Re: IIS - SMTP - CDONTS
    ... You should always be able to get a connection, ... So the domain where this was not successful, ... What we did was more or less what the SMTP server do. ... the email is coming from a "real" email server, ...
    (microsoft.public.inetserver.iis)
  • Re: Conversion to 64 bit server
    ... their database report scripts are broken. ... The problem is I can't get the email connection to work. ... The email code works in a 64bit command prompt. ... SMTP server to connect to. ...
    (microsoft.public.scripting.vbscript)
  • Re: Need OE Help!!
    ... With dial-up connection, however, I ... > not connect the smtp server to send e-mails out. ... Email scanning slows down Receiving, sometimes enough that OE times out. ... "Disabling email protection does not leave you vulnerable to viruses and ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Error Number: 0x800CCC0E
    ... Mobile Broadband I needed to update the SMTP Server to the 3 Mobile Server. ... Ask Virgin if they have a port other than '25' for SMTP. ... Substitute the SMTP server belonging to your '3' connection. ...
    (microsoft.public.windows.vista.mail)
  • Re: How long does read(2) wait before an EAGAIN is thrown?
    ... The idea being that if the server is known to be a pure spam source, ... It may also delay/block the connection just because the IP address is ... The idea is to slow the sender down a bit, ... I'm connecting to the Exim SMTP server on my local Linux box, ...
    (comp.unix.programmer)