Sending mail from apex appliocation

Dear friends
Can anyone please tell me how to send mail from apex application to outside mail like gmail or yahoo
i have one report created which i want to send it to my mail from apex
Please hepl me....

If it is an interactive report that you are try it on, you could probably use subscriptions to get the report to your email.
Thanks

Similar Messages

  • Problem sending mail from APEX...

    Hi everybody,
    I've looking for how to send email from my APEX application; I've been reading the forum and I've done a testing using the APEX_MAIL.send procedure. I don't know exactly how the APEX_MAIL works but it seems that my code should work. Unfortunately, it doesn't work... I should receive emails but I don't receive any of them.
    DECLARE
    l_body CLOB;
    BEGIN
    l_body := 'Thank you for your interest in the HTMLDB_MAIL package.'||utl_tcp.crlf||utl_tcp.crlf;
    l_body := l_body ||' Sincerely,'||utl_tcp.crlf;
    l_body := l_body ||' The HTMLDB Dev Team'||utl_tcp.crlf;
    APEX_MAIL.send(
    p_to => '[email protected]', -- change to your email address
    p_from => '[email protected]', -- change to a real senders email address
    p_body => l_body,
    p_subj => 'HTMLDB_MAIL Package - Plain Text message');
    wwv_flow_mail.push_queue(
    P_SMTP_HOSTNAME => 'localhost',
    P_SMTP_PORTNO => '25'
    EXCEPTION WHEN OTHERS THEN htp.p('Error');
    END;
    I execute it and there is no exception; it appears the "Procedure executed" message, but I don't receive the emails.
    Maybe I am doing wrong the push_queue process? Maybe the Hostname is wrong? Should I do something else in APEX to send the mails?
    Thank you very very much
    Message was edited by:
    sergicloser

    Hello,
    >> I'm not running on a local instance, but connected to a server.
    By local instance I meant not on apex.oracle.com. In that case, configuration issues should be considered.
    >> I've just run the SQL: Select * from apex_mail_queue
    and it has returned no data... This means that there is no emails in the queue, is it?
    The system will try to successfully send your e-mail for 10 times. If all these attempts failed, the e-mail will be removed from queue. You should send your e-mail prior to running the SQL query.
    >> The code doesn't return any error message.
    Error message will only be recorded in the queue log, which can be viewed using the apex_mail_queue view.
    >> It seems that I have a configuration problem maybe?
    That may be the case. The APEX_MAIL package is built on top of the Oracle supplied UTL_SMTP package, which must be installed and configured on your database. Is this the case with your system? (the error message in the apex_mail_queue will give you a clear indication of that).
    Regards,
    Arie.

  • Sending mail from apex application

    Hi Everyone
    I configured the APEX mail settings,
    when I am sending the mail from DATABASE by UTL_MAIL by(SQLPLUS) logging in as sysdba the mail is sending,but if I use in apex SEND E-mail process its not sending the mail,
    In ADMIN side,Manage Instance-->Mail queue I checked and clicked the SEND ALL MAIL,
    simply it showing as "mail sent" but am not receiving any mail,and also there is no ERROR(Error field is blank)
    What willl be the problem and where can I check it,or what is the alternative way?kindly help me.
    Thank you.
    Regards,
    Sabyasachi

    Hi,
    Have you configured email to your instance?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#sthref258
    Depend your database version, do you have give needed ACL?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#BABBHCID
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#CBHBJDDE
    Have you check mail log and queue if there is some useful info about problem?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#sthref307
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Sending Mail from APEX

    hi ,
    we use : Application Express 4.1.1.00.23 with database 11.2 express edition
    i am facing a problem when sending email from my application
    when i go to mail queue from " administraion service" i recive error :
    ORA-29278: SMTP transient error: 421 Service not available.
    i have Enabling Network Services in Oracle Database 11g alredy by running some scripts for Granting Connect Privileges from site : http://docs.oracle.com/cd/E10513_01/doc/install.310/e10496/otn_install.htm#BEHGBHDF
    also i have test the mail server by using telnet XXXXX.XXX.com 25 and it have been connected with not problems.
    Please help !
    Thanks
    Hammam

    Hi,
    Have you configured email correctly?
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#sthref258
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Issue in sending mails from Apex -Please help

    Getting following error while processing the statment.
    ORA-01403: no data found
    Statement processed.
    create or replace procedure proc_bgv_email_accept as
    id_email number;
    l_startdate date;
    l_vacancy varchar2 (300);
    l_declinedate date;
    l_emailsenddate date;
    today_date date;
    accepted_date date;
    l_id NUMBER;
    candstat varchar2(3);
    l_subject VARCHAR2(255);
    l_body CLOB := '';
    -- ' HTML enabled mail client.' || utl_tcp.crlf;
    l_body_html CLOB;
    l_mgr_emailid varchar2(255);
    l_candid_emailid varchar2(255);
    l_from_emailid varchar2(255) :='[email protected]';
    begin
    select sysdate into today_date from dual;
    for cur1 in (select ID,candidate,hiring_manager,vacancy,hiring_manager_email,candidate_email from bgv where upper(trim(change_reason))=upper(trim('Offer Accepted by Applicant')) and to_char(dataload,'mm/dd/yyyy')=to_char(sysdate,'mm/dd/yyyy'))
    loop
    select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N') into id_email,l_emailsenddate,candstat from email_sent_log where id=cur1.id;
    select nvl(proposed_start_date,'8/28/1983'),nvl(REJECTION_DATE,'8/28/1983') into l_startdate,l_declinedate from bgv where id=cur1.id;
    l_subject:='Please confirm';
    l_candid_emailid :=cur1.candidate_email;
    l_mgr_emailid :=cur1.hiring_manager_email;
    l_body_html:='<html>
    <link rel=stylesheet href=http://aru.us.oracle.com:8000/olaf/css/aru_blaf.css type="text/css">
    <body>
    <span>
    <table border=0 cellpadding=0 cellspacing=0 width=800>
    <tr>
    <td class=OraBGAccentDark height=1><img src=http://aru.us.oracle.com:8000/images/clear_dot.gif></td>
    </tr>
    <tr>
    <td class=OraInstructionText><font face="Georgia">
    Dear'|| cur1.candidate ||' </b>,<p/></p>
    Please confirm your LOV
    <p/><p/>
    Best Regards,<p/>
    Raj</p></font></td></tr>
    </table>
    <tr>
    <td class=OraBGAccentDark height=1><img src=http://aru.us.oracle.com:8000/images/clear_dot.gif></td>
    </tr>
    </span>
    </body>
    </html>';
    l_id := APEX_MAIL.SEND (
    P_TO => l_candid_emailid,
    P_CC => l_mgr_emailid,
    --P_BCC       => '[email protected]',
    P_FROM => l_from_emailid,
    P_BODY => l_body_html,
    P_BODY_HTML => l_body_html,
    P_SUBJ => l_subject);
    APEX_MAIL.PUSH_QUEUE;
    end loop;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    end;
    Edited by: user771319 on Feb 29, 2012 9:05 AM

    the error could be here:
    select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N') into id_email,l_emailsenddate,candstat from email_sent_log where id=cur1.id;replace that line with:
    begin
        select nvl(id,0),nvl(EMAILSENTDATE,'8/28/1983'),nvl(rejcand,'N')
        into id_email,l_emailsenddate,candstat
        from email_sent_log
        where id=cur1.id;
    EXCEPTION
        when NO_DATA_FOUND then
            id_email := 0;
            l_emailsenddate := to_date('08/28/1983','MM/DD/YYYY');
            candstar := 'N';
    end;

  • How to send  Mail from APEX 4.1?

    Dear all,
    In APEX 4.1,
    I have a form based on the Leave_table,
    it has 5 fields,
    If the user filled all the fields and if the user clicks the APPLY/SUBMIT button the Data will be stored into the LEAVE_table ,
    Is this Possible to send the mail with the data entered as a report to a particular (manager)mail_id?
    and also the mail to contain two link/button to REJECT or APPROVE the leave applied ?
    Can anyone give me the solution?
    Thank you.
    Regards,
    Gurujothi.

    [APEX_MAIL|http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_mail.htm]

  • Sending mails form apex

    Can anyone help me how to send mails from apex to multiple users..
    Thanks,
    Srini

    Hi Srini,
    Have a look here: http://download.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/api.htm#CHDDHBGI
    You can use a comma between the mail addresses in the to and that should send the mails to multiple people.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • How to Send e-mail from APEX

    Hi all,
    We are using Apex 3.1 on Windows Platform,
    Could any one please provide the Steps for Configuring " Sending e-mail from APEX "
    many thanks
    Edited by: khaja on Jan 18, 2009 11:10 AM

    Hello,
    >> Could any one please provide the Steps for Configuring " Sending e-mail from APEX "
    The APEX document is including specific details on that - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/advnc.htm#BABJHJJF .
    Also, the following thread might also help you in some general information and example - HTMLDB_MAIL.SEND P_BODY .
    Regards,
    Arie.

  • Cannot send mail from mac mail or Entourage

    Hi guys,
    Wondered if anyone out there can shed some light on this little problem.
    I use Entourage for my emails & all was working fine until yesterday. I can receive mail from all and sundry but I can't send anything. I subscribe to ntlworld internet service and if log onto my email through their webmail, then it's fine. I've tried sending mail from mac mail and I get the same problem. I've been onto microsoft support & gone through all the troubleshooting with Entourage. The Entourage techy suggested it was my internet provider blocking my emails as they think I'm a spammer?? I phoned ntl & they insist it's nothing to do with them as I can send/receive from the website. (If I send an email with the address @ntlworld it's fine, but any other address i.e. all my clients/mates etc just stays in my outbox.
    Nothing on any of my settings has changed so I'm at a loss what to do next.
    Any suggestions greatly appreciated.
    Thanks, Mel

    it may be that your server (internet provider) has just started blocking outgoing mails not authenticated by them.
    Go to your account set up...
    and fill in the following details.
    SMTP SERVER: smtp.mac.com
    then click on advanced sending otions...
    click on override default SMTP port... type 587
    click on SMTP servber requires authentication...
    use same setting as receiving mail server.
    try this...

  • Cannot send mail from my ipad

    I cannot send mails from my ipad, I have checked settings with my mail server and they tell me that everything is OK, they don't know what may be causing the problem, any ideas?

    TBS2.
    There is no way for anyone to know if your problem is identical to the problem reported by maria_diaz. She didn't mention anything about getting the "relaying" message. I suggest you start a new question that gives a good title to a specific problem. Then in the body of the thread describe the problem in detail, tell us what steps you have tried so far to correct the problem, what happened, and what error messages you received.

  • Cannot send mail from any mail account

    I have a Mac Mini, late 2014 model, running OS X Yosemite version 10.10.2.   I have constant difficulty sending mail from any of my mail accounts; these are iCloud, Googlemail, Yahoo and a personal one which uses 123-reg.co.uk.  I am currently located in Greece, but have been having trouble for ages, even in the UK.  I can receive mail, but I don't seem able to send it.  Error message is usually simply cannot send mail using this server, select a different server.  However, when connection doctor is run, all servers appear to be connected and I am logged in.  Any ideas please?

    rosiehwilson wrote:
    Hi, not sure why that is relevant, but we arrived at the end of January this year.  Here is a screen shot of a recurring problem, although in this case Gmail is not connected to the internet, which it usually is.  Hope this helps.
    Your outgoing Gmail servers not working, everything else seems OK.
    So, what is not working for you (other than Gmail Sending)

  • Unable to send Mail from POP account

    I have an Iphone 4 and have upgraded the IOS from 5-1 to 6.1.3. Since then I have been receiving all my mails but i have been unable to send mails from my POP account. the notification "Cannot Send Mail. A copy has been placed in your Outbox. The receipient, "xxyyzz @ gmail . com " was rejected by the server" displayed. Please Help. the same thing happens when I configure my POP account on my Son's Iphone4, and there is no problem in receiving and sending mails from my Outlook. Please Help!!!!!
    Can i revert back to IOS5.1.1?????

    Contact your email provider and get the correct settings to use for the outgoing mail server (SMTP) on a mobile device. If it's email provided by your ISP, they have likely blocked email from outside their network from relaying to prevent spam.

  • Cannot send mail from .mac account in Entourage

    I am a new mac user so my troubleshooting skills are very weak. Until about one week ago, i was able to send mail from both my hotmail account and my .mac account. Now, i get this error (just on my .mac account):
    An operation on the server timed out. The server may be down, overloaded, or there may be too much net traffic.
    i read through much of the support articles, but did not find my specific error. can anyone help??
    thank you
    mknz
    MacBook Pro   Mac OS X (10.4.7)   new mac user
    MacBook Pro   Mac OS X (10.4.7)   new mac user

    it may be that your server (internet provider) has just started blocking outgoing mails not authenticated by them.
    Go to your account set up...
    and fill in the following details.
    SMTP SERVER: smtp.mac.com
    then click on advanced sending otions...
    click on override default SMTP port... type 587
    click on SMTP servber requires authentication...
    use same setting as receiving mail server.
    try this...

  • Cannot send mail from Exchange 2013 to Exchange 2007

    I have an
    Exchange 2007server with all roles in the same server (Version:
    08.03.0327.001 ) on a Windows 2008 R2 server. I have now installed two Exchange 2013 servers both with CAS and MBX roles on Windows 2012 servers
    (full patched). There is also a DAG between the new servers. All mail goes through a BorderWare besides the internal mail.
    I can send mail from both environments to the Internet. I can also send internal mail from Exchange 2007 to Exchange 2013.But the problem is that I am unable to send from Exchange 2013 to Exchange 2007. I've debugged, but not solved the problem and there are
    few articles on the Internet.
    Any suggestions?

    These two sentences are in conflict : "I can also send
    internal mail
    from Exchange
    2007 to
    Exchange 2013. But
    the problem is
    that I am unable
    to send from Exchange
    2007 to
    Exchange 2013. "
    Can you describe what is your real problem? Flow from E2007->E2013? Or vice versa?
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Damir

  • "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    lots of people seem to be havgin a problem sending email from iCloud webmail.
    does your email address have uppercase characters in it?
    if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that

Maybe you are looking for

  • Error while starting the workbench server.

    I am trying to get familiar with endeca product. While working with endeca information discovery everything seems to be working fine according to their documentations. but when I am doing endeca guided search , there seems to be some problems.Current

  • 2nd Gen iPod Touch Doesn't Charge at all

    2nd Gen iPod Touch Doesn't Charge at all, not on pc or mac or wall or anywhere. I need the information on it, last time it was backed up was 2 years ago,cracked glass and bad headphone jack. can Apple help me get my info out of it? it is out of warra

  • Lumia 620 screen freezing problem

    i have a lumia 620 and i update it through the phone settings OTA, after restart the screen remains freeze at the start lockscreen nothing works exept side buttons.. and thats not all before 620 i had a 520 wich is a **bleep** piece, same problems wi

  • File Corrupted in E-Mail Set up N97

    I just bought a used N97 on ebay to replace mine which was lost. So far it hasn't been plain sailing syncing from my pc. One of the problems I have is in email set up, where I want to sync my Gmail account I go to the set up. I get "preparing install

  • Why do my nested compositions have worse video quality each nested layer I add?

    Using AE Mac v.13.2.0.49 with h.264 mpeg-4 footage, 4 compositions deep. Preserve Nested Resolution is on for compositions using original footage. Footage in original comp - this comp has "preserve nested resolution": once nested: twice nested: thric