Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am debuggin sp_Exec_SendEmail, and I got the error
"
SQL
@out_desc   The transport failed to connect to the server.


And when I am running 
use master
 go
 sp_configure 'show advanced options',1
 go
 reconfigure with override
 go
 sp_configure 'Database Mail XPs',1
 --go
 --sp_configure 'SQL Mail XPs',0
 go
 reconfigure
 go

I got the messages:
Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
Configuration option 'Database Mail XPs' changed from 1 to 1. Run the RECONFIGURE statement to install.

Thank you for your time
Posted
Comments
Sudhakar Shinde 6-Aug-13 6:31am    
What is the problem?

1 solution

I am not getting the email notification
I have to mention that I am using a table with 2 records with today's value for ExpiryDate field and my hotmail.com and yahoo.com account for email recipients, and I don't get the email.
In Database Configuration email I am using server name: smtp.gmail.com port 587
I followed the instructions from here and troubleshooting a lot
I checked if Service Broker is enabled (and it is OK Select is_broker_enabled from sys.databases where name=’MSDB’ (results is_enabled=1))
Checked if the users are member of the DatabaseMailUserRole......
EXEC msdb.sys.sp_helprolemember 'DatabaseMailUserRole';
I tried Send test E_Mail , when connected to the local server and works(I got the email) with my profile (gmail account). So, I don't know what's the problem
Please, let me know if you have any suggestions
Thank you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900