Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder ajetrumpet's Avatar
    Join Date
    Jul 2009
    Location
    Iowa City, IA
    Posts
    407
    Thanks
    44
    Thanked 5 Times in 5 Posts

    alternative to MAIL()

    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!

  • #2
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,472
    Thanks
    13
    Thanked 361 Times in 357 Posts
    I don’t know, what the big guys use, but I use the SwiftMailer library. then there is also PHPMailer, although I can’t say anything about that.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer

  • #3
    Regular Coder hinch's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    923
    Thanks
    25
    Thanked 80 Times in 80 Posts
    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).
    A programmer is just a tool which converts caffeine into code

    My work: http://www.fcsoftware.co.uk && http://www.firstcontactcrm.com
    My hobby: http://www.angel-computers.co.uk
    My life: http://www.furious-angels.com

  • #4
    Senior Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    3,472
    Thanks
    13
    Thanked 361 Times in 357 Posts
    Quote Originally Posted by hinch View Post
    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.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •