How do I send the detail rows of the table in the form of text to the e-mail message

We don't have BI Publisher on our box of APEX. I want to email detail rows after a summary prior amble as text in an e-mail message. I have not yet found the example in the forum. Can anyone give me a hint or help? I know how to send the summary information. I'm not sure that the best way to send the detail rows.
Thank you
John

Summary information for the transport
To: Your home address
SENDER: FEDEX SHIPPING REFERENCE: 2929292

Dell 8100 $2000.00 reference this is a really powerful desktop
IBM Thinkpad P21 $4500,00 here is a laptop
Reference Dell 2100 $2840,00 another laptop

Published by: JAJ on June 4, 2010 14:51

Re-reading your ad... I'd look more like that:

You use the following (or similar) to send an e-mail, OK?

l_id: = APEX_MAIL. SEND)
p_to =>: P4_EMAIL,
P_FROM =>: P4_FROM,
p_subj =>: P4_SUBJECT,
p_body =>: P4_BODY);

La: p4_Body is where I do the following

Follow these steps to build your body of your message

DECLARE
lcDetailLine VARCHAR2 (2000);
lcData VARCHAR2 (200);

CURSOR c_Details IS
SELECT model | ' $'|| Price | » '|| Comment
OF Detail_Table
WHERE = Order_Num: P4_Order_Num

BEGIN
lcDetailLine: = ' ';

Open C_Details;

LOOP
LOOK INTO lcData c_Details;
OUTPUT WHEN c_Details % NOT_FOUND;
goes the end of LOOP when the cursor is empty
lcDetailLine: = lcDetailLine | CHR (10) | CHR (12) | lcData;
END LOOP;

: P4_BODY: = lcDetailLine;

l_id: = APEX_MAIL. SEND)
p_to =>: P4_EMAIL,
P_FROM =>: P4_FROM,
p_subj =>: P4_SUBJECT,
p_body =>: P4_BODY);

End;

Thank you

Tony Miller
Webster, TX

Tags: Database

Similar Questions

  • 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.

    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

  • When you try to attach a PDF file to an e-mail message in Yahoo Mail I'm unable to send the e-mail message.

    I get this message when I try to attach a PDF file to a Yahoo Email and it prevents me to send the attachment.

    original title: access denied, line 56, Char7

    Hi Harvey.s,

    1. Did you the latest changes on the computer?
    2. What web browser you use to access yahoo mail?
    3. Having similar problem when setting all other files as a word document in the email?
    4. You have security software installed on the computer?

    Check if you are facing the similar question in the setting of all other files in yahoo mail.

    Try the procedure only if you use the browser Internet explorer to access yahoo mail below.

    How to resolve script errors in Internet Explorer on Windows computers

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

  • Unable to send the e-mail message of cli power test

    Hi all

    I am trying to send a test e-mail message to my ID of office for the test objective but unable to do so. I try the same operation on power cli. vCenter in my environment is already configured SMTP alerts.

    Here is the command and the messages I receive.

    C:\ "PowerCLI > Send-MailMessage-subject 'test' - of" [email protected] "-To" [email protected] "-"Test"- SmtpServer body xxx "

    xxx.xxx.XX

    Send-MailMessage: Service not available, closing transmission channel. The response from the server is: 4.3.2 Service delivery channel is not available, closing

    On line: 1 char: 17

    " + Send-MailMessage < < < <-subject 'test' - a ' [email protected] "-To" [email protected] "-"Test"- SmtpServer xxx.xxx.xxx body .xx "

    + CategoryInfo: InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException

    + FullyQualifiedErrorId: SmtpException, Microsoft.PowerShell.Commands.SendMailMessage

    Please help.

    Thank you and best regards,

    Shrikant

    Finally found the answer.

  • How can I send the e.mails received to another computer in outlook. This facility has disappeared

    I've always had the ability to transmit received e.mails to friends on other computers. This facility has disappeared

    Hi Ian,

    Are you referring to Microsoft Office Outlook or Outlook.com?

    If you are referring to Microsoft Office Outlook, you can post your request in Instances of Office for assistance.

    If you are referring to Outlook.com, you can post your request in the Instances of Windows Live for help.

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • How can I get the full mail message header?

    Hi guys,.

    before that I was able to show full e-mail header by activating an option in Mail preferences, but now it's gone - do you know how to get the full header of an email (for purposes of debugging of course)?

    Thank you in advance.

    See you soon...

    View > Message >

  • How can I send the snowdrift police to my brother

    How can I send the snowdrift police to my brother

    It comes in a zip file that you can attach it to an email. Or, simply let him download itself.
    http://www.xmasfonts.com/details/snowdrift.html

  • in Outlook Express, how can I send the same message to a group important (in the address book already), but have to each recipient can only see his name (not the Group)

    In Outlook Express, how can I send the same message to the large group (already in the address book), but have to each recipient can only see his name (not the Group)?

    To use the functionality of the BCC (Blind Carbon Copy), in a new message window, click View | All headers and type the addresses separated by a; Or: Click the button to. You will see your list of contacts and the choice to put them in the To, CC, or BCC field. Click on an address, and then click BCC to add it. Repeat for all of the contacts you want. (Note: most of the providers have limits as to how many messages you can send both a. 25 is common, but it varies).

    Put your own address in the box to. That's the only name/address that any recipient will see. If you leave the field empty, some people may not receive e-mail because of message rules they put in place, or restrictions imposed by their ISP.

    You can also make an entry in the address book using your e-mail address, but put something like the mailing list in the area of the display.

    *********************

    You can also create groups if you send e-mail to the same people often.

    To create a group of contacts:

    You can create a single group name (or alias) to use when sending a message to several contacts at the same time. Just create a group name and add individual contacts to the group. Then just type the name of the group in the box for when you send mail.

    1. in the address book, select the folder in which you want to create a group. Click New in the toolbar, and then click New Group.
    2. the Properties dialog box opens. In the group name box, type the name of the group.
    3. There are several ways to add people to the Group:
    a. to add a person from your address book list, click Select members, and then click a name in the address book list.
    (b) to add a person directly to the group without adding the name to your address book, type the person's name and e-mail address at the bottom of the Properties dialog box and then click Add.
    to add a person to both the Group and your address book, click New Contact and enter the appropriate information.
    (d) to use a directory service, click Select members, and then click search. Select a directory service in the drop-down list at the end of the text box. After finding and selecting an address, it is automatically added to your address book.
    4. Repeat for each addition until your group is defined.

    Note

    a. to view a list of your groups separately from the list of address book in the address book on the view menu, make sure that folders and groups is selected.
     
    b. you can create multiple groups, and contacts can belong to several groups.

    If you want to send to a group without addresses are displayed for each recipient, open the address book and make a new entry. Enter the name of the group in the area of the display, but use your address. (Some Internet service providers require a legitimate address in the line to and recipients will know it's from the Group).

    Click on the button to. Enter the name of the group using your address. Enter the group in the BCC field.

  • Hi, the creative cloud continues to send my inactive email account validation e-mail. How can I change the e-mail address for verification

    Hi, the creative cloud continues to send my inactive email account validation e-mail. How can I change the e-mail address for verification

    email https://forums.adobe.com/thread/1446019 or

    -http://helpx.adobe.com/x-productkb/global/didn-t-receive-expected-email.html

  • How can I send the animation html email for my friend (yandex, email)?

    How can I send the animation html email for my friend (yandex, email)?

    You can not post. What you can do is to publish somewhere on a server and give them the address.

  • 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

  • How can I add session variables for the subject field and the body of the e-mail Message?

    How can I add session variables for the subject field and the body of the e-mail Message? Tried several combinations, but do not seem to correct the syntax.

    This is the code I have. I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.

    $à = « à : ». $_SESSION ["toemail"];
    $subject = '$firstname $lastname, your registration details ';
    $from = "from: [email protected]"; "
    $msg = "Dear $title $firstname $lastname\r\n\nThank for the registration for the design of your dream Home.\r\nWe have received this following details details of you-\r\n\nClient-\r\n\nOccupation: $occupation \r\nPhone No.: $phone \r\nE-mail: $email\r\n\nPresent $ location: \r\n location\r\n\nPresent address: \r\n$ address\r\n\n\nFollowing are specified by you - design requirements \r\n\nBasic Features\r\n\nNo." floors: $floors\r\nNo. of bedrooms: bedrooms\r\nNo of $. of bathrooms: $bathrooms\r\nFloor region: $sqft\r\n\nFurther Suggestions: $ Plan\r\n\nSplit one further\r\n\n\nType floor: $splitfloor\r\n-remarks: $splitfloorremarks\r\nOpen floor: $openfloor\r\n-remarks: $openfloorremarks\r\n\n\nList of the rooms to be Included\r\n\nFoyer: $foyer\r\n-remarks: $foyerremarks\r\nDrawing: $drawing\r\n-remarks: $ alive drawingremarks\r\nFormal: $formalliving\r\n-comments : $ alive formallivingremarks\r\nFamily: $familyliving\r\n-remarks: $familylivingremarks\r\nHome Office: $homeoffice\r\n-remarks: $homeofficeremarks\r\nDining: $dining\r\n-remarks: $diningremarks\r\nMaster room: $master\r\n-remarks: $masterremarks\r\nMaster bathroom: $masterbath\r\n-remarks: $masterbathremarks\r\nMaster Dressing: $masterdress\r\n-remarks: $masterdressremarks\r\nBedroom: $bed\r\n-remarks: $bedremarks\r\nBathroom: $bath\r\n-remarks: $bathremarks\r\nDress: $dress\r\n-comments : $dressremarks\r\nStudy: $study\r\n-remarks: $studyremarks\r\nLibrary: $library\r\n-remarks: $libraryremarks\r\nPowder room: $powder\r\n-remarks: $powderremarks\r\nPrayer room: $prayer\r\n-remarks: $prayerremarks\r\nKitchen: $kitchen\r\n-remarks: $kitchenremarks\r\nPantry: $pantry\r\n-remarks: $pantryremarks\r\nUtility/area of work: $utility\r\n-remarks: $utilityremarks\r\nBalcony: $balcony\r\n-remarks: $balconyremarks\r\nStore: $store\r\n-remarks: $storeremarks\r\nLaundry : $laundry\r\n-remarks: $laundryremarks\r\nVeranda: $veranda\r\n-remarks: $verandaremarks\r\nCar porch: $carporch\r\n-remarks: $carporchremarks\r\nGarage: $garage\r\n-remarks: Theater garageremarks\r\nHome $: $theater\r\n-remarks: room of $theaterremarks\r\nMaid: $maid\r\n-remarks: $maidremarks\r\n\nOther general remarks: $general\r\n\nPlease note that the fields have been left blank in your form will be considered undecided details and used in discretion.\r\nIf of the architect , it better to add more later, design requirements please feel free to reply to this email with the details. « ;
    $fla = mail ($to, $subject, $msg, $from);

    Thanks in advance!

    askintrades wrote:

    How can I add session variables for the subject field and the body of the e-mail Message?

    What you want to do? Given the nature of your question, it seems that you probably don't know what a session variable is used. The PHP manual describes the purpose of sessions here: http://docs.php.net/manual/en/intro.session.php.

    I need to change all the form variables in $msg in session variables. The $to part is supported. What remains are the $subject and $msg fields.

    $à = « à : ». $_SESSION ["toemail"];

    Why do you need to change the form variables in session variables? They are already stored in session variables, or they come directly from the form?

    The $to part is not supported. When you pass $to to the mail() function, it should contain only an e-mail address, not a string that begins with "to:

  • How can I change the color used by highlighting the e-mail messages

    How can I change the color highlighting the e-mail messages?

    Hi Hofstra64,

    If you talk about the highlight appears when you select an e-mail message, this is related to the "Highlight color" parameter in your general settings of OS X. More information can be found in the following link:

      

    Highlight color

      

    Choose the color that you want to see when you put in highlight or select items.

    OS X El Capitan: General preferences

    https://support.Apple.com/kb/PH21910

    Thank you for using communities Support from Apple!

  • How do we install the default mail client?

    How do we install the default mail client?

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-which-programs-Windows-uses-by-default

    'Change the programs that Windows uses by default'

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://www.SimpleHelp.NET/2007/02/07/a-beginners-guide-to-setting-up-Windows-Mail/

    Link above has an easy to follow Guide to set up Windows Mail.

    Contact your ISP (Internet Service Provider).

    They offer your broad band/Dial-up connection.

    Ask them to:

    username
    password for your service account to wide band/Dial-Up with them

    Server of incoming POP3 mail
    outgoing mail SMTP server

    The above information is required to set up Windows Mail.

    ISPS are usually happy to help you set up your email account.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I prevent the access denied message when you use the shutdown command?

    I use shutdown /m \\computername/s

    I have "Access denied (5)" as an answer.
    I am admin on all my computers. Same username and password on each of them.
    How can I get this shutdown command to work remotely, so I can't access every computer command prompt via Remote Desktop?
    How can I prevent the access denied message when you use the shutdown command?

    Hello

    I suggest you to report this issue in TechNet Forums for Windows 7 networks: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/threads

    Thank you.

Maybe you are looking for