IsSMTP(); $mail->Host = 'mail63.safesecureweb.com'; //$mail->SMTPDebug = 2; $mail->SMTPAuth = true; //$mail->Port = 26; $mail->Username = 'info@tjmcgeehan.com'; $mail->Password = 'wr7DRayA'; //$mail->AddAddress('jameyhoff@gmail.com'); $mail->AddAddress('info@tjmcgeehan.com'); $mail->SetFrom($sEmail, $sName); $mail->Subject = 'TJ McGeehan Contact Form Submission'; $message = "

{$mail->Subject}

Name: $sName
Company: $sCompany
Phone: $sPhone
Email: $sEmail
Comments: $sComments
How did you hear about us? $sHear
"; $mail->MsgHTML($message); if ($mail->Send()): header('location: thankyou.html'); else: echo 'There was an error while sending the email to TJ McGeehan. Please try again later.'; endif; endif; ?> TJM: Example Flash
Name:
Company:
Contact Phone:
Email:
Comments:
How did you hear about us?