...

View Full Version : alternative to MAIL()



ajetrumpet
02-27-2010, 06:11 AM
all,

does anyone know what the big guys (big companies) use to send automated emails and confirmation messages? on our website we use mail(), but I'd like to know if there are any other options that the big dogs use. thanks!

Dormilich
02-27-2010, 10:32 AM
I don’t know, what the big guys use, but I use the SwiftMailer (http://swiftmailer.org/) library. then there is also PHPMailer, although I can’t say anything about that.

hinch
02-27-2010, 11:48 AM
all the mail classes etc are just wrappers around mail() there is no alternative function to mail unless you write your own perl module for handling mail/smtp server connections or you write your own smtp server (sockets) handling class in php or you write your own version of mail() into the php source code.

mail() though is perfectly powerful and flexible though as its just an interface to the smtpd there are some limitations though so you can only specify certain header lengths otherwise you breach the smtp/email standards ie: you can't bcc to 10k people etc.

but aside from that we use the mail function in our bulk email senders which have been tested for sending out 10mill + emails you just have to plan your code for sending that many either as a batch process of xxx at a time or as a persistant loop (however beware of page time outs when doing persistant loops).

Dormilich
02-27-2010, 12:33 PM
all the mail classes etc are just wrappers around mail() there is no alternative function to mail unless you write your own perl module for handling mail/smtp server connections or you write your own smtp server (sockets) handling class in php or you write your own version of mail() into the php source code.

ah, and you think that PHP is not able to connect to SMTP servers through fsockopen? you then probably never cared to read any proper documentation (http://swiftmailer.org/docs/transport-components).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum