parameterReplaceAll(array( 'name' => $post['name'], 'email' => $post['email'], 'phone' => $post['phone'], 'staying' => $post['staying'], 'country' => $post['country'], 'message' => strip_tags($post['message']) )); $body = $t->Display(); $mail->SetFrom('name@yourdomain.com', 'First Last'); $mail->AddReplyTo("name@yourdomain.com","First Last"); //$address = "ingrid@invadarecords.com"; $address = "rafaelgandi@gmail.com"; $mail->AddAddress($address, "Contact Us Inquiry"); $mail->Subject = "Peek Tours Contact Us Inquiry ".date('M d, Y'); $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test $mail->MsgHTML($body); //$chk = $mail->Send(); if(!$mail->Send()) { $chk = 'error'; } else { $chk = 'success'; } } ?>
Mob: +61 (0)420 244 756
gregg@peektours.com.au
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sydney has enough pollution, so why not leave a smaller carbon footprint and help the environment by going on a walking tour?

© Copyright 2010 Peek Tours