CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Persits.mailsender suddenly quit working

Print topic Send  topic

Author Message
Dreamcatchers


Posts: 120
Posted: 11/05/2010, 9:31 AM

I have several programs that send confirmation emails to a user based on their registration.
They have worked flawless until two days ago. Now I get the error:

Persits.MailSender.4 error '800a0004'
Connection timed out.
/smart/Announcements_events.asp, line 47

The hosting company says it must be my program. However I have not changed it nor have I changed all the other programs that stopped working.

Persits suggested that it could be a DNS or firewall issue.

has anyone seen this issue or have any suggestions?

my code is below:

Dim Mailer
Dim str_message, manager_email, Manager_name, email_list
email_list="me@mydomain.com"
manager_email = "mgr@mydomain.com"
manager_name = "Administration"
Set Mailer = Server.CreateObject("Persits.MailSender")
str_message= "Dear User," & vbCRLF & vbCRLF
str_message = str_message + "A new Announcement was posted in the Announcement Page.." & vbCRLF & vbCRLF
str_message = str_message + "Thank you," & vbCRLF & vbCRLF & manager_name
Mailer.From = manager_email
Mailer.FromName = manager_name
Mailer.AddAddress email_list
Mailer.Host = "mail.mydomain.com"
Mailer.IsHTML = True
Mailer.Subject = "New Announcement"
Mailer.Body = str_message
mailer.username = "postmaster@mydomain.com"
mailer.password = "xxxxxxxxt"
on error resume next
Mailer.Send
if err <>0 then
response.Write"An error occured: " & err.Description
end if
set Mailer = Nothing

_________________
Training and LMS Developer
View profile  Send private message
Oper


Posts: 1195
Posted: 11/05/2010, 10:26 AM

witch one is line 47?

Error sound like a Port Blocked.

_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
Dreamcatchers


Posts: 120
Posted: 11/06/2010, 3:03 PM

It turns out the hosting company changed their mail configuration.
Instead of specifying my mail account along with authentication credentials all that is needed
now is mailer.host = "localhost"

I did find one article on the web with this and it worked. When I wrote to persits they suggested it was a firewall issue.

What would have really helped is to get the hosting company to admit they made a change and inform me about it.

A novel idea would be advance notice so I could proactive select all my programs for change and not have outages and complaints.
_________________
Training and LMS Developer
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.