DECLARE
l_connection utl_smtp.connection;
BEGIN
l_connection := utl_smtp.open_connection(host => 'mailhost.xyz'
,port => 25
);
utl_smtp.ehlo(l_connection
,'mailhost.xyz'
);
utl_smtp.auth(l_connection
,'testuser@mailhost.xyz'
,'mypassword'
);
APEX_MAIL.SEND(p_to => 'testuser@mailhost.xyz'
,p_from => 'testuser@mailhost.xyz'
,p_subj => 'test'
,p_body => 'test'
);
END;
- 0 Users Found This Useful