Quote:
Originally posted by Captain Evil
Ah, so you are not using unix sendmail. You are using a sendmail script. Big difference.
The problem with this script is that it opens and closes an smtp socket for every mail sent. Not very efficient.
With the link I just gave you, you should be able to make something that opens an smtp socket connection, sends all your mail, and closes it again. See the difference?
|
Yes, i understand it, i got a few questions ;)
1. Are you sure that this sendmail script isn't using the regular sendmail software ? (the moudle that i gave you).
2. As far as i undertand when you are saying open/close the smtp connection, you are talking about the local port, if that so, reopening it again and again each time won't do a big harm, am i right ?
3. About remote smtp servers, if for example i got alot of mails to send to diffrent users but on the same isp, like hotmail.com, on the smtp protocol, i can open one connection to there and send all of the messages, or i need to reopen it each time for every receipt ?
Thanks.