Discussions
Categories
- 385.5K All Categories
- 5.1K Data
- 2.5K Big Data Appliance
- 2.5K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
How can I send emails with GMAIL?

Hi,
I have an email that I want to use to send emails (I used it in PHP - Laravel and it worked perfectly), but in APEX I can't send emails and as you can see this is my configuration (I don't know if I am missing something else):
But I see that the mails stay in QUEUE:
This is the PL/SQL block that I am using to check if sending a mail works or not:
begin apex_mail.send (p_to=>'[email protected]', p_from=>'[email protected]', p_subj=>'Welcome Emailer', p_body=>'Welcome to Oracle Apex Sending Emailer Session'); APEX_MAIL.PUSH_QUEUE; end; /
Thx.
Comments
-
As you can see in your configuration, you have to use SSL. Did you put the Google certificate in the wallet?
-
Hi @InoL ,
I think that's what I'm missing, it's in the tab that is next to it if I'm not wrong, because I saw in a blog that you need that Wallet, but honestly I don't know how to implement it (also how to get the Wallet certificate) in Oracle Apex (In Laravel is not necessary the Google certificate) so I'm a little confused.
If you can help me I would be very grateful, thank you.
-
I don't know how to implement it (also how to get the Wallet certificate) in Oracle Apex
You don't implement it in APEX. It is a system wide wallet, not just for APEX. It is typically a DBA task to do this. Are you also the DBA for your database?
It is far easier to use Google than wait for an answer here. Example found using Google:
-
Hi @InoL
Look that better take another SMTP is called Mailjet, but I can not get it to work and I tried it in a TEST SMTP from internet and it works (I get the mail), but with APEX I changed it by the credentials from there and nothing that sends me the mail.
I don't know if I am missing some additional configuration at APEX or DBA level (Wallet, etc).
Thanks.
-
If this SMTP server uses SSL, you still need to configure the wallet.
What errors do you get?
-
Hi @InoL
So if I pay for an SMTP (Mailjet, sendgrid, mailersend, etc) I have to create a wallet? or if I make my own mail server (MailServer, HMAILSERVER) I would have to do the same?
I was thinking of creating my own server with the free Oracle virtual machine and installing AaPanel on it (I still can't install Mailserver).
-
Sorry, I have no knowledge about all these services you are mentioning. Installing your own SMTP server is getting out of scope of APEX.