Jag får upp "Funkade visst inte..." med följande kod:
<%
On error resume next
Dim mySmartMail
Set mySmartMail = Server.CreateObject("aspSmartMail.SmartMail")
mySmartMail.Server = "mail.server.com"
mySmartMail.SenderName = request.form("From")
mySmartMail.SenderAddress = request.form("emailFrom")
mySmartMail.Recipients.Add "mailadressen"
mySmartMail.Subject = "Rubrik!"
mySmartMail.Body = request.form(""from"") & "<br>" & "request.form(""adress"")" & "request.form(""post"")" & " " _
& "request.form(""ort"")" & "<br><br>Svar:<br>" & "A: " _
& "request.form(""a"")" & "<br>B: " & "request.form(""B"")" _
& "<br>C: " & "request.form(""C"")"
mySmartMail.SendMail
if Err.Number<>0 then
%>
Funkade visst inte...
<%else%>
Vi har mottagit din svars...
<%end if%>
Vad kan vara fel?