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

How to add several addresses to 'From Email address / NOTIFICATION_MAIL_FROM'


  1. sweetrobot
    Member

    How can I add several addresses int he config.php section, 'NOTIFICATION_MAIL_FROM', so the drop down will allow me to choose from several?

    Regards

    Posted 14 years ago #
  2. yuniar

    I'm afraid this is not possible. Only one "From Mail" can be defined from the config file.

    The dropdown will contains another option if your form has "email" field type. So that the "From Mail" can be set to be coming from the value being entered into the form.


    MachForm Founder

    Posted 14 years ago #
  3. sweetrobot
    Member

    The only other option I see in the drop down is a blank space. Is that what you are referring to?

    I manually changed the config so that the address is derived from the email field via a template var, ie

    [code]define('NOTIFICATION_MAIL_FROM_NAME','{element_#}');[/code]

    Is that the same as setting it blank?

    Also, My admin seems to get messages delivered (via php_mail function, not smtp), but my users DO NOT receive notifications? The drop down under Notifications for users is blank as well. Is that because it is automatically filled with the sender's email address? Even so, users still do not receive email notifications for some reason.

    Again, thansk fro the quick and helpful responses yuniar!

    Posted 14 years ago #
  4. sweetrobot
    Member

    All solved! :)

    Posted 14 years ago #

RSS feed for this topic

Reply