So,
address@one.com, address@two.com, address@three.com
doesn't work?
It's hard to visualize your problem. Can you post the url please?
I see your website (LAM) is using PHP. The PHP mail() function as described here:
mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]])
Will allow multiple recipients by using "recipient1@domain.hld,recipient2@domain.hld,recipient3@domain.hld" as the "string to" in the above description.
Sorry about the language thing...php.
I think I can get a handle on what your saying about the array. Isn't there a function that will take a comma(or anything) separated list and build an array from it? That would be a helpful thing.
-----------------------
Woa...You all are gettin' ahead of me. I'm answering questions from two posts ago!! /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />
AND
mail ( string to, string subject, string message [, string additional_headers [, string additional_parameters]])
Will allow multiple recipients by using "recipient1@domain.hld,recipient2@domain.hld,recipient3@domain.hld" as the "string to" in the above description.
OK...you can see my razor dev knowledge coming through here...yes, php and the mail() function.
I must not have set up the addresses correctly the last time I tried. I'll attempt the comma separated method again and let you know how I fair.
I really appreciate the quick responses!
Many blessing to you both! - Thanks - Doug
Yes, explode()
If you had a string such as
and ran it through explode with "/" as the delimiter like this:
you would come up with an array like this $parts[0=>a, 1=>b,2=>c,3=>4]
Brethren!
I am preparing (mentally anyway) to revamp my "Send Article to Friend" part of our site and a question has been on my mind for quite some time that I haven't been able to locate an answer to.
Question - Is there a way to enter multiple addresses in a Form field and then sendmail() to all the addresses?
On my own, I thought just a comma separated list might do it, but didn't. I've looked around for examples, but haven't found any....thoughts?
Thanks in advance. In Christ - Doug
New Brothers Fellowship