I have been trying all week to get my new sql 2005 server to send out auto emails. The test emails come through fine but the EXEC msdb.dbo.sp_send_dbmail do not. Earlier they said that the email was queuing but no email was sent to my inbox. Now it seems I have regressed.
I am seeing this error 'Procedure sysmail_verify_profile_sp, Line 42
profile name is not valid'
I have set up two profiles and 3 accounts.
I have run
SELECT [profile_id]
,[name]
,[description]
,[last_mod_datetime]
,[last_mod_user]
FROM [msdb].[dbo].[sysmail_profile]
and copied/pasted the profile name into my stored procedure. I have rebuilt my profiles, and both are members of the 'Data base mail user role'. I am stumped and frustrated. Hopefully some one has some suggestions. Thanks in advance, I really appreciate all the help I get from this forum.
Cheers
I am seeing this error 'Procedure sysmail_verify_profile_sp, Line 42
profile name is not valid'
I have set up two profiles and 3 accounts.
I have run
SELECT [profile_id]
,[name]
,[description]
,[last_mod_datetime]
,[last_mod_user]
FROM [msdb].[dbo].[sysmail_profile]
and copied/pasted the profile name into my stored procedure. I have rebuilt my profiles, and both are members of the 'Data base mail user role'. I am stumped and frustrated. Hopefully some one has some suggestions. Thanks in advance, I really appreciate all the help I get from this forum.
Cheers