Smart Mailer ASP Support Product Page

Answered

How about this error?SendMail Error: Connection timed out., code = 4

Asked 11 Apr 2013 09:22:20
1
has this question
11 Apr 2013 09:22:20 David Breschi posted:
Hi,
i'm tryng to use Smart Mailer ASP
in my recent works, it works well but this time i get the error: SendMail Error: Connection timed out., code = 4

this is my page code


<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include virtual="/ScriptLibrary/incSmartMailer.asp" -->

<
%' Smart Mailer 1.0.12
' Send on load
Dim sm1
Set sm1 = new SmartMailer
sm1.checkVersion "1.12"
sm1.contentCharset = "utf-8"
sm1.smtpSetup "xxxxxx", "", "xxxxxxx", "xxxxx"
sm1.pickup = ""
sm1.component = "aspemail"
sm1.tmpFolder = ""
sm1.embedImages = false
sm1.progressBar = ""
sm1.ignore_errors = false
sm1.useQueue = false
Server.ScriptTimeout = 300
Session.CodePage = sm1.getCodepage()
sm1.setFrom Request("mittente"), Request("email")
sm1.setTo "xxxxxxx", "xxxxxxxx"
sm1.setCc "", ""
sm1.setBcc "", ""
sm1.Subject = "" & (Request("oggetto")) & ""
' using static for body
sm1.setBody_Static_html "" & (Request("mittente")) & " (" & (Request("email")) & ") ha inviato questa mail:" & vbCRLF & "" & vbCRLF & "" & (Request("messaggio")) & "" & vbCRLF & "" & vbCRLF & "Indirizzo Ip del mittente= " & (Request("ip")) & "" & vbCRLF & "" & vbCRLF & "Dati Mittente: " & (Request("mittente")) & "" & vbCRLF & "Ragione Sociale: " & (Request("nome")) & "" & vbCRLF & "Partita IVA: " & (Request("iva")) & "" & vbCRLF & "Mail: " & (Request("email")) & "" & vbCRLF & "Web: " & (Request("web")) & "" & vbCRLF & "" & vbCRLF & "Indirizzo: " & (Request("via")) & " - " & (Request("citta")) & " - " & (Request("provincia")) & " - " & (Request("nazione")) & "" & vbCRLF & "Telefono: " & (Request("telefono")) & "" & vbCRLF & "Fax: " & (Request("fax")) & "" & vbCRLF & "Cellulare: " & (Request("cellulare")) & ""
' Attachments none
sm1.sendMail "one"
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Documento senza titolo</title>

</style>
</head>
<body>
<div id="visualizzaCommento">
  <p><img src="grafica/logo.jpg" width="250"/></p>
  <p><img src="grafica/thumb.gif" width="150" height="150" /></p>
</div>

</body>
</html>




Replies

Replied 12 Apr 2013 06:48:42
12 Apr 2013 06:48:42 Miroslav Zografski replied:
Hello David,

That means that connection to the mail server provided has timed Out due to no response from the server, or something blocks the connection.

Regards.

Reply to this topic