-
1. Re: How to configure apex with gmail for sending mail
Mike Kutz Dec 13, 2017 2:09 PM (in response to 3563593)hmmm...
- ACL entry
- possible login credentials
- send only to gmail.com emails (ie you can't use gmail.com to "proxy" emails to non gmail accounts without logging in first)
- The "from" address matches the address you used to login (if you are logging in)
- if not "gmail.com", the domain in the "from" address has a DNS entry.
- This value may need to match a reverse DNS lookup.
- The mail server's HELO needs to be legit
- The mail server may need to be using EHLO instead
- your server is not on any of the DNS-blacklists
- emails aren't heuristically classified as SPAM
- etc.
You don't need all of them (except ACL entry -- start there)
It really is all about your email infrastructure.
... and proving to the remote server that you aren't a spammer.
MK
-
2. Re: How to configure apex with gmail for sending mail
InoL Dec 13, 2017 3:40 PM (in response to 3563593)Also important: what is your Apex version? Check the documentation for your specific version. E.g. for 5.1:
APEX_MAIL.PUSH_QUEUE( p_smtp_hostname IN VARCHAR2 DEFAULT NULL, p_smtp_portno IN NUMBER DEFAULT NULL);
Note that these parameter values are provided for backward compatibility, but their respective values are ignored. The SMTP gateway hostname and SMTP gateway port number are exclusively derived from values entered on the Manage Environment Settings when sending email.
So, your parameters ('smtp.gmail.com',465) are ignored. You have to setup your smtp connection via your workspace.
-
3. Re: How to configure apex with gmail for sending mail
3563593 Dec 13, 2017 5:22 PM (in response to InoL)Hi
I made the setups in my workspace but i am not able to send the mails.My Apex version is 5.1
-
4. Re: How to configure apex with gmail for sending mail
InoL Dec 18, 2017 1:33 PM (in response to 3563593)1. Go through Mike's list.
2. Check the Apex mail queue for errors.
-
5. Re: How to configure apex with gmail for sending mail
Zambrtp72 Apr 9, 2018 6:17 PM (in response to 3563593)Were you successful in sending email via GMAIL. ? DID MIke's list help?
-
6. Re: How to configure apex with gmail for sending mail
3563593 Apr 10, 2018 5:40 AM (in response to Zambrtp72)Hi Zam,
No i am not able to figure it out.