Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

"RCPT Command failed" when sending to outside e-mail addresses

Avatar of Anthony_B
Anthony_B asked on
Visual Basic ClassicASPEmail Protocols
4 Comments1 Solution5432 ViewsLast Modified:
I have an ASP application that is using Dundas e-mailer, and is working fine when I send out a message to an internal e-mail address.  when I specify an external e-mail address, it gives me the error

Dundas.Mailer 1 error '80004005'

The RCPT Command failed.  The specified account does not exist

/save asp, line 190.

I am also posting the code for the mailing portion below.


		'declare the Mailer object
		Dim objMailer
		
		'create the Mailer object
		Set objMailer = server.createobject("Dundas.Mailer")
		
		'set content type for plain or HTML
		'objMailer.ContentType = "text/html"
		'objMailer.ContentType = "text/plain"
		
		'specify the name of the sender
		objMailer.FromName = "ABC CEnters"
		
		'specify the email address of the sender
		objMailer.FromAddress = "info@ABCCenters.com"
		
		'specify the SMTP server to use in sending
		objMailer.SMTPRelayServers.add "10.10.1.10"
		
		'specify the recipient(s) name and address
		objMailer.TOs.add txtClientEmail,txtClientName
		objMailer.BCCs.add "info@ABCCEnters.com","ABC Centers"
		
		'specify the message body text
		objMailer.HtmlBody = EmailMessage
		
		'send the email... this returns true or false upon completion.
		DIM MailSent
		MailSent = objMailer.SendMail()
		'*************************************************************
		'destroy the object
		set objMailer = nothing

Any and all help is appreciated.

Anthony
ASKER CERTIFIED SOLUTION
Avatar of TIGERMARK
TIGERMARKFlag of India image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers