Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Pointing formmail.php to another domain
Old 09-28-2009, 07:37 AM Pointing formmail.php to another domain
Novice Talker

Posts: 6
Name: Niall
Location: Ireland
Trades: 0
I've set up a form and am using formmail.php script to send the details to my email address. I can get the emails sent to me, but need them to go to another email domain (a client). I understand it's easier to get it sent to myself as the script is hosted on the same server as my email.

The only part of the code I've edited is;

Code:
Code:
            /* Help: http://www.tectite.com/fmdoc/target_email.php */
$TARGET_EMAIL = array(MY_NAME."@MY_DOMIAN\.com$");
How would I enter an 2nd email in this script?
uber_grizzly is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-28-2009, 11:59 AM Re: Pointing formmail.php to another domain
prasanthmj's Avatar
Experienced Talker

Posts: 42
Name: Prasanth
Trades: 0
PHP Code:
$TARGET_EMAIL = array(MY_NAME."@MY_DOMIAN\.com$","^other_name@other_domain\.com$"); 
It's a regular expression pattern to validate the target email.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
prasanthmj is offline
Reply With Quote
View Public Profile
 
Old 09-28-2009, 12:21 PM Re: Pointing formmail.php to another domain
Novice Talker

Posts: 6
Name: Niall
Location: Ireland
Trades: 0
Thanks prasanthmj, does the ^ symbol need to be placed before the the email address?

"^other_name@other_domain\.com$"
uber_grizzly is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Pointing formmail.php to another domain
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.47811 seconds with 12 queries