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

SMTP and custom hooks issue


  1. alfonso
    Member

    In 2.0 I have configured ok smtp server and custom hooks. All is ok except if I try to send emails to the same server I'm using. Ex.: I have using

    define('USE_SMTP',true); //set this to 'true' to use SMTP

    define('SMTP_HOST','mydomain.org');
    define('SMTP_PORT',25);
    define('SMTP_AUTH',true); //if your SMTP require authentification, set this to 'true'
    define('SMTP_USERNAME','user@mydomain.org');
    define('SMTP_PASSWORD','mypass');
    define('SMTP_SECURE',false); //set this to 'true' if your server is using secure SMTP (TLS/SSL)

    In custom hooks I have:
    $email_list[1] = 'user1@mydomain.org,user2@mydomain.org,other@gmail.com';
    $email_list[2] = 'us...';

    Well: I recieve an email in other@gmail.com, but I can't recieve in any email of my domain.org. Where is the problem?. Thanks

    Posted 11 years ago #
  2. yuniar

    Are you using Google to host your emails? If so, you'll need to turn off "Local Mail Delivery" on your website server.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply