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 |
|
|
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 |
|
|
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 |
|
|
|