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 9 of 9
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    478
    Thanks
    3
    Thanked 0 Times in 0 Posts

    alternative to mail() ?

    i desperately need an alternative to the PHP mail() command, my host keeps on disabling the nobody@ feature on the servers and this means no one gets emails with signup details or lost passwords reset requests!!

    is there another way surely there must be another way that does not require the mail() command?

    please advise

    thanks in advance for your help

  • #2
    New Coder
    Join Date
    Jun 2008
    Posts
    25
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Are they Windows servers? If so, you could maybe use Blat - I use that all the time, and it's pretty good.

  • #3
    Regular Coder
    Join Date
    Mar 2006
    Posts
    478
    Thanks
    3
    Thanked 0 Times in 0 Posts
    i have a Linux server

  • #4
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    PHPMailer is a good alternative.

  • #5
    Regular Coder
    Join Date
    Mar 2006
    Posts
    478
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Inigoesdr View Post
    PHPMailer is a good alternative.
    thanks

    i have been already been told to use this and did set it up but this uses the mail() command itself !

  • #6
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    if you use Zend_Mail you can set it you use Transport_Smtp rather than Sendmail and mail() won't be called.
    My thoughts on some things: http://codemeetsmusic.com
    And my scrapbook of cool things: http://gjones.tumblr.com

  • #7
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,294
    Thanks
    4
    Thanked 203 Times in 200 Posts
    PHPMailer uses whatever method you tell it to use to send things. Mail is one option but it also supports using sendmail or SMTP directly.
    Dave .... HostMonster for all of your hosting needs

  • #8
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,642
    Thanks
    2
    Thanked 405 Times in 397 Posts
    Quote Originally Posted by djm0219 View Post
    PHPMailer uses whatever method you tell it to use to send things. Mail is one option but it also supports using sendmail or SMTP directly.
    Yes.. OP, read the website.

  • #9
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,028
    Thanks
    2
    Thanked 315 Times in 307 Posts
    my host keeps on disabling the nobody@ feature on the servers
    That really makes no sense. If your script works and the host keeps changing something it is likely that they are doing this in response to problems and trying other scripts won't make it start working. You issue is with the host and you should be finding out from him what is needed to make your script work.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.


  •  

    Posting Permissions

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