The host 'smtp' could not be found.

Posted by SmartestVEGA on Stack Overflow See other posts from Stack Overflow or by SmartestVEGA
Published on 2010-03-09T10:18:49Z Indexed on 2010/03/09 10:21 UTC
Read the original article Hit count: 433

Filed under:
|
|
|
|

I am getting the following error while sending mail by click of a button in MS access form

I am using sendObject to send mail using vba code.

The host 'smtp' could not be found. Please verify that you have entered the server name correctly. Account: 'pop3', Server: 'smtp', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 11001, Error Number: 0x800CCC0D

Points to note:

  I am able to send and receive mails in my outlook; Problem is only when send mails through VBA access application.(Means it is not a outlook client configuration problem) 



  When i copy paste the Vba application to another PC, i could successfully send emails without any error. (means this is not a vba access application problem) 

Please help.

© Stack Overflow or respective owner

Related posts about vba

Related posts about outlook