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

From email and from name not working?


  1. ruslan
    Member

    Whenever I go to the MachForm Control Panel, I click on Email b/c I want to change the FROM email. So when the email results are emailed to a specified email, I want the FROM mail address to be custom.

    Where it says EMAIL HEADER, under FROM name,
    I type something in like: Website Form

    and where it says FROM email

    I choose something for like no-reply@mydomain.com

    ------
    However when the actual results are email to me, the FROM name is totally different (its actually my host username and the FROM email address is like this: myhostusername@host65.myprovider.com)

    What's the problem? Did I forget to change something? Maybe edit something in some config files?

    Plz help. Thanks!

    Posted 15 years ago #
  2. redityo

    Hi,

    Have you try to change these code in "config.php" file ?

    /** Default notification email settings **/
    define('NOTIFICATION_MAIL_FROM',''); //default is 'no-reply@yourdomain.com'
    define('NOTIFICATION_MAIL_FROM_NAME',''); //default is 'MachForm'
    define('NOTIFICATION_MAIL_SUBJECT',''); //default is '{form_name} [#{entry_no}]'

    for example

    /** Default notification email settings **/
    define('NOTIFICATION_MAIL_FROM','test@domain.com'); //default is 'no-reply@yourdomain.com'
    define('NOTIFICATION_MAIL_FROM_NAME','Website form'); //default is 'MachForm'
    define('NOTIFICATION_MAIL_SUBJECT',''); //default is '{form_name} [#{entry_no}]'

    After that go to email menu page and save the options again


    MachForm Support

    Posted 15 years ago #
  3. ruslan
    Member

    Yes I have just done exactly as you told me, however the same thing still. :(

    Posted 15 years ago #
  4. yuniar

    So you have resubmitted your email settings and it still doesn't work?

    Some hosting company doesn't allow you to send email using address that is not your own domain. This might be the case. I suggest to contact your host support and ask whether they have such policy.

    If you want us to check it directly, let us know your FTP login info.
    Send to: customer.service [at] appnitro.com

    We'll check it for you.


    MachForm Founder

    Posted 15 years ago #

RSS feed for this topic

Reply