Receive Emails in Apex

Hi everyone,
Is there any way to receive emails directly into the database using apex?
Thank you,
Alex.

Hi Alex,
in this thread you can find an example of a PL/SQL function (database function) fetching mail from a POP3 server. It still is basic and depending on your needs you might need to extend it.
Re: Read Mail Folder
I've been playing with it some time ago and it works great without JAVA, but there still is some coding to be done. I also recall a package somewhere on the interet which was doing the same but also not finished.
So you won't do this from APEX but direct from the database and coördinate it from APEX.
Regards
Bas
btw if you extend this function I'm always intersted, haven't had the time yet to fine tune it but it would be a great addition to many apps
Edited by: Bas de Klerk on 18-jan-2013 4:21

Similar Messages

  • Receiving email through APEX?

    I'm in the planning stages for an issue tracker, and one of the options I'm considering is doing it in APEX.
    Is it possible to receive email and parse it in APEX?

    Ben,
    have a look at Carsten Czarski excellent description how to write such a Java Stored procedure and how to integrate it into APEX.
    See http://www.oracle.com/global/de/community/tipps/fetch-email/index.html and http://sql-plsql-de.blogspot.com/2007/12/emails-aus-einem-postfach-abrufen.html
    The postings are in German, but if you use for example Google Translate you should be able to get the idea how to do it.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • How to attach an form to email in Apex

    Hi friends,
    I have a form page with three items in a display only manner.......
    In these form region i have a button called submit.......
    If i clicked the submit button means, the form page has to be send as an email to the recipient........How to achieve it friends....
    But inorder to send a report as a email-----> i can do it by clicking Actions------download-----email.......
    so that i can send report as a email.........
    How i can send a form page as an email soon after pressing the submit button to the recipient.....
    Thanks,
    Saro...

    Hi Thomas,
    Sorry for the late reply....
    ya i have captured the form fields, with his details in the email in the display only manner....
    This is the following pl-sql email process that i wrote to send an email.....
    DECLARE
    l_mail_id NUMBER;
    l_body VARCHAR2(4000);
    l_body_html VARCHAR2(4000);
    BEGIN
    l_body_html := '<html>
    <head>
    <style type="text/css">
    body{font-family: Arial, Helvetica, sans-serif;
    font-size:10pt;
    margin:30px;
    background-color:#ffffff;}
    span.sig{font-style:italic;
    font-weight:bold;
    color:#811919;}
    </style>
    </head><body>'||utl_tcp.crlf;
    l_body_html :=
    '<h1>Laptop Request</h1>'||
    'Employee Number: '||:P45_EMPLOYEE_NUMBER||'
    '||
    'Email Address: '||:P45_EMAIL_ADDRESS||'
    '||
    'Designation: '||:P45_DESIGNATION||'
    ' ||
    'PF Contact No:'||:P45_CONTACT_NO||'
    '||
    'Address For Communication: '||:P45_ADDRESS_COMMUNICATION||'
    ' ||
    'Check out Date: '||:P45_CHECK_OUT_DATE||'
    ' ||
    'Project Assigned: '||:P45_PROJECT_ASSIGNED||'
    ' ||
    'Duration From: '||:P45_DURATION_FROM||'
    ' ||
    'Duration To: '||:P45_DURATION_TO||'
    ' ||
    'Status: '||:P45_STATUS||'
    ' || utl_tcp.crlf;
    l_body_html := l_body_html ||'<p>Thank you for your interest in the <strong>APEX MAIL</strong> </p>'||utl_tcp.crlf;
    l_body_html := l_body_html ||' Sincerely,
    '||utl_tcp.crlf;
    l_body_html := l_body_html ||' <span class="sig">The APEX Dev Team</span>
    '||utl_tcp.crlf
    l_body := 'Request for an Laptop'||utl_tcp.crlf;
    l_mail_id := apex_mail.send(
    p_to => '<[email protected]>',
    p_from => :P45_EMAIL_ADDRESS,
    p_body => l_body,
    p_body_html => l_body_html,
    p_subj => 'Laptop Request With Request No' || :P45_DIS_REQ_ID
    apex_mail.push_queue();
    END;
    Ya, i receiving email but everything is like a plain text.........
    It is possible to generate it in an HTML format, so that the form will look as it is like in the application....
    For example:
    If you see in the report means, through Action------->download-------->email
    you can see the reports that generate in an HTML format........
    Im asking in the same HTML format for my form to generate, soon after pressing the Button.........
    Anychanges in the Process to be done in achieving it....
    Thanks
    Saro..

  • Insert Email into APEX

    Dear Experts,
    I want to ask You if you know a simple way to parse email with APEX standart utility and then to insert data from that email into the Oracle table, so that then these data would show up on APEX reports.
    Thank you in advance

    If you're talking about APEX receiving emails, then parsing them into a table, there's nothing built-in to do that. I have worked with Oracle BPEL Process Manager and it has the ability to monitor one or more mail accounts (POP or IMAP), parse incoming emails, then take action on those emails. It's a totally different product than APEX, but it does what you want out-of-the-box. I believe this is even one of the tutorials that ships with BPEL.
    Tyler

  • I cannot receive email properly now. When I open mail, it says that is downloading about 1,700 emails. At the very end, it gives me my newest ones. But this takes a long time. I've contacted the Internet service provider and verified all the right setting

    I cannot receive email properly on either my IPad or my IPhone. I have had them for over a year and they have always worked fine. Until three days ago, when they both started acting up. On the IPad, when I open mail, it says it is downloading about 1,700 emails. At the very end, which takes quite a while to get to, I finally get the most recent ones. The IPad is sending emails just fine.
    On my IPhone, when I open mail, it says it is downloading 100 emails, but it doesn't do that. And it gives me no new emails at all. The IPhone is sending email just fine.
    I have already deleted the email accounts on both devices and reinstalled them. I've contacted the Internet service provider and verified all the right settings. The Outlook email on my desktop is working perfectly.

    WMV is a heavily-compressed format/CODEC, and the processing time will depend on several factors:
    Your CPU, which is not that powerful in your case
    Your I/O sub-system, which is likely a single HDD on your laptop
    The source footage. What is your source footage?
    Any Effects added to that footage. Do you have any Effects?
    Each of those will have an impact on the time required.
    The trial has only one main limitation - the watermark. Now, there are some components, that have to be activated, but are not with the trial, but they would be evident with Import of your source footage, if it's an issue.
    Good luck,
    Hunt

  • Can no longer send or receive email from any account after Security Update

    Hello,
    I have a problem with my email in Mail. I let software update install the latest security update (007) a few days ago. I have not been able to send or receive my email since the update. I have several accounts and use Mail as my client for all. This includes my mac.com account, 3 att.net accounts and my website email. All give me the same error which is an SSL thing and has something to do with the certificates. I am able to receive email if I turn SSL off on the ATT accounts but not the mac.com (and if I try to collect my email with SSL off I get an angry message from ATT warning me I am not allowed to do so) and I cannot send any at all from any account.
    The error message reads "unable to connect- there may be a problem with the mail server or network.... The server error encountered was: Mail was unable to verify the identity of this server, which has a certificated issued to "mail.mac.com". The error was: An SSL error occured while trying to read data from the server. Verify this server supports SSL and that your account settings are correct". It then states that the certificate could not be verified.
    The certificate date on the mac.com account reads May, 29th , 2010.
    I also have an iMac and a MacBook Pro which are also running Tiger. I have not and will not run the security update on these machines until I find out why it has messed up my email on the G5. I can still send and receive email with the exact same account settings on the MacBook so I know it is not the settings but something to do with the Security Update.
    Has anyone else had trouble with this update? Any advice?

    Hello and Welcome to Apple Discussions ...
    I don't know if this is a corrupted preference file or not, but it sure can't hurt to try this.
    If Mail is open, Quit Mail.
    /Users/YourName/Library/Preferences/com.apple.mail.plist
    Drag that .plist file to the Desktop. Launch Mail and see if you can send or receive e-mail. If you can, that .plist file is corrupted. Drag it to the trash, empty the trash and reboot. Your Mac will create a new preference file for you the next time you launch Mail.
    Also... run Disk Utility and Repair Disk Permissions. Disk Utility is in your Applications/Utilities folder. Launch DU, select MacintoshHD 10.x.x in the panel on the left, select the FirstAid tab, click Repair Disk Permissions. Quit DU when it's finished and reboot.
    Carolyn

  • TS3276 I can receive emails, but I cannot send emails. This just started happening. I have an iPhone and I can send emails from my phone fine. It's just not working on my Macbook. Every time I try to send an email it goes straight to my outbox. Can anyone

    I can receive emails, but I cannot send emails. This just started happening. I have an iPhone and I can send emails from my phone fine. It's just not working on my Macbook. Every time I try to send an email it goes straight to my outbox. Can anyone help?

    Thank you for heading me in the right direction.  I reset my Mail account for Outgoing Mail Server to outbound.att.net:(customer ID)@att.net (instead of smtp.att.yahoo.com, per Apple's online troubleshooting information).   I'm not sure what "(Offline)" means when it appears at the end of my Outgoing Mail Server (SMTP)??  In the Advanced box I clicked on "Use custom port:  465" and checked "Use Secure Sockets Layer."  Authentication:  Password; I have correct User Name and Password put in.  After doing all this, when I try to send emails again today, they go directly to the Outbox and sit there. 
    What's curious is that my first sent email this morning did go out using the Outgoing Mail Server, smtp.att.yahoo.com: (customer ID)@att.net(Offline) but subsequent emails I tried to send with this server were rejected with the message:  "Cannot send message using the server smtp.att.yahoo.com (etc.).  The SMTP server doesn't support TLS(SSL) on port 587.  Verify your account settings and try again."  That's when I tried resetting my Outgoing Mail Server to outbound.att.net (etc.), as mentioned above, and was unsuccessful in sending out any further emails.  I guess my next step is to contact my email service provider, AT&T, and see if they can help me.  Thanks, again, for taking the time to respond and for giving me your input!  Much appreciated!

  • TS2621 I cannot SEND email from iPad but I can RECEIVE email!  ERROR message says "your email has been placed in your outgoing mail box.

    Why will my iPad not SEND email but will receive email?

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • TS3899 I can receive email but unable to send or respond on my iPad.  Also if I am relying on my cellular data away from home I cannot send email.

    I can receive email through my local carrier but unable to send emails.  This also applies when I want to send messages..  This just occurred in the last few days.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
    http://support.apple.com/kb/TS1944
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Delete Email on the iPad
    http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
    How to Mass Delete Emails from iPhone and iPad Inbox (with video)
    http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
    How to add, send and open iPad email attachments
    http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iCloud: Create a group and add contacts to it
    http://support.apple.com/kb/PH2667
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &T cellular data plan?

    I can not send email from my iPad .  Have been using it for over a year, all of a sudden I can only receive email.  I have a wifi connection in my home and have a A T &amp;T cellular data plan?

    I have a 1st gen iPhone that I just updated the software to 2.0.2
    Now whenever I press the mail icon it goes to the mail app for about 4 seconds, does nothing, no loading of folders, old messages, nothing.
    Then it reverts back to the home screen. Tried restarting, haven't tried restoring, thought I'd look here first.
    Anyone???

  • I cannot send email on my iMac from Mac Mail.  The account shows that it is offline.  I've recently updated to Yosemite.  I can, however, receive email.  What can I do to fix this problem?

    I cannot send email on my iMac.  I have recently updated to Yosemite.  I don't know if that is the problem or not.  However, I can receive email on all of my email accounts, but cannot send.  It shows that my accounts are offline.  How do I fix this?

    Have you received any tips on how to fix the problem yet?

  • Can receive email

    Since the latest update
    I cannot send emails from my email icon on my iPad, but I can receive ok.
    I am able to both send &amp; receive emails via my sky/yahoo account
    Any ideas
    But I am not very technical minded
    Please help,

    Can anybody help me please

  • Cannot receive email from Yahoo

    I have 2 POP email accounts from Yahoo. Both have worked fine for about a year. All of the sudden on Nov 1st, I can no longer receive email only on one of the accounts with Mac Mail. The second account continues to function fine. I also have no issues accessing my mail through a browser.
    So far I have done the following;
    -I have verified with yahoo that all the settings are correct.
    -I deleted the first account with the problem and then recreated it. When I did this it downloaded ALL the email messages on the server but only up unitl Nov 1st when I started having the issue. I received no email messages sent after Nov 1st.
    -I set-up the email account on a Win XP box (same network) with Outlook Express and was able to download ALL the messages including ones after Nov 1st.
    Any help would be appreciated. Thanks!

    I went into Yahoo webmail and deleted a few emails on the date when I stopped receiving email. Magically, all my subsequent emails were were delivered to my MAC email client. One of the emails must have contained something that created an issue for Macmail. I have had no problems since.

  • Gmail on iPhone4: can receive email but cannot send email

    I am using a brand new iPhone 4 with iOS 5.0.1. I can receive emails from Gmail without any problems, but when trying to send emails I get the error message "the connection to the outgoing server 'smtp.gmail.com' failed. Additional outgoing mail servers can be configured in settings..."
    After spending many (!!!) hours on this, I suspect it comes down to one setting in "mail, contacts, calendar", then gmail account information > outgoing mail server > smto.gmail.com; authentication is preset on "MD5 Challenge". This text is grey and cannot be altered. I assume the setting must be "password" instead, but how the *** can I change this?
    Desperate. Please enlighten me!
    Merry Christmas!

    I solved my problem.  Thanks razmee209 for your response. 

  • I cannot send email over 3G. Receiving email is ok. Using wifi from my landfibre allows me to send email. No idea where to find the solution. Suggestions please. Thanks ia

    I cannot send email over 3G. receiving email over 3G is ok. Using wifi from my landline (glass) is ok. No idea where to find the solution. Suggestions please. Thanks i.a.
    TheOne

    You need a DATA service enabled by your carrier to be able to send e-mail via thier network.  Do you have a data plan with your carrier ?  If so - is it enabled ?
    Can you access internet thru your network (not wifi) ?

Maybe you are looking for

  • I keep getting:"Sorry, an error has occured."

    I have Windows 7 (32 bit) installed on my Dell Laptop. Here's the error I keep getting: Market Samurai Sorry, an error has occured. The application could not be installed because the installer file is damaged. Try obtaining a new installer file from

  • Error while consuming CAF Web Service in ABAP

    Hi experts, I need to consume a CAF Web Service in ABAP 7.0. While trying to generate the Proxy Object in SE80 it is thowing an error "Proxy generation terminated: WSDL error. (<extension> not supported)" and terminating the Proxy generation. Can any

  • Send spool id output (sap script) via email in PDF format

    Dear friends, Looking for sample program to send spool id output of sapscript via email in PDF format. Regards, Praveen Lobo

  • Semi-New Mac owner need help please!

    I have had my Mac for a couple months now and I haven't experimented with all the applications yet, when I tried to open iChat all that it does is the little light underneath it turned on and nothing popped up. I don't know if I need to download anyt

  • Is the apple TV the product for me?

    I think what I want to get is an Apple TV - However, I am not sure, and I would be looking for different features than the norm (including what is on the info pages) I want something to play music and videos.  I have Bose Speakers hooked up to my air