send email outside domain using database mail
-
miércoles, 28 de marzo de 2012 21:33
I have Database profile setup to send email to users using our domain .But if I need to setup to send email out side domain how I can do that .getting the following message
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 5 (2012-03-28T16:30:06). Exception Message: Could not connect to mail server. (No such host is known).
)for exaple .The company name is xyz.com so i use SMTP server name smtp.xyz.com using different port number and 25 port no but did not work .
Use authentication anonymous .
Can anyone tell me whare am I wrong ?
Daizy
Todas las respuestas
-
jueves, 29 de marzo de 2012 5:02
Hi Daizy,
Based on the error message, i belive you have given wrong emailID (or) U have given wrong server name in SMTP during configuration of mail.
Once the Mail configuration completed, you need to re-start the SQL Agent Services.
Yes you can send mails to outer domain also with out any issues.
For reference plase find the below links:
Thanks,
Thanks, Satish Kumar. Please mark as this post as answered if my anser helps you to resolves your issue :)
- Propuesto como respuesta Harsh ChawlaMicrosoft Employee jueves, 29 de marzo de 2012 11:46
- Marcado como respuesta Daizy Desai viernes, 30 de marzo de 2012 14:11
-
viernes, 30 de marzo de 2012 14:10
Thank You, Satish .
We are able to send mail to outside .The problem was I gave wrong smtp server and we updated mail server relay seeting to fix this issue .
Thank You so much for your post .
Daizy

