This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Gmail SMTP and Email field


  1. scottialex
    Member

    Hi, I am confused. I followed all the instructions to setup secure SMTP using smpt.gmail.com but it doesn't work, I don't get the email. When I add my email address through the form manager, I get the email.
    Am I supposed to leave the email field in the form manager blank? or do they work together?

    These are my setting:

    /** SMTP settings **/
    /** Don't modify it unless you know you are using SMTP **/
    define('USE_SMTP',true); //set this to 'true' to use SMTP

    define('SMTP_HOST','smtp.gmail.com');
    define('SMTP_PORT',465); (I tried 587 too)
    define('SMTP_AUTH',true); //if your SMTP require authentification, set this to 'true'
    define('SMTP_USERNAME','xxxxxx@gmail.com');
    define('SMTP_PASSWORD','xxxxxxxx');
    define('SMTP_SECURE',true); //set this to 'true' if your server is using secure SMTP (TLS/SSL)

    Thank you,
    Alejandro

    Posted 13 years ago #
  2. yuniar

    You need to enter the destination email address into your form manager as well. You can't leave it blank. Also, the sender address need to be the same as your gmail address, since Google won't allow any arbitrary email address as the sender.


    MachForm Founder

    Posted 13 years ago #
  3. scottialex
    Member

    Got it. How can I double check that MachForm is certainly using secure SMTP? I am collecting credit card info so I can't assume it's working.

    Thank you very much,
    Alejandro

    Posted 13 years ago #
  4. yuniar

    Hmm... do you have access to your PHP configuration file? If so, you can try disable the OpenSSL extension.
    When you submit the form and MachForm connect to Google secure SMTP it will display the error message that the SSL transport is not available.


    MachForm Founder

    Posted 13 years ago #

RSS feed for this topic

Reply