PHP Mail - SMTP Auth

Discussion in 'PHP and MySQL' started by zardiw, Feb 21, 2012.

  1. zardiw

    zardiw Perch

    Anybody how to do this? Using the regular php mail() function. This used to work if you were just emailing to your own domain.....z
  2. Stephen

    Stephen US Operations Staff Member

    It is best IMO to use either PEAR or the phpmailer class, these work well, and SMTP auth can't really work without them. you can attempt to use localhost to send, but it won't be using smtp auth, the auth requires the added support given by either phpmailer class, or PEAR.
  3. zardiw

    zardiw Perch

    Thanks Stephen........but the regular php mail used to work.......I'm only sending emails from/to the same domain. Now it mails with no errors, but the emails never arrive......Has something changed so we can no longer use that, and need to use PHP Mailer instead?.........z
  4. zardiw

    zardiw Perch

    Actually, the php regular mail() function worked only a few weeks ago........but apparently no longer does..........EMails never arrive.......and there is no indication of an error.......
  5. microweb

    microweb Perch

    Stephen - Can we assume that PHP Mailer and PEAR are installed on all servers that support PHP (both windows and Linux)?

    I'm fairly new to PHP, so I'm learning as I go. Which do you recommend? Which is most secure in preventing exploitation from a hacker? (Assuming that I include necessary security like a Captcha)
  6. zardiw

    zardiw Perch

    PHP Mailer isn't working now
  7. Manoj Saini

    Manoj Saini Super Moderator Staff Member

    There is not any issue with the script. It is working fine. The SMTP access is disabled for the domain due to multiple spamming complain last week. We have also sent the notification for the same at your official email id "HBrost@**************.com" but we haven't received any reply from your side. We have also replied your ticket, please check the same.

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services