...

View Full Version : need more then 1 email address to recieve



PitbullMean
11-25-2007, 11:56 PM
Hey guys I'm back, was wondering if someone could help me out I need my application form to be sent to 2 email addresses.

eric@dragonethosting.com and pitbullmean@gmail.com

Heres the code I know it looks wrong because I was doing some trial and error stuff but heres to coding section that needs to be fixed.


$eric = 'mail@globalassaultgroup.com';
$patrik = 'eric@dragonethosting.com';

$mailto = "$patrik \n" . , "$eric \n" . ;

aWishResigned
11-26-2007, 12:08 AM
Why not try:


mail($eric, 'subject', $message);
mail($patrik, 'subject', $message);

vinyl-junkie
11-26-2007, 04:53 AM
You can separate those two email addresses with a comma. For example:


$mailto = "$patrik" . "," . "$eric";

PitbullMean
11-27-2007, 04:22 AM
Thanks for the fix vinyl



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum