Appnitro Software Forums » MachForm

Form failes to e-mail notification(2)

(3 posts)

  1. Hello there,

    I have the same problem as one of the recent previous posts.
    The form is working nice and all data is stored in the database.
    I tried to include the form on two different ways.
    But I still don't get the mail.
    Has this also someting to do with the SMTP settings?
    Thanks!
    Ton van der Helm

    Posted 1 month ago #
  2. hi ..

    Yes ..
    You have to set SMTP in config.php and after that you can set e-mail notification in email option in form manager.

    Posted 1 month ago #
  3. In config.php:change define('SMTP_HOST','localhost'); to define(SMTP_HOST','mail.yourweb.com');
    Note, I'm not sure if you absolutely have to change this specifically.

    The SMTP mail server name of "localhost" may work as it is, or you may need to change it to specify a mail server typically in the format like "mail.yourweb.com" which will be whatever your host has advised you it is.

    The other important variable is:
    define('USE_SMTP',false);

    Change it to read:
    define('USE_SMTP',true);

    There are other variables such as the user-name/password for your outgoing mail server if it requires authentication, and to change the port number. All these things, your host can tell you what is required.

    define('SMTP_PORT',25);
    define('SMTP_AUTH',false); //if your SMTP require authentification, set this to 'true'
    define('SMTP_USERNAME','YOUR_SMTP_USERNAME');
    define('SMTP_PASSWORD','YOUR_SMTP_PASSWORD');

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.