Using APEX mail with a remote MS Exchange SMTP host
peternrMay 1 2012 — edited May 24 2012We are trying to configure APEX mail to use our company's main mail server (MS Exchange), sending mails via apex_mail.send from pl/sql.
The APEX instance settings can be set via <APEX admin URL>, Home -> Manage Instance -> Instance Settings --> Email.
When using "localhost" (Linux sendmail) as the "SMTP Host Address" apex_mail works fine.
However, setting "SMTP Host Address" to the Exchange server host name results in different errors (shown in the APEX Mail Queue).
Our Exchange administrator has allowed "anonymous" access, so we have tried both with and without username/password
- without username/pw, use ssl/tls=no:
ORA-29279: SMTP permanent error: 530 5.7.1 Client was not authenticated
- without username/pw, use ssl/tls=yes:
ORA-28862: SSL connection failed
- without username/pw, use ssl/tls=After connection is established:
ORA-29024: Certificate validation failure
- setting "SMTP Authentication Username" and "SMTP Authentication Password" to a valid Exchange mail account:
ORA-24250: No supported authentication scheme found
Any suggestions?
Thanks,
/Peter