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.
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.