P - Track Application sends do not mail

I use the P-Track on APEX 4.2.2 application w / gateway Embeded PL/SQL Oracle 11.2.0.2 DB. Whenever I try to send a report by e-mail from the application it says it was sent successfully, however no email is received. Whenever I have check the queue of e-mail APEX I see with the following error messages:
ORA-29279: SMTP permanent error: 501 5.1.7 address not valid
I tried "[email protected]" and "apexuser" (valid user of the APEX) format but none work.

I can send email from APEX successfully but not the application.

Thank you
Leighton

Published by: LeightonLNelson on May 13, 2013 13:11

In the diagrams with ptrack, I created this function to be called by the apex (I preceded it EBA for that I would easily identify this as part of the apex packaged, applications as they do their code) with the string 'people ': comma-delimited

create or replace
FUNCTION  EBA_VALIDATE_EMAIL
  (p_email      IN  VARCHAR2
  ,p_domain  IN  VARCHAR2 DEFAULT '@yourdomain.org')
  RETURN VARCHAR2 IS
  lt_emails  apex_application_global.vc_arr2;
  email_string varchar2(4000);

BEGIN
  -- split string into separate addresses
  lt_emails := apex_util.string_to_table(p_string    => REPLACE(p_email,' '), p_separator => ',');
   FOR i IN 1..lt_emails.COUNT LOOP
    if (instr (lt_emails(i), '@')=0) then -- no at sign, so lets append the default domain or the passed domain
      lt_emails(i):=lt_emails(i) || p_domain;
    end if;
    email_string:=  email_string || ',' || lt_emails(i); -- assemble the new list
  END LOOP email_val;
  return substr(email_string,2); -- remove leading comma and return the new list
END EBA_VALIDATE_EMAIL;

That is to say, entry could be "Joe, [email protected], [email protected], frank, ron" and he'd be back * "[email protected], [email protected], [email protected], [email protected], [email protected]."

In any apex application, but in this case P-Track, I wrap the page with the function variable in the process of the page where the email is sent, inside the apex_mail_send calls: at Page 20, 37 and 85 - I did not other changes:
* (this is an excerpt from P20) :*

declare
   l_clob clob;
   l_message varchar2(4000);
   l_to varchar2(64):=:P20_TO;
   l_from varchar2(64):=:P20_FROM;
   l_cc varchar2(64):=:P20_CC;

begin
for c1 in (select clob001 from apex_collections where collection_name = 'EMAIL') loop
l_clob := c1.clob001;
l_message := nvl(:P20_MESSAGE,'');
l_clob := ''||l_message||l_clob||'';

APEX_MAIL.SEND(
    p_to => eba_validate_email(l_to),
    p_from => eba_validate_email(l_from),
    p_body => nvl(to_clob(l_message),''),
    p_body_html => l_clob,
    p_subj => :P20_SUBJECT,
    p_cc  => eba_validate_email(l_cc),
    p_bcc   => null,
    p_replyto => l_from);

apex_mail.push_queue;
end loop;
commit;

It of simple and not otherwise very surprising, but it works wonders for us. All of our users are authenticated via ldap, and none of them as owners of AD or otherwise throughout the apps are known as whomever@domain... as anyone. It was a must have, but he also fixed the issue for me is that I think that you are having with the invalid OF not having a domain.

That said, I also changed the assignment of the: P20_FROM which is view only on this page - either a plsql function body.

return lower (:APP_USER);

.. but it could have been forced in the process of the code block too, or otherwise I could have not used a call to apex_mail_send, but my send e-mail feature and enter the APP_USER he... etc. etc. etc. (so many ways to achieve the same result)

Tags: Database

Similar Questions

  • I get this notice when I try to send an e-mail: Windows Live Hotmail was not able to complete this application. Microsoft may contact you regarding any issue you are reporting. When I use Safari, I have no problem. in English

    I get this notice when I try to send an e-mail: Windows Live Hotmail was not able to complete this application. Microsoft may contact you regarding any issue you are reporting. When I use Safari, I have no problem.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Firefox > Preferences > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox > Preferences > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Check that my professional e-mail on her internet-only do not reply or send new e-mail messages

    When I check my WORK email on the internet, it doesn't let me reply or send new e-mail messages.  This seems to be a problem in Windows Vista.  I have windows xp on my laptop and it works fime.  There are many of us in the office who have Vista Home and we all have the same problem.  When you try to reply or send the new message, the body of the e-mail is gray.  You can put the e-mail address and subject, but that's all.  Help, please!  Thank you!

    A form is usually used by a web mail application any javascript or Java to do the sending. If you do not have Java installed, I'd go the the http://java.com to the site and download it. It is also possible that your IT pro has Setup Exchange server in your workplace, and you need installed to manage your mail. Without knowing what it does, it will be hard you send you responses.

    There are settings in the browser Options, depending on whether one. IE menu Tools, Options, Advanced tab, check boxes enable the use of javascript functions. A high security framework would disable those.

    Messages rating helps other users

    Mark L. Ferguson MS - MVP

  • Programs Office can not send as e-mail

    When I try to send a document from the office of the function of the 'Share' document under file, I get an error message that says:

    "There are no associated messaging program to perform the requested action. Install an e-mail program or, if such is already installed, create an association in the default programs control panel. »

    Then, you click ok and he says:

    ' Word couldn't send mail because of MAPI failure: "Unspecified error"

    I tried to combine the email application in the default programs control panel, but I don't think I did it right. It is not an easy to use interface.

    Help, please.

    Hello Melrimba,

    The Mail app is only an application, it is not a mail client program installed, you do not have an option to select default. In RT Windows, you must open the email first, then select the attachment.

    If you use Office Web Apps on SkyDrive IE10 modern, then you have an option to bring up the charms and select share, which allows you to access the Mail app in the document.

  • Hi, lost all my favorites... won't let me sign in the habit/recognize the password... will not send confirmation e-mail. WTF... Please help fast.

    Hi, lost all my favorites... won't let me sign in the habit/recognize the password... will not send confirmation e-mail. WTF...

    Please help, I just changed to Chrome and it's my first experience...

    Do you know why your bookmarks have disappeared?

    What the rest of the profile?

    Look at your desktop. You see a folder called; Old Firefox?

    https://support.Mozilla.org/en-us/KB/recovering-important-data-from-an-old-profile

    https://support.Mozilla.org/en-us/KB/back-and-restore-information-Firefox-profiles

    Start Firefox in Safe Mode {web link} by holding down the < shift >
    (Mac options)
    key and then from Firefox. Is always the problem?

  • Today I can not open e-mails or send an e-mail

    I have an IMAC, OSX, El Capitan; Today, I am unable to open e-mail messages, not all, and I can't send an e-mail. I tried to delete the emails that I don't want and they pop back up like New email. What happens here?

    With the Mail from Mac app open go to the menu bar, and then click window > connection doctor

    Use Mail connection doctor - Apple Support

  • F &amp; G Committee &lt; ' F &amp; G Committee' &gt; is not a valid e-mail address because it is not the form user@host. You need to correct before sending the e-mail message.

    Out with the new v.31.1.0, the: 2 September 2014 version of Thunderbird, I can email is no longer a list of recipients, getting the error msg: F & G Committee < ' F & G Committee' > is not a valid e-mail address because it is not the form user@host. You need to correct before sending the e-mail message. In earlier versions, the addresses of individual e-mail in the list (F & G Committee in this case) are automatically placed in as the e-mail is sent. Is there a solution to this problem?

    Read this.
    https://support.Mozilla.org/en-us/questions/1019019

  • Group addresses not added when sending of e-mail - name of group only

    Just helping a friend use Thunderbird on a new PC with Win 7 Prof Previously used Outlook Express on Win XP.

    Downloaded latest version of Thunderbird. Old as any wab file suggested using "morefunctionsfor...". ». The old address book (full) has been imported correctly a new Thunderbird addressbook. It contained several groups. Each one is properly listed under the new address book, and they also appear in the new address book. By clicking on any group correctly displays the list of addresses for this group.

    However, if one selects a group and send an e-mail to this group ONLY the group name is displayed in the field and the email fails to send. Looking at the contents of the address field shows only the name of the Group and NOT addresses are included.

    Thank you

    I just discovered by accident how to circumvent the problem of group.

    1. open Thunderbird AddressBook;
    2. Select the desired group;
    3. click on the button "Write" address book.

    This will open a message window with all members of the group listed as beneficiaries.

  • "Problems with Outlook Express" the message could not be sent because the server rejected the sender's e-mail address.

    On outlook express, I get the following error message "the message could not sent because the server rejected the sender's e-mail address. How can I eliminate this problem, please?

    I can find no trace messages claim are waiting for shipment.

    Unsent Mail file, do you mean the Outbox? Check: File | Work offline and in: reviews | Layout: uncheck the preview pane and delete the messages. Otherwise, delete the Outbox.dbx file in the message store.

  • If you use Hotmail, I try to send an e-mail, I get a message error that says 'attachment Id has wrong format", and if the message will not be sent.

    "Attachment Id has wrong format", we hear wat!

    If you use Hotmail, I try to send an e-mail, I get a message error that says 'attachment Id has wrong format", and if the message will not be sent.  I use the Google Chrome or internet explore and cannot send new or respond to emails without getting the same message... help plsssssemai

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • My outlook express does not work. Whenever I try to send an e-mail, it gives me this answer: "windows" host could not be found.

    Outlook Express problems

    My outlook express does not work.  Whenever I try to send an e-mail, it gives me this reply:

    The "windows" host is not found. Please check that you have entered the server name correctly. Account: 'windows', server: 'windows', Protocol: SMTP, Port: 25, secure (SSL): no, Socket error: 11001, error number: 0x800CCC0D.

    I don't know what that means or how to change it.  If anyone knows how to explain how to solve this problem, I would be very happy comments. Thank you!

    Who is your mail server? Usually, what is after the @ in your address. Windows is not a host name, account or server.

    Setting up email in Outlook Express servers:
    http://www.Microsoft.com/Windows/IE/community/columns/mailserver.mspx

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Outlook 2003 is not sending/receiving e-mails

    When I press send/receive all goes through, as there is no problem.  There is no error message.  The only error message I get is when I turn on and outside outlook.  I don't have a copy of this error message

    Original title: my Mirosoft Outlook 2003 is not sending/receiving e-mails. On the bottom of the screen, it shows that the emails are coming, but they do not appear in my Inbox. I know that my POP/SMTP and the internet are all working properly.

    I get the error (0 x 80042109) - Outlook cannot connect to your mail server outgoing (SMTP).  Am no computer wiz, so need simple answers.  Can someone help here?  Or maybe delayed retirement!

    http://support.Microsoft.com/kb/813514

  • I have a question regarding windows mail. I was send and receive mail with no problems until last Thursday. I can still receive mail, but I can not send.

    / * moved from answers Feedback * /.
     
    I have a question regarding windows mail. I was send and receive mail with no problems until last Thursday. I can still receive mail, but I can not send. My email is with bellsouth.net and comes in my computer through windows Messaging.  I spent an hour and a half on the phone with bellsouth, and they say that the problem is with my windows mail.  I tried to use a restore date, and that did not help either. I will post a copy of this message, as I keep getting.  Your server suddenly put an end to the connection. The possible causes for this include server problems, network problems, or a long period of inactivity. Object 't', counts: 'mail.bellsouth.net', server: 'mail.bellsouth.net', Protocol: SMTP, Port: 25, secure (SSL): no, error number: 0x800CCC0F thanks for any help.

    Sometimes, WinMail settings get screwed up and you must remove the account and then add it back back.  Make sure first that the antivirus software not interfere (see www.oehelp.com/OETips.aspx#3).   Delete your account completely, then close WinMail.  Then compact and repair the database of WinMail (see www.oehelp.com/WMUtil/).  Add your account to mail back once again, and then make sure you have the correct settings under Tools | Accounts | Mail | Properties | Servers and | Advanced to what AT & T Specifies to WinMail (or OE).  Then see if it works.

    Steve

  • I can access the internet but can no longer send or receive mail. I get a message that the POP 3 Server has not responded.

    I can access the internet but can no longer send or receive mail. I get a message that the POP 3 Server has not responded. Nor do the SMPT server. 0x800CCC19 error number is given in both cases. I have no help when I type the error number in the help Windows Mail. How can I solve this problem?

    original title: can't send or receive emails.

    Tools > accounts > select your account > properties > Server tab, ensure that 'Connect with password' is not enabled.

    Or you might want to try the new port settings.
    http://www22.Verizon.com/residentialhelp/highspeed/email/setup+and+use/questionsone/124289.htm

  • When I try to send an e-mail with attached pictures, I am told that the photos will not appear in the e-mail message.

    When I try to send an e-mail with pictures, a pop-up window appears when I hit SEND and says that the photos will not appear in the e-mail message.  How can I fix it?

    original title: e-mail problems.

    Hello

    I suggest that ask you your question on the following link.

    http://answers.Microsoft.com/en-us/windowslive

Maybe you are looking for

  • drivers of Windows 8...

    Mr President, I am upgrading windows 8 Windows 7 on my computer hp laptop 2000-2110 you,. and I have a backup of all the drivers in win7, I use these drivers for installation on windows 8? Der difference between win 7 and 8 to win drivers?

  • used to install Windows 7 service pack 1

    Service Pack 1 fails to install during the installation process. I get error 26 to halfway through the installation. I studied all the fixes on the web, including the basic start msconfig, completely remove viruses and spyware, installation of the sy

  • Performance on a scale of 1 to 10

    I happened to see a graph of the overall performance of Windows 7 or something like that the other day, but I can't find this new... I would really appreciate help to find them, because there I could see to this day, something happened that dumped th

  • Driver for printer Samsung ML2165 does not load the States, it is not compatible on Windows 7

    Original title: program compatibility Application Applications Apps game games Legacy Crash accidents Application Hang hangs I am trying to download a driver for a Samsung ML2165 printer but it does not load, he always says they are incompatible, and

  • Question about Windows 8 Toshiba Satellite DriverNotlessorequal

    MY computer crashes and I get the message "Driver_IRQL_NOt_LESS_OR_EQUAL" (rtwlane.sys) on a blue screen. I rebooted the computer back to factory settings. I had a problem connecting to a player to your computer before the restore and now I don't hav