Sunday, February 19, 2012
db mail with encryption
Is there anyway to do an encryption for any emails by using send db mail?
Do i need to do the encryption at the database level or exchange server level?
Any idea, please help.
Thanks
Ed
See other post!
"Ed" wrote:
> hi,
> Is there anyway to do an encryption for any emails by using send db mail?
> Do i need to do the encryption at the database level or exchange server level?
> Any idea, please help.
> Thanks
> Ed
db mail with encryption
Is there anyway to do an encryption for any emails by using send db mail?
Do i need to do the encryption at the database level or exchange server leve
l?
Any idea, please help.
Thanks
EdSee other post!
"Ed" wrote:
> hi,
> Is there anyway to do an encryption for any emails by using send db mail
?
> Do i need to do the encryption at the database level or exchange server le
vel?
> Any idea, please help.
> Thanks
> Ed
db mail with encryption
Is there anyway to do an encryption for any emails by using send db mail?
Do i need to do the encryption at the database level or exchange server level?
Any idea, please help.
Thanks
EdSee other post!
"Ed" wrote:
> hi,
> Is there anyway to do an encryption for any emails by using send db mail?
> Do i need to do the encryption at the database level or exchange server level?
> Any idea, please help.
> Thanks
> Ed
DB mail fails with permission error
Hi:
I am trying to send mail using DB Mail. I made sure that there is a mail box setup for the service account and the service broker is enabled in the msdb database. Also I made the service account a user in the msdb and added him to the mail role as specified in BOL. However I consistently end up with the following error message when I try to send the mail.
Log ID 19
Process ID 5672
Mail Item ID 6
Last Modified 4/26/2006 11:05:00 AM
Last Modified By sa
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2006-04-26T11:05:00). Exception Message: Cannot send mails to mail server. (Client does not have permission to submit mail to this server. The server response was: 5.7.3 Client does not have permission to Send As this sender.).
)
I am at loss to understand what Permissions it still needs?. Any thoughts appreciated.
Thanks
I have resolved this problem successfully and want to share it with the community for the benefit of others.
when the above error happens, please make sure that you have the following in place.
1). The Service account should have a mail box setup.
2). The account name you use when you configure DB Mail should be the same as that of the Mail box name.
3). The Account should be a user in the msdb and should be added to the DBMailuser role.
Everything then should work fine.
Thanks
|||Thank you so much for posting this! I was getting hung up on requirement #2. They don't make these things very obvious do they?DB mail fails with permission error
Hi:
I am trying to send mail using DB Mail. I made sure that there is a mail box setup for the service account and the service broker is enabled in the msdb database. Also I made the service account a user in the msdb and added him to the mail role as specified in BOL. However I consistently end up with the following error message when I try to send the mail.
Log ID 19
Process ID 5672
Mail Item ID 6
Last Modified 4/26/2006 11:05:00 AM
Last Modified By sa
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2006-04-26T11:05:00). Exception Message: Cannot send mails to mail server. (Client does not have permission to submit mail to this server. The server response was: 5.7.3 Client does not have permission to Send As this sender.).
)
I am at loss to understand what Permissions it still needs?. Any thoughts appreciated.
Thanks
I have resolved this problem successfully and want to share it with the community for the benefit of others.
when the above error happens, please make sure that you have the following in place.
1). The Service account should have a mail box setup.
2). The account name you use when you configure DB Mail should be the same as that of the Mail box name.
3). The Account should be a user in the msdb and should be added to the DBMailuser role.
Everything then should work fine.
Thanks
|||Thank you so much for posting this! I was getting hung up on requirement #2. They don't make these things very obvious do they?DB Mail config
enabled e-mail using the surface area configurator. I went through the db
mail setup wizard and entered all the appropiate info, but when I try to
send a test email, I get the following error in the db mail log:
The mail could not be sent to the recipients because of the mail server
failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
Message: Cannot send mails to mail server. (Failure sending mail.).
).
What could be causing this?
Thanks,
What type of server are you using for Mail. Some SMTP server? Does the db
mail account have access to relay on the SMTP server. Can you ping the SMTP
server from the SQL server?
What does the event log say as far as DB mail errors?
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/
"Tim Kelley" <tkelley@.company.com> wrote in message
news:uMroorA2GHA.4392@.TK2MSFTNGP04.phx.gbl...
>I am trying to setup db mail and I cannot get it to send an email. I have
>enabled e-mail using the surface area configurator. I went through the db
>mail setup wizard and entered all the appropiate info, but when I try to
>send a test email, I get the following error in the db mail log:
> The mail could not be sent to the recipients because of the mail server
> failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
> Message: Cannot send mails to mail server. (Failure sending mail.).
> ).
> What could be causing this?
> Thanks,
>
|||We are using SMTP for the mail server. I am using my own account to send
the mail so it should have access to relay on the mail server. I can ping
the SMTP server from the SQL server. I didn't find any errors in the SQL
log or the system application log.
Tim
"Warren Brunk" <wbrunk@.techintsolutions.com> wrote in message
news:%23up92$C2GHA.4264@.TK2MSFTNGP05.phx.gbl...
> What type of server are you using for Mail. Some SMTP server? Does the db
> mail account have access to relay on the SMTP server. Can you ping the
> SMTP server from the SQL server?
> What does the event log say as far as DB mail errors?
> --
> /*
> Warren Brunk - MCITP - SQL 2005, MCDBA
> www.techintsolutions.com
> */
>
> "Tim Kelley" <tkelley@.company.com> wrote in message
> news:uMroorA2GHA.4392@.TK2MSFTNGP04.phx.gbl...
>
DB Mail config
enabled e-mail using the surface area configurator. I went through the db
mail setup wizard and entered all the appropiate info, but when I try to
send a test email, I get the following error in the db mail log:
The mail could not be sent to the recipients because of the mail server
failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
Message: Cannot send mails to mail server. (Failure sending mail.).
).
What could be causing this?
Thanks,What type of server are you using for Mail. Some SMTP server? Does the db
mail account have access to relay on the SMTP server. Can you ping the SMTP
server from the SQL server?
What does the event log say as far as DB mail errors?
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/
"Tim Kelley" <tkelley@.company.com> wrote in message
news:uMroorA2GHA.4392@.TK2MSFTNGP04.phx.gbl...
>I am trying to setup db mail and I cannot get it to send an email. I have
>enabled e-mail using the surface area configurator. I went through the db
>mail setup wizard and entered all the appropiate info, but when I try to
>send a test email, I get the following error in the db mail log:
> The mail could not be sent to the recipients because of the mail server
> failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
> Message: Cannot send mails to mail server. (Failure sending mail.).
> ).
> What could be causing this?
> Thanks,
>|||We are using SMTP for the mail server. I am using my own account to send
the mail so it should have access to relay on the mail server. I can ping
the SMTP server from the SQL server. I didn't find any errors in the SQL
log or the system application log.
Tim
"Warren Brunk" <wbrunk@.techintsolutions.com> wrote in message
news:%23up92$C2GHA.4264@.TK2MSFTNGP05.phx.gbl...
> What type of server are you using for Mail. Some SMTP server? Does the db
> mail account have access to relay on the SMTP server. Can you ping the
> SMTP server from the SQL server?
> What does the event log say as far as DB mail errors?
> --
> /*
> Warren Brunk - MCITP - SQL 2005, MCDBA
> www.techintsolutions.com
> */
>
> "Tim Kelley" <tkelley@.company.com> wrote in message
> news:uMroorA2GHA.4392@.TK2MSFTNGP04.phx.gbl...
>
DB Mail config
enabled e-mail using the surface area configurator. I went through the db
mail setup wizard and entered all the appropiate info, but when I try to
send a test email, I get the following error in the db mail log:
The mail could not be sent to the recipients because of the mail server
failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
Message: Cannot send mails to mail server. (Failure sending mail.).
).
What could be causing this?
Thanks,What type of server are you using for Mail. Some SMTP server? Does the db
mail account have access to relay on the SMTP server. Can you ping the SMTP
server from the SQL server?
What does the event log say as far as DB mail errors?
--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/
"Tim Kelley" <tkelley@.company.com> wrote in message
news:uMroorA2GHA.4392@.TK2MSFTNGP04.phx.gbl...
>I am trying to setup db mail and I cannot get it to send an email. I have
>enabled e-mail using the surface area configurator. I went through the db
>mail setup wizard and entered all the appropiate info, but when I try to
>send a test email, I get the following error in the db mail log:
> The mail could not be sent to the recipients because of the mail server
> failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
> Message: Cannot send mails to mail server. (Failure sending mail.).
> ).
> What could be causing this?
> Thanks,
>|||We are using SMTP for the mail server. I am using my own account to send
the mail so it should have access to relay on the mail server. I can ping
the SMTP server from the SQL server. I didn't find any errors in the SQL
log or the system application log.
Tim
"Warren Brunk" <wbrunk@.techintsolutions.com> wrote in message
news:%23up92$C2GHA.4264@.TK2MSFTNGP05.phx.gbl...
> What type of server are you using for Mail. Some SMTP server? Does the db
> mail account have access to relay on the SMTP server. Can you ping the
> SMTP server from the SQL server?
> What does the event log say as far as DB mail errors?
> --
> /*
> Warren Brunk - MCITP - SQL 2005, MCDBA
> www.techintsolutions.com
> */
>
> "Tim Kelley" <tkelley@.company.com> wrote in message
> news:uMroorA2GHA.4392@.TK2MSFTNGP04.phx.gbl...
>>I am trying to setup db mail and I cannot get it to send an email. I have
>>enabled e-mail using the surface area configurator. I went through the db
>>mail setup wizard and entered all the appropiate info, but when I try to
>>send a test email, I get the following error in the db mail log:
>> The mail could not be sent to the recipients because of the mail server
>> failure. (Sending Mail using Account 3 (2006-09-14T09:27:22). Exception
>> Message: Cannot send mails to mail server. (Failure sending mail.).
>> ).
>> What could be causing this?
>> Thanks,
>
DB Mail and Notify Operator through DB Mail error Could not Retrieve item from the queue
I've set up DB mail and sent a test e-mail and that comes through fine.
I set up an Operator with email Name: DWhelpton@.k-and-s.com;MWeaver@.k-and-s.com
I created a job and set up the notifications to e-mail the operator on failure.
When the job runs and fails, I do not get an e-mail and I get the following exception in the db mail log:
Date 2/2/2007 8:35:00 AM
Log Database Mail (Database Mail Log)
Log ID 402
Process ID 3936
Last Modified 2/2/2007 8:35:00 AM
Last Modified By NT AUTHORITY\SYSTEM
Message
1) Exception Information
===================
Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
Message: Could not retrieve item from the queue.
Data: System.Collections.ListDictionaryInternal
TargetSite: Microsoft.SqlServer.Management.SqlIMail.Server.Controller.ICommand CreateSendMailCommand(Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DBSession)
HelpLink: NULL
Source: DatabaseMailEngine
StackTrace Information
===================
at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateSendMailCommand(DBSession dbSession)
at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandFactory.CreateCommand(DBSession dbSession)
at Microsoft.SqlServer.Management.SqlIMail.Server.Controller.CommandRunner.Run(DBSession db)
at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.ThreadCallBack.MailOperation(Object o)
What step am I missing?
I removed the database mail and readded it and reselected it in sql agent properties and it ran fine.