Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: perl socket mail

by atcroft (Abbot)
on Dec 20, 2003 at 10:40 UTC ( [id://316027]=note: print w/replies, xml ) Need Help??


in reply to perl socket mail

I think the answers to some of your questions are:

  1. $mailserver will be the mailserver you will be sending thru, such as smtp.yourdomain.com or something.
  2. TCP is the underlying protocol used for the data transmission (as opposed to UDP or ICMP), whereas SMTP is the application protocol.

I *believe* (but am not for 100% sure) that $serverAddr is the address of the server you will be connecting to. As to the pack format, this may be of help. In the code, it appears as if it is being used in the initial connection (although I am not certain).

Hope that helps (a little, at least).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found