PHP Classes

Gmail problem

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  Gmail problem  >  (Un) Subscribe thread alerts  
Subject:Gmail problem
Summary:The smtp class stop to work with gmail
Messages:4
Author:Carlos Penteado
Date:2009-02-25 20:49:42
Update:2009-03-20 06:58:50
 

  1. Gmail problem   Reply   Report abuse  
Picture of Carlos Penteado Carlos Penteado - 2009-02-25 20:49:42
I had a program that use this class. Until last week, it worked ok. But now it show the message:
553-5.1.2 We weren't able to find the recipient domain. Please check

I use port 465 and ssl.

Thanks for help

Carlos Penteado

  2. Re: Gmail problem   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-02-26 01:03:18 - In reply to message 1 from Carlos Penteado
That means that you are sending the message to a recipient with an invalid domain, so the SMTP server rejects the message right away.

  3. Re: Gmail problem   Reply   Report abuse  
Picture of randeepnath randeepnath - 2009-03-20 06:32:54 - In reply to message 2 from Manuel Lemos
Hi

While am using PHPMailer to sent SMTP authentication Emails using gmail SMTP details. I am getting an error Authentication Problems

and another error also am getting like "Do you forget to enable SSL"

Why am getting these errors. Please help me

  4. Re: Gmail problem   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-03-20 06:58:50 - In reply to message 3 from randeepnath
I cannot help you with PHPMailer because I do not use it.

But you can use the MIME message class that I wrote and works better when sending message via SMTP to Gmail. Take a look at the test_smtp_message.php script and adjust the configuration variables as described in the comments to send via Gmail.

phpclasses.org/mimemessage

You also need these two packages for authenticantion:

phpclasses.org/sasl

and this SMTP class:

phpclasses.org/smtpclass