Search Persits Software Knowledge Base

 

Article PS01041237

Connection refused error

Problem Description

When trying to send an email message with AspEmail, the following error is generated:

Persits.MailSender.4 (0x800A0004)
Connection refused.

Solution

In most cases, this error means that the specified Host is found, but it is not running SMTP services, or SMTP is running on a non-default port.

Make sure an SMTP server, such as Microsoft SMTP Services or Microsoft Exchange Server, is up and runing on the Host, and that SMTP runs on the default port (25). If SMTP is given a non-default port number, you must specify it via the Mail.Port property.

This error is also known to be caused by antivirus/antiworm software such as McAfee blocking the SMTP port.

Created: 2/8/2002 4:30:09 AM
Last Modified: 10/20/2011 10:56:17 AM

Copyright © Persits Software, Inc. 1998 - 2018
For technical support, write to support@persits.com.