Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl & mail headers

by coec (Chaplain)
on Apr 30, 2004 at 04:54 UTC ( [id://349334]=note: print w/replies, xml ) Need Help??


in reply to Perl & mail headers

Firstly, have you looked on cpan (http://search.cpan.org/search?query=mail&mode=module)? There are many mail modules, you may find something useful there.

Secondly, mail, mailx and sendmail are very different beasts. The first two are mail clients, they read whats in your mailbox and can send mail to the MTA (mail transfer agent). Sendmail is a SMTP server (I won't go into why it shouldn't be used). SMTP - simple mail transfer protocol. The SMTP server is the thing that does the work, delivering mail so your client can read it.

There is shell access to sendmail but it isn't pretty.

You can read/parse mail headers with Perl, C and other languages. For Perl modules see the CPAN link above.

CC

The above is an over simplification of how mail works.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 00:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found