Hi,
Mail session working fine with sysadmin user sa, etc
after connect SQL user test mail seesion is not working.
I try to add username as blow is not hope.
exec msdb..sp_addrolemember @rolename = 'DatabaseMailUserRole'
,@membername = '<myuser>';
an error occurred:Msg 15014, Level 16, State 1, Procedure sp_addrolemember, Line 36
The role 'DatabaseMailUserRole' does not exist in the current database.