Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re:x3 mail::sendmail is it an independent mail server?

by echo (Pilgrim)
on Oct 01, 2001 at 17:35 UTC ( #115861=note: print w/replies, xml ) Need Help??


in reply to Re:x2 mail::sendmail is it an independent mail server?
in thread mail::sendmail is it an independent mail server?

Net::SMTP just submits mail to an SMTP server. If you don't run your own, and don't/can't use your ISP's, you'll need to:
  • Correctly format outgoing mail according to RFC822;
  • Figure out which destination SMTP server to contact for each recipient, based on the MX record for the recipient's domain (you could use Net::DNS for this purpose);
  • Queue mail that is deferred when a non fatal error occurs, such as a temporary DNS failure, or an unreachable SMTP server;
  • Generate a bounce message when a fatal error occurs, such as an unknown recipient;

All in all this is a lot of work, and difficult to get right. It's much easier to install a MTA on your own machine, open source packages are available for popular platforms.

  • Comment on Re:x3 mail::sendmail is it an independent mail server?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2019-06-19 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (89 votes). Check out past polls.

    Notices?