01-01-2008, 08:30 PM
|
#1 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
SMTP or PHP mailing?
Another question on the whole mailing concept.
I've noticed that mail() takes up to 0.7 seconds of your script to send it. I believe that it's because it waits for confirmation.
Now, there are certain mail servers which you access. For example, I am using with my localhost the ISP host. That's the one who provides my Internet, for those who don't know.
Now, I've heard that PHP makes sure that the mails are being sent. Next to that, there are certain programs that allow instant sending (large newsletters, also phpBB uses it) in an instant. When the script is executed, it's all up to the mailserver. Then you're going on to the whole idea of spamming. People imput sleep(#); between the for loops to send emails. This is to prevent an overload and to prevent the mailserver from complaining.
Anyways, now the question is, how hard is it to make your own. I've seen scripts like phpMailer and SwiftMailer, but I rather create my own. Not only to gain in-depth knowledge but I like the challenge as well. That way, I do not have to rely on other systems to do your job for ME. (like lawyers...)
Can you guys give me some possibilities here? Since I am out of options and everytime I send a mail, I am annoyed by the load time.
Mark
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|