Smtp email with amember patch

Discussion in 'Troubleshooting' started by jennifer6, Jul 21, 2009.

  1. jennifer6

    jennifer6 New Member

    Joined:
    Aug 22, 2006
    Messages:
    17
    Hi -

    Has anyone had luck sending amember email using the smtp method?

    I have applied a patch sent to me from amember.

    I'm using google apps / gmail as my server.

    I have entered smtp host name in amember email configuration (dashboard) as username:password@domail.com.

    The error I get back is:
    # There was an error sending the email message
    # Language string failed to load: recipients_failedmyname@myemail.com.

    None of my customers are getting my emails because of spam blockers using phpmailer.
  2. jennifer6

    jennifer6 New Member

    Joined:
    Aug 22, 2006
    Messages:
    17
    smtp host name configuration that seems better is (for gmail apps anyway):
    username@domainname.com:password@smtp.gmail.com:587

    you can debug smtp in class.phpmailer.php line 207

    debug error is: SMTP -> FROM SERVER: 530 5.7.0 Must issue a STARTTLS command first.

    new amember error is:
    # There was an error sending the email message
    # Language string failed to load: from_failedadmin@domain.com
  3. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Google Apps require the connection to be made overTLS/SSL using a specific port (465 or 587)

    What is the patch that was sent to you from aMember?

    In addition to allowing you to configure a specific port by which to communicate, as suggested by the error it needs to start a TLS session to communicate across.

    I would love to use this feature as well so if you get this sorted, please share your findings.
  4. taije

    taije New Member

    Joined:
    Nov 17, 2006
    Messages:
    19
    has anyone figured this out? I would certainly like to use smtp.gmail.com instead of phpmailer - it would be much faster

Share This Page