Как мне получить по электронной почте линейные каналы?
Как мне получить по электронной почте линейные каналы? В настоящее время он работает вместе.
<% Const SECTION = 17 %> <% Const SECTION_NAME = "internet" %> <% submitted = request("submitted") if submitted = "true" then ACC = request("ACC") FirstName = request("FirstName") LastName = request("LastName") Mailing1 = request("Mailing1") Mailing2 = request("Mailing2") Phone = request("Phone") Email = request("Email") GCScreenName = request("GCScreenName") GCRegistrationType = request("GCRegistrationType") eCScreenName = request("eCScreenName") eCRegistrationType = request("eCRegistrationType") 'everything is required, make sure nothing is blank if ACC = "" or FirstName = "" or LastName = "" or Mailing1 = "" or Mailing2 = "" or Phone = "" or Email = "" or GCScreenName = "" or GCRegistrationType = "" or eCScreenName = "" or eCRegistrationType = "" then if ACC = "" then errorMessage = "ACC Number is required." elseif FirstName = "" then errorMessage = "First Name is required." elseif LastName = "" then errorMessage = "Last Name is required." elseif Mailing1 = "" then errorMessage = "Street Address is required." elseif Mailing2 = "" then errorMessage = "City/State is required." elseif Phone = "" then errorMessage = "Phone Number is required." elseif Email = "" then errorMessage = "Email is required." elseif GCScreenName = "" then errorMessage = "GameColony Screen Name is required." elseif GCRegistrationType = "" then errorMessage = "GameColony Registration Type is required." elseif eCScreenName = "" then errorMessage = "eCribbage Screen Name is required." elseif eCRegistrationType = "" then errorMessage = "eCribbage Registration Type is required." end if else mailfrom = request("email") mailto = "xxxxxxx@gmail.com;xxxxxxxx@hotmail.com" mailsubject = "ACC Internet Program - Screen Name Registration" mailtext = "ACC:" & ACC & ",FirstName:" & FirstName & ",LastName:" & LastName & ",Mailing1:" & Mailing1 & ",Mailing2:" & Mailing2 & ",Phone:" & Phone & ",Email:" & Email & ",GCScreenName:" & GCScreenName & ",GCRegistrationType:" & GCRegistrationType & ",eCScreenName:" & eCScreenName & ",eCRegistrationType:" & eCRegistrationType Set objNewMail = CreateObject("CDONTS.NewMail") ObjNewMail.Send mailfrom, mailto, mailsubject, mailtext end if end if %>
Что я уже пробовал:
Мне сказали, что это классический asp. Все, что я пробовал, по-прежнему дает электронную почту, когда получает всю одну строку вместо каждого элемента формы на новой строке.