Lunarpages Web Hosting Forum

Author Topic: NMS Formmail - multiple recipients  (Read 1246 times)

Offline cindyono

  • Pong! (the videogame) Master
  • *****
  • Posts: 26
NMS Formmail - multiple recipients
« on: June 20, 2005, 09:02:45 AM »
I am using NMS Formmail. How can I have the form sent to more then one address. Because, as suggested, I do not use the  

<input type="hidden" name="recipient"                                 value="you@your.domain"

The script defaults to the first address listed in the @allow_mail_to statement in the script.

I would like the form to automatically be sent to 2 email addresses. Any suggestions?



Offline Ed

  • Berserker Poster
  • *****
  • Posts: 5156
    • Joke A Whenever
NMS Formmail - multiple recipients
« Reply #1 on: June 20, 2005, 09:43:59 AM »
In the to variable in the script itself you should be able to specify multiple addresses seperated by a comma.


- Ed


  • Guest
NMS Formmail - multiple recipients
« Reply #2 on: June 20, 2005, 10:12:41 AM »
Unfortunately, stringing the emails in the script as Ed shows for the @allow_mail_to doesn't seem to work.

You can send to multiple email addy's via a forwarder or by the %recipient_alias tag.

Read this following thread for instructions using the latter method:
« Last Edit: October 18, 2005, 01:51:34 PM by leighsww »