Easclamation mark when I mail and extract

I have a procedure in a package which e-mails me a log of the last 24 hours jobs
  PROCEDURE Email_Log IS
    v_Msg        CLOB;
    v_Recipients Pkg.t_User_Data := Pkg.t_User_Data('[email protected]');
    v_Success    BOOLEAN;
    CURSOR Cur_Log IS
      SELECT Pkg.Pad_To_Length(Al.Log_Date, 11) ||
             Pkg.Pad_To_Length(Al.Log_Category, 45) ||
             Pkg.Pad_To_Length(Al.Log_Value, 55) || Chr(13) Msg_String
        FROM Log Al
       WHERE Log_Date BETWEEN Trunc(SYSDATE) - (24 / 24) AND
             Trunc(SYSDATE) + (3 / 24)
       ORDER BY Al.Log_Date DESC;
  BEGIN
    FOR Each_Record IN Cur_Activity_Log LOOP
      v_Msg := v_Msg || Each_Record.Msg_String;
    END LOOP;
    v_Success := Send_Mail_Pkg.Send_Mail(v_Msg_To          => v_Recipients,
                                         v_Msg_Subject     => 'Log Mail',
                                         v_Msg_Text        => v_Msg,
                                         v_Copy_To_Support => FALSE);
  END Email_Log;It all works fine execpt that I get an esclamation mark ('!') in the mail for some of the logs.
i.e. the information would be correct, but the '!' appears and the next text would be in the line below, rather than the same line.
13-DEC-07  AS_RUN                                       TV: As Run created successfully for: 12-DEC-07
13-DEC-07  AS_RUN      !
                                  TV: As Run created successfull y for: 12-DEC-07 
13-DEC-07  AS_RUN                                       TV: As Run created successfully for: 12-DEC-07All the information come from the same table.
"13-DEC-07" is one column
"AS_RUN" is another column
"TV: As Run created successfully for: 12-DEC-07" is the 3rd column
I have tried to change the Pad to lengh values, but it still returns the same result.
Also, there is a space in "successfull y" between the L and Y, but it is correct in the table I am exporting from.
Any idea, please?

FUNCTION Pad_To_Length(v_Source VARCHAR2,
Pad_Length NUMBER,
v_Pad_Char VARCHAR2) RETURN VARCHAR2 IS
v_Return_String VARCHAR2(2000);
BEGIN
IF Length(TRIM(v_Source)) < Pad_Length
THEN
--length of source is shorter than pad length
v_Return_String := Rpad(TRIM(v_Source), Pad_Length, v_Pad_Char);
ELSE
IF TRIM(v_Source) IS NULL
THEN
v_Return_String := Lpad(' ', Pad_Length, v_Pad_Char);
ELSE
--length is greater than pad length - need to trim
v_Return_String := Lpad(TRIM(v_Source), Pad_Length);
END IF;
END IF;
RETURN v_Return_String;
END Pad_To_lenght;

Similar Messages

  • How do I ensure mail is sent from the correct email account?  I have two set up on my iPad, and it seems to choose which one to use somewhat randomly.  This has happened both when using Mail and when emailing form another app.

    I have two email accounts set up on my iPad -- one I use &amp; one I monitor for a disabled person.  On several occasions, mail I have composed and sent from my email account was sent showing the other account as the sender.  This has happened both from within Mail and when emailing from other apps, such as Safari, Photos, etc.  Any idea what is going on and how to prevent this from happening?

    Are you confirming your POP account is selected as the sending email account before the message is sent?
    And regardless if the email is a new email or is replying to or forwarding an email received by the POP account and cofirming the POP acconut is selected as the sending email account, the message is sent by the Gmail account?
    All message sent by the POP account are sent by the Gmail account?
    If so, delete the Gmail account from your iPad and test if a message sent with your POP account which will be the only email account available with the iPad's Mail app is recieved from your POP account/address.
    If not, something else is wrong or on play that has nothing to do with the iPad.

  • IPhoto: descriptions lost when e-mailing and uploading to Face Book

    Also, in prior versions of iPhoto, in the same item photo, my descriptions automatically appeared. This no longer happens in v11. VERY disappointed! Now, I must copy/paste the descriptions. This same situation also happens when posting to Face Book.----Also inconvenient: in the "contact sheet" view, to send my e-mail, I must now print to .pdf in order so that I can e-mail a contact sheet to my accounts (and reminder, I have no e-mail record of whom I sent what!)----Can you help?

    I'm not sure that iphoto, which is a handy manager for family snaps, is appropriate to a Professional operation. Perhaps you need to find a more appropriate application.

  • When installing iTunes and extracting the files with Winrar I get corrupted files and cannot complete the download why is this?

    When I dont extract the files and go straight to the installer it says that the download was inturrupted and to try again and it wont work any of the times I try.

    Try clearing your browser's cache before downloading again, or try a different browser, or download the installer on a different machine, check it with Winrar or 7-Zip, then put it on a memory stick to take back to your own computer.
    You may find the direct download links and other information in Troubleshooting issues with iTunes for Windows updates useful.
    tt2

  • Mail port number won't hold.  Received instructions from Comporium to change port number to 465, SSL checked and password required.  Now port reverts to 110 when quitting mail and reopening.

    OS X Yosemite on MacBook.  Mail port number will not hold.  Changed mail account info as instructed by Comporium, including changing port to 465, use SSL and password.  Now the port reverts to 110 when Mail app is closed and reopened; the entered port number - 465 - will not hold.

    OK folks, I think we have a winner.
    I finally got frustrated so I sponsored a conference call with a Palm Level 3 tech support guy, the Telus rep and a Bell rep.  We were on hold for a total of like 45 minutes as I chained the call along and finally got everyone on the same line.
    So here's the deal: The setup has to be done manually as thepoet suggested.  The incoming server is OK as imap and imap.telus.net with no encryption.  The outgoing server has to be set to point to mail.1xbell.ca with NO authentication, port 25 and no encryption.  The initial Bell tech support guy was quite close to the solution, just the wrong port number and the wrong sequence of setting it up.
    I have been able to send successfully, but want to try a couple of more things before I declare it a complete success.
    Thanks for your help Poet, much appreciate your persistance.

  • When using Mail and selecting the recipient, Address Book no longer shows Groups. I am forced to select from my entire alphabetized contact list. What's going on?

    Has the Address Book software changed? Or has Mail changed? For purposes of email, Address Book no longer allows me to find an addressee or several addressees who are members of one of my Groups (or Smart Groups). What happens is this: I open Mail, initiate a new email, put the cursor in the To: box and click the 'Show addresses' icon in the New Message box. The Addresses list shows up in a separate window with an alphabetized listing of all my contacts. It used to allow me to select a Group, but Groups are no longer listed. I have no choice but to select an address (or addresses) from the entire list. Needless to say, this is intolerable.
    Ultimately, I have two questions:
    What has changed and can I fix it so it works as it used to?
    If I can't fix it, what other email/address book software combination works simply and cleanly so I don't have to live with this frustration.

    This add-on may help:
    https://nic-nac-project.org/~kaosmos/morecols-en.html
    I've had this add-on for so long that I can't remember what it does and does not provide.
    If you select a List in your Address Book, so that its contents display at the right, does "Export" not write just the Lists's member Contacts out to the csv file?
    It does here, but this may be thanks to the above-mentioned add-on.

  • Mail and 10.4.5 upgards LOST entile mailbox

    I just upgraded to OS 10.4.5 from 10.3.9
    when i opened my mail app for the first time
    I expected everything to go fine. The mail mailbox imported alright as did the sent mail archive (as near as I can tell)
    but my past mail archive was dumped... I get the subject line but the e-mail contents request that I "download again from the server"
    that's not quite do-able as some of the messages are 3+ years old.
    when quit mail and reopened the mailbox all the subject lines for that archived mail were now gone.
    Any ideas on how to recover?
    I've looked in the library file and saved what I could from the archive (a gig of data) but the mail doesn't seem to want to take it.
    System: quicksilver G4 DP 533 a gig of RAM
    moving from OS 10.3.9 -> 10.4.3 > 10.4.5
    alltheflavors   Mac OS X (10.4.5)  

    Hello,
    If you check the Discussions, you will find numerous topics about this message. It is caused by incomplete conversion of the mailbox structure from pre-Tiger to Tiger basis. It is also caused by leftover files from the Panther mailboxes.
    Since your mailboxes originated in Panther, I want you to read the article at the link below, and perhaps get back to me with some observations, before attempting any changes:
    http://docs.info.apple.com/article.html?artnum=301315
    This issue of leftover files applies not only to mailboxes you have previously created (which are in the Mailboxes folder the article mentioned) but can also apply to those mailboxes in account folders created prior to the upgrade to Tiger.
    Also, please report the size of each file or folder. Do not, however, try to list the files that are within the folder named Messages, that is found in each and every mailbox. It is very important to compare the size of any file named "mbox" with that of the Messages folder. If the mbox is greater in size than the Messages folder, then not all messages have been converted to be in the Messages folder.
    The path to the Mail folder is Home/Library/Mail -- within the Mail folder are one or more account folders and the Mailboxes folder.
    It might be best to post about what you find and observer, since several different situations can result.
    Ernie

  • Cannot pinch/zoom with trackpad when in Mail

    When using Mail (and Lion), full screen, the trackpad does not respond to pinch/zoom or control/2 fingers up. Is the zoom feature of trackpad supposed to work in Mail?  It does work in Safari.

    Mail doesn't support the pinch/zoom feature.  It does support CNTL scroll up zoom feature though.
    Some people have found cntl scroll up zoom feature quits working occasionally.  I've had it happen once or twice.  In this case you can put the screen to sleep and then wake it, the feature will operate again.
    I defined an active screen corner for this is purpose in System Preferences > Mission Control > hot corners.. button. 
    Regards,
    Captfred

  • I have a  macbook, an ipad, and an iphone with the Mail app on all three synced through icloud, but when I read and delete emails on my phone, the inbox on my ipad is not update, so I have to go through and mark as read or delete messages again. How can I

    I have a  macbook, an ipad, and an iphone with the Mail app on all three synced through icloud, but when I read and delete emails on my phone, the inbox on my ipad is not update, so I have to go through and mark as read or delete messages again. How can I sync my iphone and ipad? (it seems like each is synced only to my laptop, so don't synchronize until I go home and use my laptop.

    POP: yahoo, aol, comcast/time warnder/road runner
    Imap: google, hotmail, and more including icloud.
    If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically  Icloud or Hotmail would be my choices right now.
    To find out more about what happens to you, search on Google "difference between pop and imap"

  • Is it possible to flag e-mails and/or right click an e-mail to mark as read/unread, etc. when using Microsoft Outlook Web Access in Firefox on a Mac?

    Is it possible to flag e-mails and/or right click an e-mail to mark as read/unread, etc. when using Microsoft Outlook Web Access in Firefox on a Mac?
    == This happened ==
    Every time Firefox opened
    == I've never been able to figure out how to do those things in Firefox.

    When you use OWA in something other than IE, you're using OWA lite and no--it is not possible to do either in OWA lite (well, new Exchange stuff makes my answer a little less emphatic but still: pretty much no). Thanks Microsoft. But this guy made it possible to mark unread/read and select all/none:
    http://david-burger.blogspot.com/2008/07/firefox-greasemonkey-outlook-web-access_19.html

  • I have an iPad 2 and receive e-mail through internet connection. When I delete e-mails, and clear my Trash folder, they re-appear. Setting are for remove from server when moved from Inbox. Any idea what I can do to actually delete them?

    I have an iPad 2 and receive e-mail through regular internet connection. Lately, when I delete e-mails, and clear my Trash folder, they re-appear, downloaded anew from the server and marked as unread. My e-mail Advanced Settings are selected for "Remove from server when moved from Inbox." Even when I access the e-mail accountfrom my desktop and delete the e-mails, the re-appear on my iPad. Does anyone have any idea what is causing this and what I can do to actually delete them?

    Sounds like you are looking in the wrong Administrative Group container which is why you are seeing your Exchange 2010 servers in there.
    When you install Exchange 2003 only you will see a container named by default as "CN=First Administrative Group" container. But this could be named anything if you changed the Organization Name on the installation when you installed the first
    Exchange 2003 server into the domain/forest. 
    You will notice that when you install Exchange 2010 part of the AD setup is to create a new configuration container and is named by default "CN=First Administrative Group (FYDIBOHF23SPDLT)".
    So it sounds like you are not looking in the right location within ADSIEdit. 
    You may find the following article also helpful for this issue which is the same resolution:
    http://blogs.technet.com/b/sbs/archive/2012/05/17/empty-cn-servers-container-causing-issues-with-public-folders-on-small-business-server-2011.aspx
    I recommend though that you ensure your Exchange 2003 servers are fully uninstalled or no longer present in your environment before you go deleting the Servers container though.. The following Microsoft article will help with this:
    http://technet.microsoft.com/en-gb/library/gg576862(v=exchg.141).aspx

  • When I try and open mail I get an error message

    When I was updating a password on my exchange server earlier, Mail quit and I can no longer re-open it.
    Each time I try and open mail I get this message: The last time you opened Mail, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?
    When I try and open it, I can't.
    I've tried a soft boot; face quite mail etc but no luck.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if Safari crashed, you would enter "Safari" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Questions for the time when a mail is sent and arrives

    Hi, all
    I have a few questions for OCS but I can't find any informaiton for them.
    My customer asked me how to know the time when a mail is sent to and arrives a destination mailbox from the OCS database. My Questions are...
    1)
    There are two columns - 'INTERNAL_DATE' and 'RFC822_DATE' - in 'ES_HEADER' table that seem related to sending date. What is the difference between them?
    2)
    Can I know the time when a mail arrives the recipient's mailbox (or mail server) from the OCS database?
    3)
    What does the column 'RECEIVED_DATE' in ES_ENVELOPE table mean?
    I would appreciate if anyone lets me know links or websites where I can get informatin.
    (or if give answers to me directly, I would appreciate so much!)
    Thanks in advance.

    First to permanently delete every trace of Babylon try here '''cor-el''' reply:
    https://support.mozilla.com/en-US/questions/782060
    second to set google as home page see here:
    [http://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page How to set the home page]
    * try to update firefox because you are in beta version 4.0b10 and it is unsupported and beta(trail unstable version)
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Mail and Preview crashes when printing.  I have 10.8.3. error message something about est-e-filing plug in.  Help anyone??

    I have the latest OS 10.8.3 and just recently Mail and Preview constantly crashes when printing.
    It seems that it is missing a plug in or something.  Error messge is Mail quit unexpectedly when using the est-e-Filing-pdes plugin.
    Same message in Preview.
    Actually I have experience more crashing (with Numbers) since last update.
    Can anyone help?
    Raoul

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • How do you mark a message as spam when your mail comes from gmail via OS X Mail.app?

    How do you mark a message as spam when your mail comes from gmail via OS X Mail.app?
    I use IMAP to get Gmail. I seem to remember seeing a "[Gmail]/Spam" IMAP folder in previous versions of the app, but that's not visible any more.
    Without this, I have to log on to the web-based Gmail to mark messages as spam, that's a productivity killer.

    right mouse click on a message and select Mark as Junk Mail

Maybe you are looking for

  • E72 doesn't open programs. Help!

    So, I just got my E72 today. Aside from the fact that Nokia PC Suite's Application Installer told me that I need to do something with the Phone User Interface, which I didn't quite understand (help appreciated on this issue, too), the real reason I c

  • Default.aspx page reverting

    I am the administrator for a custom SharePoint application.  The application is developed in-house.  There appears to be an issue with one of our current solutions.  The solution should be updating the default.aspx page under the STS template.  It ap

  • Long running job

    Hi Guru's I've created generic datasource using structure and FM.I've chacked in rsa3 it's working fine but when I schedule INIT from bw it's still in yellow status and 1672 from 0 records on monitor screen. The records are in psa. Please advise what

  • Problem ordering softcover book through iPhoto

    I am trying to order a large softcover book of pictures that I created with iPhoto. When I attempt to do this through the software, the only option I am given is to purchase a large hardcover book. How do I get around this?

  • If my Mac explodes, will Time Machine be any use?

    Would appreciate some clarification on how Time Machine works. Currently I occasionally back up iTunes and iPhoto files manually to an external hard drive, so that if I lose my Mac completely and have to buy a new one, then I can just import the save