Send email: Difference between revisions

Content added Content deleted
m (SQL PL misplaced)
Line 1,491: Line 1,491:
UPDATE DB CFG FOR myDb USING SMTP_SERVER 'smtp.ibm.com';
UPDATE DB CFG FOR myDb USING SMTP_SERVER 'smtp.ibm.com';


CALL UTL_MAIL.SEND ('senderAccount@myDomain.com','recipientAccount@yourDomain.com', NULL, NULL, 'The subject of the message', 'The content of the message');
CALL UTL_MAIL.SEND ('senderAccount@myDomain.com','recipientAccount@yourDomain.com', 'copy@anotherDomain.com', NULL, 'The subject of the message', 'The content of the message');
</lang>
</lang>
Output:
Output: