Send an email to multiple recipients

Hello

I'm trying to send an email to three email addresses on a specific record until a (REQ_EMAIL) is not null. There are two other email addresses on registration (MGR_EMAIL, SUR_EMAIL) which can be null.

I use this PS/SQL anonymous block:
declare

v_req_email varchar(4000);
v_mgr_email varchar(4000);
v_sur_email varchar(4000);

begin
select REQ_EMAIL, MGR_EMAIL, SUR_EMAIL into v_req_email, v_mgr_email, v_sur_email
 from      SR_REQUESTS 
 where       SR_REQUESTS.REQ_ID = :P21_REQ_ID;

  if v_req_email is not null then
  HTMLDB_MAIL.SEND(

    P_TO        => v_req_email, v_mgr_email, v_sur_email,
    P_FROM      => '[email protected]',
    P_SUBJ      => 'TEST - Service Request # '||:P21_REQ_ID|| '- Confirmation');
       commit;
       htmldb_mail.push_queue('Myemailsvr',25);

end if;
end;
but this error:

ORA-06550: line 13, column 3: PLS-00306: wrong number or types of arguments in the call to 'SEND' ORA-06550: line 13, column 3: PL/SQL: statement ignored

I tried to remove two of the three variables in the "P_TO" line, but got the same error.

Any help is greatly appreciated.

Thank you
Matt

'Re missing you the body.
Try adding p_body => "

Kind regards
SK

Tags: Database

Similar Questions

  • How to send an email to multiple recipients and keep the list future emails?

    How can I send an email to multiple recipients and store the names of future emails?

    Are you using an e-mail application to send and receive your emails?

  • When I try to send an email to multiple recipients, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. This is not

    I bought a new computer. When I try to send an e-mail to multiple recipients, now, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. It is not yet supported. If please change this address and try again. "I don't know what are the non-ASCII characters, so I don't know what to do. I never had this problem on my old computer. Please explain in simple language.

    The 'local' part in the context of email addresses, the part to the left of the symbol @. The warning is a bit of a surprise, because in general the owner of a mail server is relatively free to specify the address format. There is a movement to allow the games to other characters to be used in the fields, so I'm a little disappointed to see that, apparently, e-mail does not support the latter in the local part yet or it can be your SMTP server that generates this message.

    ASCII characters ("American Standard Code for Information Interchange") are, on the whole, the English alphabet, uppercase and lowercase, as well as figures, common punctuation and case of things like the asterisks, obliques and media bars, but not of accented characters. But even apparently simple things like spaces and dashes have cousins who, at first glance, appear to be identical, but are not represented in the ASCII system. I am thinking especially nonbreaking spaces, dash and half-quadratin.

    But I don't know why your new computer must have caused these warnings.

  • How can I send an email to multiple recipients without showing the e-mail address of the recipients?

    I received emails from people who do not have other names of recipients.  How they do that?  They create a group first Contact?

    I have an occasional need to send e-mail messages to multiple recipients, but don't want them to know the list of recipients.  Is this possible?

    I use Windows Mail with Vista.

    Thank you.

    You are welcome

    This forum post is my own opinion and does not necessarily reflect the opinion or the opinion of Microsoft, its employees or other MVPS.

    John Barnett MVP: Windows XP Expert associated with: Windows Expert - consumer: www.winuser.co.uk |  vistasupport.mvps.org | xphelpandsupport.mvps.org | www.silversurfer-Guide.com

  • How can you send an email to multiple recipients easily?

    I want to send an e-mail containing links to multiple recipients. Is there an easy way to do this?

    You have the box contact enabled in the window of writing. Open a window of writing and press F9.

    Double-click contacts to add address fields or select multiple contacts by holding the CTRL key while clicking on them. When you have selected using one of the buttons add to down.

  • Include a txt file (containing e-mail addresses) as name option in 'To' to send an email to multiple recipients individually

    Thunderbird can be transformed into a mass mailing good software by having the possibility of allowing a txt file name in the field "to". The software then picks up each email address in the txt file and sends the email to each email address individually.

    Most people keep a list of emails of 100 or 200 or so who they regularly send emails in format txt, or xls. This feature will help activate as the mailer mass of people using Thunderbird and send emails to the addresses in a txt or email xls file

    Mailing software are usually about $50 and this feature will save people money.

    Concerning

    https://addons.Mozilla.org/en-us/Thunderbird/addon/mail-merge/?src=SS

    Try to use the add-on.

  • How can I send an email to multiple recipients without showing all recipients

    I want to send an email to a group of people but do not want all the names or the displayed addresses.

    The list of people under "BCC."

  • Problem replying to emails to multiple recipients (sender and several CEB)

    With Windows Live I could forward/reply to an email with multiple recipients in the sender/cc box by clicking on rely all in the taskbar. With Windows Live Mail (2012), it seems that I can only reply to the sender and not not 'everything'... is there a way to do this in Windows Live Mail... ??

    I can assure you that this screenshot is from my Windows Live Mail 2012, build 16.4.3505.0912.

    The changes of Ribbon with the context, as well as with the width of the window. If you select a message from the list of Mail messages and maximize the window, not you still have the four options in the section meet of the Ribbon? If not, repair your installation can be claimed.

  • the same to send a questionnaire to multiple recipients

    I need to send a questionnaire to multiple recipients. I need them to fill it out, sign, then send it back.

    How far do with esign is?

    Hello Cory,.

    Model options are provided paid account. Please inbox me your email address so that I can check your account type. In addition, according to the guidelines of your workflow, we have a feature called MegaSign wherein you can send the same document to several signatories and to individually sign the document. This feature is available in enterprise-level accounts.

    This is the same documentation:

    Send a sign of Mega with a CSV file. Services Adobe eSign

    Kind regards

    -Usman

  • Question about sending e-mail to multiple recipients

    Hi all

    I'm creating a workflow that will send a notification by email each time a new campaign is created. I learned that R16 is able to send emails to multiple recipients, the only concern I have is that I can't find everything will have on how to do it. It is indicated in the Guide of Preview R16 administrator you can select "specific"E-mail address ", enter several e-mail addresses directly, tried to enter several e-mail addresses separated by comma - [email protected], [email protected], [email protected] for example, but it does not work and invites me to enter a valid email address. Could someone guide me on how to enter several e-mail addresses when you select 'Specific E-mail address' or how to do it in the expression builder to set the expression that defines the list of emails. I know that by using addresses group e-mail can be used as an alternative to this requirement, but I hope that their way to proceed with workflows.

    Thank you
    Wayne

    Wayne,

    Outlook uses one; to divide email addresses have you tried?

    see you soon
    Alex

  • Problem with sending SMS programmatically to multiple recipients:

    Hello world

    I try to send information by SMS to multiple recipients at the same time programmatically. When I am trying to send SMS messages to a recipient, it works fine. I am able to send the data to a recipient successfully without any problems. But when I try to send to multiple recipients (more than one) in the code below loop 'for', it does not send to all recipients. That is to say, sometimes he sent the data to the only recipient if there are two numbers of beneficiaries (or) sometimes is not even send SMS to anyone (or the) sometimes sent to all recipients. Like that it is not consistent way when trying to send to multiple recipients at the same time.

    I even tried to use 'invokeAndWait' before calling the SMSThread code, but still the same problems.

    Could someone guide how I can resolve to send content to multiple users at the same time?

    public void SendMultipleSMS()
        {
            // multiple recipients stored here
            _data = (Vector) store.getContents();
            long totalSize = _data.size(); // totalSize - recipients count
            boolean yesLastSMS = false;
    
            // totalSize - recipients count
            if ( totalSize>0 )
            {
                _payload = null;
                _payload = contactsDetToSend(); // Content to send
    
                for ( int i=0; i			 

    I fixed it by moving beneficiaries 'for' code for the loop inside the SMSThread itself and sending to multile numbers at a time.

  • Send an Email to Undisclosed Recipients

    I have friends who send me e mails that some me and sent to recipients of Undeisclosed. How is - is, what they do a mailing list and call it something else and hide the names of peples? How is it is done or updated updated...

    When you address mail, it can be sent to CC or BCC, BCC appears a undisclosed recipients

    See https://support.mozilla.org/en-US/kb/addressing-email

  • Send an email with multiple attachments

    Hi all

    Thanks for any help in advance.

    I'm writing a procedure that will seek mutiple selected documents that are saved in a report. The part I'm having the problem is how to pass only the documents that have been selected by the box for the procedure. I have the document with instructions on how to add multiple documents to a table, but not when selected in a checkbox control.

    Thanks again for any help.

    With this application in mind, a process page on submit the following should do the trick:

    DECLARE
         v_apex_id NUMBER;
         v_blob BLOB;
         v_filename varchar2(50);
         v_mimetype varchar2(50);
    BEGIN
    
         v_apex_id := APEX_MAIL(
                        p_to       => '[email protected]',   -- change to your email address
                        p_from     => '[email protected]', -- change to a real senders email address
                        p_body     => 'message body',
                        p_subj     => 'Attach images and send');
    
         for i in 1..APEX_APPLICATION.g_f02.COUNT LOOP
    
              select filename, mimetype, content into v_filename, v_mimetype, v_blob
              from emp_ecm_documents
              where id = apex_application.g_f02(i);
    
              APEX_MAIL.ADD_ATTACHMENT(
                   p_mail_id    => v_apex_id,
                   p_attachment => v_blob,
                   p_filename   => v_filename,
                   p_mime_type  => v_mimetype);
    
         END LOOP;
    
         APEX_MAIL.PUSH_QUEUE;
    
    END;
    

    API is used:

    APEX_MAIL: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_mail.htm#CIHDIEJI
    APEX_APPLICATION: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_app.htm#insertedID2

    Van
    Trent

  • BlackBerry Z30 send text SMS to multiple recipients (more than 5)

    How can I send an sms text message to more than 5 recipients?

    As soon as I add 5 or more contacts in ' to: ' it switches to an mms message.  I need to send mass sms text to warn people I changed my phone #, but I know some people may not receive MMS text and I want that all recipients of eachother, which is not the case when I send a mms.

    Thank you

    I understood the question. One of the contacts that I am selecting was referring to their e-mail address and not their phone number. Once I changed it to their phone number, it worked fine. Thanks for your help.

  • When I want to send an email of the recipients do not appear on the left

    I need to know how to reset the write page to access all my recipients.

    Click F9

Maybe you are looking for