Find this in Dynamicpage.aspx.vb…. #
Dim smtp As New SmtpClient(“relay-hosting.secureserver.net”)
Try
smtp.Credentials = New NetworkCredential(Request.Form(“FromMail”), “000215”)
smtp.Send(mail)
Response.Redirect(“thanks”)
Catch ehttp As System.Web.HttpException
Response.Redirect(“error?ret=1”)
End Try
Replace with this… #
Dim smtp As New SmtpClient() ←- Remove the relay that is showing. Should just be ()
Try
smtp.Credentials = New _
Net.NetworkCredential(“Post Mark Relay Credentials”, “Post Mark Relay Credentials”) ←- Replace the credentials that are showing.
smtp.Port = 587
smtp.Host = “smtp.postmarkapp.com”
smtp.Send(mail)
Response.Redirect(“thanks”)
Catch ehttp As System.Web.HttpException
Response.Redirect(“error?ret=1”)
End Try
