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'
Started 14 years ago by sweetrobot | 4 posts |
-
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 # -
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 # -
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 # -
All solved! :)
Posted 14 years ago #
Reply
You must log in to post.