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

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" . ;

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

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

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

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

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