Sending e-mail is blocked

Hello

I created a process of email send with multiple attachments. I allow the user to enter text from freeform to 4000 characters. I created a page process, before the process of email send to split text into 1000 pieces of char data and recompiled back together in: P4_MSG_BODY text box. Most of the time, the process works fine, except that it sometimes freezes, and the administrator will see that the process is CPU. I can't understand what could cause this problem. I use 10g, with Apex 3.2.1. Please notify. Code below.
declare

inc number :1;
body_length number :=0;
tmp_chunk number :=1;
v_body varchar2(4005);
final_chunk number :=0;
crlf char(2) := chr(10)||chr(13);

begin

  v_body := :P4_MSG_BODY;
  body_length := length(:P4_MSG_BODY);

loop
  if ((tmp_start + 999) > body_length) then
    v_body := substr(:P4_MSG_BODY,1,body_length - tmp_start);
  final_chunk :1;

else
  v_body := substr(:P4_MSG_BODY, tmp_start, 998);
  end if;

loop
   if substr(:P4_MSG_BODY, inc, 1) = ' ' then
  exit;
  end if;
  inc := inc-1;
end loop;

v_body := substr(:P4_MSG_BODY, tmp_start, 998+inc);
tmp_start := tmp_start + 999 + inc;

if tmp_chunk = 1 then
    :P4_MSG_BODY1 := v_body;
elsif tmp_chuck = 2 then
    :P4_MSG_BODY2 :=v_body;
elsif tmp_chunk =3 then
  :P4_MSG_BODY3 = := v_body;
else
  :P4_MSG_BODY4 := v_body;
end if;

tmp_chunk := tmp_chunk + 1;
 inc := -1;

if(final_chunk = 1) then
exit;

end if;

end loop;

:P4_MSG_BODY := :P4_MSG_BODY1||crlf||:P4_MSG_BODY2||crlf||:P4_MSG_BODY3||crlf||:P4_MSG_BODY4||crlf;
Thank you
Mary

Published by: Gabriel on July 25, 2011 16:11

As you say, your problem may be in the send e-mail section.
Some things that you should check.

01. this email works do not at all? not the only conditions selected workking?
02 check the connection to the mail server when you get this problem (you can do a simple ping on the server of db apex to the mail server)
03. don't frame server configured correctly for use e-mail?

Thank you

* If the answer is useful/correct then mark accordingly

Tags: Database

Similar Questions

  • I use MSN and I'm unable to send e-mail messages. I can view and print, but not send anything.

    original title: sending e-mail in window xp blocked?

    I'm unable to send email in windows XP.  I recently changed to comcast wireless and have MSN.  I receive e-mail and can open and print, but not before.

    Using Windows Live Mail or Outlook?

    For Windows Live Mail:

    The best place to ask your question of Windows Live is inside Windows Live help forums. The experts he specialize in all things, Windows Live and I would be happy to help you with your questions! Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

    For Outlook:

    http://answers.Microsoft.com/en-us/Office/Forum/Outlook

  • Why can't I send e-mail from outlook?

    I'av had my web book since January this year and have not been able to send an e-mail message from outlook express. But it can receive. Repeat me host SMTP could not be found.

    Hi KyBern,
     
    To resolve this issue, follow the steps in the article below:
     
     
     
  • Can receive but not send Windows Mail. Seems to be a reference to Spamhaus

    The message could not be sent. The authentication setting are may not be wrong for your e-mail [SMTP] Server outgoing. To resolve this issue, go to help, search for "Troubleshoot Windows Mail" and read the section "I have problems sending e-mail". If you need help to determine the appropriate server settings, contact your e-mail service provider.

    The rejected e-mail address was (deleted) 'Congratulations of Galway', account: 'Webmail.eircom.net', server: 'mail1.eircom.net', Protocol: SMTP, server response: 550 5.1.1 <(deleted>list black by Spamhaus: http://www.spamhaus.org/query/bl?188.141.66.40 ';', Port: 25, secure (SSL): no, Server error: 550, error number: 0x800CCC79.

    It seems that your IP address is blocked for some reason any and that seems to be the reason why you can not send.  This is something that only your email provider can fix and you need to contact them to determine what to do about the issue.

    Steve

  • I have a list of customers in 4400 business catalyst but I send e-mail marketing and it sends only to 3 127. Why is this?

    I have a list of customers in 4400 business catalyst but I send e-mail marketing and it sends only to 3 127. Why is this?

    View reports on email campaign.

    There are several reasons why an email cannot get out to people...

    1. they unsubscribed from this list in the past

    2. they premaritally without subscription of all the mailing lists

    3. you had spambots fill your newsletter and email blocked or fake registration form

    4 e-mail bounced because it was incorrect or misspelled or routing to send to it has failed for some reason any.

  • Impossible to send e-mail password is incorrect?

    Hi people,

    Recently I get this error when I try to send an e-mail with one of Mr. addresses I can check and receive e-mail at the address, but when I send a mail on my iPhone I get error.

    I have the same address put in place on my iPad and have no problem in sending or receiving emails.

    I rechecked and the password is correctly entered.

    Any suggestion would be appreciated.

    This happens on my iPhone 6

    Hello Jasdelta,

    Thank you for using communities Support from Apple. I know have a problem with the email on your iPhone just, it's not what you expect. As I understand it, you can't send email on your iPhone and your iPad allows to send and receive e-mails with the same account. Since that narrows down your problem on your iPhone, I suggest you reboot your iPhone, like closing down and starting process is important to keep the iPhone software works correctly:

    Restart your iPhone, iPad or iPod touch

    Then follow the steps in this article to troubleshoot and fix your emails on your iPhone:

    Get help with Mail on iPhone, iPad and iPod touch

    See you soon!

  • Cannot send e-mail

    I can't send e-mail with an attachment to the air of my ipad 2 version 9.3.2. But I know that I can send emails from normal text. I have check all parameters with my iPhone. The voth parameter determine is the same, but I wonder why it happens only with my iPad Air. Hope someone can help me. I'm trying to solve with change port and add the server but may not work too.

    What happens when you try to send an email with an attachment? What type of attachment? There is a possible problem with this accessory? Who is your email provider, you ask them if they have restrictions on the size of attachments?

    I do not know if it is typo, but what "voth decides he" means?

  • Do not have an option of sending e-mail

    We can receive emails, but we cannot send e-mails there is no icon on the e-mail screen for 'send '.

    Firefox send an e-mail, it's strictly a web browser.

    If you use Firefox to access your e-mail, you use "webmail". You must seek assistance from your service provider or a forum for this service.

    If your problem is with Mozilla Thunderbird, please Tag this thread as being for Thunderbird in the right column of this page. This issue is currently in the queue of Firefox to get answers.

  • Restriction of server error 4.1.1 Temp? Can't send e-mails?

    Cannot send e-mail messages, respond with error 4.1.1 which says that the server has a limit and it is temporary. My server is bigpond and I don't have this problem with Windows Mail - only with Mozilla. I just sent the same message to several friends, but now there are not sent to the tutor and said I should reduce the size, or wait until later. I can't send anything with a picture, but it's just a little e-mail with only text. I contacted Telstra and they advise that the problem is with Mozilla. I had a tech look at the settings and it could not find why this is happening. Help, please!

    Re: r 4.1.1 which says that the server has a limit and that is temporary

    Clearly not to be true, or they don't know what they are talking about.

    If you get a message from the server the server-sent not thunderbird. The error message is their server. He says he has a limit. Unfortunately, it does not say what the limit is and it is not easy trying to find this info.
    Looks like you have sent your quota and that is why it says try again later.

    I find this:
    The limits of the e-mail to send emails via the bigpond servers are not more than 25 consecutive emails every 10 min or 1 e-mail to 100 recipients every 10 min

  • Not all of a sudden, I can't send e-mail

    I can't send email, but I can receive. He always tells me that my password is incorrect, but it IS OK on my computer and if I connect via safari. What should I do? I need to be able to send e-mails!

    Check the outgoing mail server setting. Make sure that your user name and password are there.

    Settings > Mail, Contacts, calendar > your account > account > outgoing mail server - tap the name of the server next to SMTP check in the main server and make sure that your user name and password are entered and correct - even if it says that the password is optional.

  • Lost the ability to send e-mails via Mail from Mac v. 4.6.  Can someone guide me?

    I did SOMETHING WRONG and can no longer send e-mail.  Help, please!

    Start with the reconstruction of the mailbox, and then repair permissions and restart your Mac.

  • If I click on an email link in a web page instead of an empty message is opened I still get noise toward the top of the screen with a log-in for googlemail. I don't have and won't have a googlemail account. I just want to be able to send e-mail messages b

    If I click on an email link in a web page instead of an empty message is opened I still get noise toward the top of the screen with a log-in for googlemail. I don't have and won't have a googlemail account. I just want to be able to send e-mail messages by using Outlook.

    See this article.

    http://support.Mozilla.com/en-us/KB/changing+the+e-mail+program+used+by+Firefox

  • Impossible to send E-mail on Satellite A100 WinXP SP2

    Hi all

    just found this forum.
    I have the Satellite A100 Windows XP sp2 and I'm unable to send e-mail to certain addresses (yahoo among others - recipients rejected by the server).
    After several long sessions with my ISP tech (ntlworld) support that seemed to be the best advice that all is OK with my settings on the server and I need to look for a solution elsewhere.

    I was using Outlook Express as my email application so tried Mozilla's Thunderbird to see if this helped - no improvement, unfortunately.
    Windows updates all installed. I approach approaching the limit of my knowledge, help/advice or pointers in the right direction is greatly appreciated.

    Hello

    Maybe is a problem of the Outlook profile.

    Make a new profile in Outlook under Extras? E account Mail with information from the ISP and verify the Netware properties.

    I hope this is a help.

    By

  • When I click on a link to send e-mail, I have Outlook Express instead of gmail

    When I click on a link on a web page to send e-mail, I have Outlook Express instead of mt gmail.

    http://support.Mozilla.com/en-us/KB/changing+the+e-mail+program+used+by+Firefox

  • I need to send e-mail to climb what is the email address of support?

    I need to send e-mail to climb what is the email address of support?

    Click on contact us at the bottom of this page to join Apple

Maybe you are looking for