Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: primitve SMTP

by echo (Pilgrim)
on Oct 23, 2001 at 12:12 UTC ( #120727=note: print w/replies, xml ) Need Help??


in reply to primitve SMTP

I didn't to have to make him install the smtp server module.

What you really need is an SMTP client module, such as Net::SMTP, whose author has gone through great pains to implement all the intricacies of the various RFCs covering this protocol.

Once you've changed some of the headers as pointed out by earlier responses, your code will fail in all sorts of mysterious ways, for example it fails to correctly interpret server reponses and will loop endlessly when the server emits a 4xx or 5xx error code. This will happen when you least expect it: an unforeseen change in the server's configuration, a transient DNS error, an attempt to send a message whose size is larger than what the server accepts, etc.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://120727]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2019-04-23 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (114 votes). Check out past polls.

    Notices?