I've set up my PHPmailer and now trying to debug and having some difficulties. The body of the email is being sent in the Subj. Not sure what todo, here is the PHP code: <? /*smtpServer = "autographsigning@gmail.com" smtpPort = 25 //dim sender, subject, body, body1, body2, body3, body4, body5, body6, body7, body8, body9, body10, body11, body12, Finalbody, smtpServer, smtpPort, receiver, toaddress ' Now gets the data from Form Request.Form("receiver") //sender = $Reply_email 'receiver = $ToAddr toaddress = "autographsigning@gmail.com" subject = "New Autograph Signing Info" body = Request.Form("firstname") body1 = Request.Form("lastname") body2 = Request.Form("category") body3 = Request.Form("cost") body4 = Request.Form("date") body5 = Request.Form("time") body6 = Request.Form("location") body7 = Request.Form("cross_streets") body8 = Request.Form("address") body9 = Request.Form("city") body10 = Request.Form("state") body11 = Request.Form("zip") body12 = Request.Form("comments") Finalbody = "*/ mail("autographsigning@gmail.com","Thank You for submitting your signing or question to AutographSigning.net","\n First Name: $firstname \n Last Name: $lastname \n Category: $category \n Cost: $cost \n Date: $date \n Time: $time \n Location: $location \n Cross-Streets: $cross_streets \n Address: $address \n City: $city \n State: $state \n Zip: $zip \n Comments: $comments","From: autographsigning@gmail.com\r\n"."Reply-To: autographsigning@gmail.com\r\n"."Cc: $email\r\n"."Bcc: autographsigning@gmail.com\r\n"."X-Mailer: PHP/" . phpversion() ); Header("Location: http://www.autographsigning.net/contact-us/thank-you.html"); /*Set mail = CreateObject ("JMail.SMTPMail") mail.ServerAddress = smtpServer & ":" & smtpPort mail.Sender = sender & "(" & Request.ServerVariables ("REMOTE_ADDR") & ")" 'IP Address of the mailer mail.Subject = subject mail.AddRecipient toaddress mail.ContentType = "text/plain" ' or you can put 'text/plain' for plain text email mail.ISOEncodeHeaders = false mail.ContentTransferEncoding = "8bit" mail.Body = Finalbody mail.Cc = body8 ' 1 - highest priority (Urgent) ' 3 - normal ' 5 - lowest mail.Priority = 3 ' Add sender's IP address mail.AddHeader "Originating-IP", Request.ServerVariables ("REMOTE_ADDR") ' Actually send mail on error resume next mail.Execute set mail = nothing Response.redirect("http://www.autographsigning.net/contact-us/thank-you.html")*/ ?>
just change ADD_YOUR_SUBJECT_HERE below with any subject that you want mail("autographsigning@gmail.com", "ADD_YOUR_SUBJECT_HERE","Thank You for submitting your signing or question to AutographSigning.net","\n First Name: $firstname \n Last Name: $lastname \n Category: $category \n Cost: $cost \n Date: $date \n Time: $time \n Location: $location \n Cross-Streets: $cross_streets \n Address: $address \n City: $city \n State: $state \n Zip: $zip \n Comments: $comments","From: autographsigning@gmail.com\r\n"."Reply-To: autographsigning@gmail.com\r\n"."Cc: $email\r\n"."Bcc: autographsigning@gmail.com\r\n"."X-Mailer: PHP/" . phpversion() ); Header("Location: http://www.autographsigning.net/contact-us/thank-you.html"); PHP: