error
- New
- Advice
-
Aleks Radovic
- PowerServer
- Tuesday, 23 December 2025 03:44 PM UTC
DECLARE posalji PROCEDURE FOR msdb.dbo.sp_send_dbmail
@profile_name = 'erp_posnovni',
@recipients = 'aradrad@gmail.com',
@subject = ' ',
@body = ' ',
@body_format = 'TEXT' using sqlca;
EXECUTE posalji ;
IF SQLCA.SQLCode <> 0 THEN
MessageBox("DBMail error", "SQLCode=" + String(SQLCA.SQLCode) + "~r~n" + SQLCA.SQLErrText)
ELSE
MessageBox("SendMail", "Mail successfully sent!")
END IF
CLOSE posalji;
error
At least one of the following parameters must be specified. "@body, @query, @file_attachments, @subject".
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.