Computing.Net > Forums > Web Development > php form

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

php form

Reply to Message Icon

Name: BigShow
Date: July 20, 2006 at 16:16:20 Pacific
OS: xp
CPU/Ram: pentium
Product: dell
Comment:

Hey guys, I have an existing php form that runs fine but I was wondering if I can make it so when the submit button is pressed if it can go to 3 different email locations? A;most like "CC ing" someone



Sponsored Link
Ads by Google

Response Number 1
Name: Laler
Date: July 20, 2006 at 17:38:57 Pacific
Reply:

you need to find the mail() part in the script

it'll look like this:

mail ('targetmail', 'subject', 'content', 'additional_headers');

you can directly add another address in targetmail by using comma:

mail ('you@domain.com,anotheryou@domain.com', 'subject',...

if the targetmail is a variable, you might be able to slip it in like this:

mail ($targetmail . ',anotheryou@domain.com', subject,....

---


0
Reply to Message Icon

Related Posts

See More


Question about whois data... Netscape 8.1 problems



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: php form

PHP Form www.computing.net/answers/webdevel/php-form/2146.html

php forms help www.computing.net/answers/webdevel/php-forms-help/2224.html

php form www.computing.net/answers/webdevel/php-form/762.html