Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

can anyone help me in sending me a dbmail plz?

$
0
0
hi, 

i configured dbmail in my local machine. 

step1:

i configured by emailaddress:test@gmail.com, servername :smtp.gmail.com, portnumber : 587 (previously it was 25) then basic authentication with local sql authentication.

step2:

finally i got all success. like create account success, created profile sucess...

step3:

then i used this 

sp_CONFIGURE 'show advanced', 1 GO RECONFIGURE GO sp_CONFIGURE 'Database Mail XPs', 1 GO RECONFIGURE GO       

step4:

USE msdb GOEXEC sp_send_dbmail @profile_name='dinesh',
@recipients='test@gmail.com', @subject='Test message',
@body='This is the body of the test message. _
Congrats Database Mail Received By you Successfully.'


but i cant able to receive any mail. its getting updated like when i check in sysmail_log table

The mail could not be sent to the recipients because of the mail server failure.
  (Sending Mail using Account 5 (2012-07-06T11:35:17). Exception Message:
  Cannot send mails to mail server. (The SMTP server requires a secure
  connection or the client was not authenticated. The server response was:
  5.5.1 Authentication Required. Learn more at). )

can any onehelp me in this...

rgds,

dinesh.

Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>