Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 16th, 2006, 10:47 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default getting problem in Persits.MailSender

Dear All;
i am getting error "Connection timed out." when posting form, please help me. thanks

<%
cperson=request.Form("cperson")
emailaddress=request.Form("emailaddress")


'Create the e-mail server object
Set Mail= Server.CreateObject("Persits.MailSender")

'Who the e-mail is from
Mail.From ="[email protected]"
Mail.AddAddress "[email protected]"
Mail.Subject = "Email For Newsletter: " &" "

' Create the body text for the e-mail
Bodytxt = "Details of newsletter : " & VbCrLf & VbCrLf
Bodytxt = Bodytxt & "Name : " &cperson & VbCrLf
Bodytxt = Bodytxt & "Email Address : " &emailaddress & VbCrLf

Mail.Body = Bodytxt

Mail.Username = "[email protected]"
Mail.Password = "password"

' The e-mail is now ready to go, we just need to specify the server and send
Mail.Host = "mail.accuray.com.pk"
Mail.Send

Set Mail = Nothing
response.redirect "./thanksfornewsletter.asp"
%>
 
Old October 16th, 2006, 10:49 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

please check http://www.accuray.com.pk/newsletter.asp
 
Old October 16th, 2006, 10:52 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Persits.MailSender.4 error '800a0004'

Connection timed out.

/submitnewsletter.asp, line 26

 
Old October 16th, 2006, 10:53 PM
Registered User
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Line
25: Mail.Host = "mail.accuray.com.pk"
26: Mail.Send






Similar Threads
Thread Thread Starter Forum Replies Last Post
Persists.MailSender dammy Classic ASP Components 1 September 6th, 2007 01:02 PM
upload multiple files in db with persits aspjpeg dann2 Classic ASP Basics 0 May 10th, 2007 11:20 PM
Return receipt Persits ASPEmail Haroldd Classic ASP Components 1 March 10th, 2004 11:06 AM
I have problem to use Persits.MailSender omid_sham Classic ASP Professional 1 March 2nd, 2004 07:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.