Sending mail in cc and bcc without SO_NEW_DOCUMENT_ATT_SEND_API1

HI friends ,
What methods used to  sending mail in cc and bcc also without using function module   SO_NEW_DOCUMENT_ATT_SEND_API1.
Regards,
Anish
Moderator Message: Check the class CL_BCS & the BCS* demo programs. Try to search before posting your question
Edited by: Suhas Saha on Aug 25, 2011 10:00 AM

Hi,
sorry my support for
SO_NEW_DOCUMENT_ATT_SEND_API1
has ended after CL_BCS was introduced.
Regards,
Clemens

Similar Messages

  • How to send mails to "CC" and "BCC" using receiver mail adapter dynamically

    Hi,
    Due to business requirement PI need to send mails dynamically to u201CCCu201D and u201CBCCu201D using receiver mail adapter.
    We have an option to send mails to u201CTou201D dynamically, but are there any option to send mails u201CCCu201D and u201CBCCu201D dynamically.
    Please some help to resolve the issue. Thanks
    Regards,
    Sreeramulu Konjeti.

    Hi Sreeramulu,
    As mentioned by Lucas, you can use the UDF. Inn addition to that, you need to define the Variable Headers under Variable transport binding after enabling the Adapter Specific Message Attributes.
    For the Enabling ASMA, follow the below steps and check for the variable attributes.
    Select the Advanced  tab page.
       To save adapter-specific attributes in the message header of the XI message, select Use Adapter-Specific Message Attributes and Variable Transport Binding.
    The following attributes in the message header are then available for processing:
    ○       User: (technical name: TServerLocation)
    ○       Authentication key: (technical name: TAuthKey)
    The following mail header fields are available for processing:
    ○       From: (technical name: THeaderFROM)
    ○       To: (technical name: THeaderTO)
    ○       Cc: (technical name: THeaderCC)
    ○       Bcc: (technical name: THeaderBCC)
    ○       Subject: (technical name: THeaderSUBJECT)
    ○       Reference to the mail that is to be replied to: (technical name: THeaderIN-REPLY-TO)
    ○       Reply to: (technical name: THeaderREPLY-TO)
    ○       Mail client program: (technical name: THeaderX-MAILER)
    ○       Send confirmation of receipt: (technical name: THeaderDISPOSITION-NOTIFICATION-TO)
    ○       Priority: (technical name: THeaderPRIORITY)
    ○       Importance of message: (technical name: THeaderIMPORTANCE)
       To transfer further header fields, set the relevant indicator for Variable Header. The technical names for the fields are XHeaderName1, XHeaderName2, and XHeaderName3.
    The parameters are included in the mail header under the names specified here.
    The attribute namespace for the adapter is http://sap.com/xi/XI/System/Mail.
    Thanks,

  • How to send Email with Cc and Bcc using MailPackage

    Hi ,
    we are using Mail Package to send the Email using Mail Adapter.We have a requirement where we need to send Email with Cc and Bcc using Mail Package .
    Can we send Cc and Bcc using Mail Package ?
    Thanks
    Rajesh .

    HI Rajesh,
    There is a standard structure for Receiver Mail adopter which we can get from SAP market Place but it is not provided with CC if u want to use CC then you have to go with Dynamic Configuration.
    DynamicConfiguration configuration = (DynamicConfiguration) container.getTransformationParameters().getStreamTransformationConstants.DYNAMIC_CONFIGURATION);
    /*any other required fields*/
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderCC");
    configuration.put(key, "ccemail @ test.com");
    Regards
    Praveen Reddy
    Edited by: Maareddy Praveen Reddy on Aug 10, 2011 12:17 PM

  • Send mail with attachment and more recipients

    Hi to all,
    I have this procedure :
    PROCEDURE SPEDISCI_MAIL
    Mittente IN VARCHAR2,
    Destinatario IN VARCHAR2,
    Oggetto IN VARCHAR2,
    Messaggio IN VARCHAR2
    IS
    mailhost VARCHAR2(40) := 'pippo.com';
    conn utl_smtp.connection;
    crlf VARCHAR2( 2 ):= CHR( 13 ) || CHR( 10 );
    mesg VARCHAR2( 1000 );
    local_mittente VARCHAR2(2000) := mittente;
    BEGIN
    conn := utl_smtp.open_connection (mailhost,25);
    mesg:='Date:'||TO_CHAR(SYSDATE,'dd mon yy hh24:mi:ss')||crlf||
    'From:<'||mittente||'>'||crlf||
    'Subject:'||Oggetto||crlf||
    'To:'||destinatario||crlf||''
    ||crlf||messaggio;
    utl_smtp.helo(conn, mailhost);
    utl_smtp.mail(conn,local_mittente);
    utl_smtp.rcpt(conn,destinatario);
    utl_smtp.data(conn, mesg);
    utl_smtp.quit(conn);
    END;
    Can I send mail with attachment and more recipients?
    Thank you
    Silvia

    Consider using UTL_MAIL package:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm
    (Note: it's not installed and configured by default, but the scripts are supplied with the Oracle database, see documentation for instructions)

  • How to send mail from adobe interactive form without opening the outlook

    Hello all,
    When the end user press the submit button i want it to send the XML data without opening the outlook or other mail application.
    Is there a way to do this?
    I tried javascript codes to send mail with UI = false but it did not work.
    Thank you all in advance,
    Eran

    mailForm
    Parameters: bUI, cTo, [cCc], [cBcc], [cSubject], [cMsgBody]
    Returns: nothing
    This method exports the form data and mails the resulting FDF file as an attachment to all recipients,
    with or without user interaction depending on the value of  bUI.
    If it is set to true then the rest of the parameters are used to seed the compose new message window that is displayed to the user.
    If bUI is set to false, the cTo parameter is required and all others are optional.
    You must use a semicolon u201C;u201D to separate multiple recipients in cTo, cCc, cBcc parameters.
    The length limit for cSubject and cMsgBody is 64k bytes.
    Example:
    /* This will pop up the compose new message window */
    this.mailForm(true);
    /* This will send out the mail with the attached FDF file to fun1 @ fun . com and fun2 @ fun . com */
    this.mailForm(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail.");
    Note:
    This is a Windows-only feature. In addition, the client machine must have its
    default mail program configured to be MAPI enabled in order to use this method.
    I had to change the code:
    instead of this.mailDoc :
    var myDoc = event.target;
    myDoc.mailDoc(false, "fun1 @ fun . com; fun2 @ fun . com", "", "", "This is the subject", "This is the body of the mail." );       
    But the outlook new message window still opens...
    Any Idea's?
    Eran

  • Cannot send mail when out and about

    Hey all
    I recently got my Iphone4 and synced it to my mail on my computer. When using my iphone at home it send mail without a problems as it goes through my wifi I have. Internet is virgin media and mail is with windows mail by the way incase its important.
    When I am out and about I can recieve email without a problem but cannot send anything at all.
    What do I need to do so that I can send mail no matter where I am?
    Thanks
    Ant

    It's most likely exactly the same issue. Most ISPs only allow you to use their outgoing email server whilst connected to their internet service.
    With a mobile device like an iPhone you won't always be connected to your ISPs internet service. Sometimes it will be your mobile network provider (when on 3G), or on some other WiFi service like a public hotspot in Starbucks or McDonalds.
    When you are not connected to your ISPs internet service, you either have to use the SMTP server of the internet provider you are connected to (awkward to keep changing, even if you know it), or you "authenticate" your connection to your ISPs SMTP server (if they allow it) with a username and password so that they can verify it is you who is using their server and not some spammer.
    The best way to avoid all this, is to use an email provider that is totally independent of any internet provider and will therefore work from anywhere, regardless of how you are connecting to the internet.
    GMail and Apple's own MobileMe offer authenticated SMTP servers that work from anywhere.

  • Can't send mail error 550 and 554--unrecognized user or relay denied

    I've done a clean install of server 10.4.11. When I try to send mail from my mobile me account tot he server I am getting one of two different errors: 550 unknown user, or 554 relay access denied. I'm dog tired after an all-nighter and not thinking clearly.
    Here is my postconf -n output:
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = $myhostname,localhost.$mydomain,localhost,mail.trinidadchroniclenews.com,trinid adchroniclenews.com
    mydomain = mail.trinidadchroniclenews.com
    mydomain_fallback = localhost
    myhostname = mail.trinidadchroniclenews.com
    mynetworks = 127.0.0.0/8
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient sbl-xbl.spamhaus.org rejectrblclient list.dsbl.org rejectrblclient bl.spamcop.net permit
    smtpdpw_server_securityoptions = login
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_keyfile =
    smtpduse_pwserver = yes
    unknownlocal_recipient_rejectcode = 550
    TIA
    Rob

    The MX record for trinidadchroniclenews.com points to mail.trinidadchroniclenews.com which.
    Telnetting to this host on port 25 I get:
    220 orionwebhost.com ESMTP Exim 4.62 Fri, 28 Aug 2009 09:03:54 -0700
    Since Mac OS X Server runs Postfix and not Exim, either your DNS records are wrong or your ISP is intercepting port 25.
    HTH,
    Alex

  • Sending mail using IOS and alias

    I have an ipad and iphone that uses my name alias when I send mail "from" my devices and then my wife has an ipad and iphone that I would like for her to use her alias when she sends emails from her devices.  Currently even though I have both alias active to use with mail, when I select my alias on my devices it automatically uses that alias on my wife's devices.  She has to manually change the "from" address to her alias.  Is there a way to designate her alias as the "from" address on her device and I can use my alias in the "from" on my devices?  This is not a problem on my laptop using Maverick.

    http://forum.java.sun.com/thread.jsp?forum=43&thread=165268

  • Cannon Send Mail  (user name and password are incorrect) but they are correct

    My mom just got a new phone and I setup iCloud, but it will not send email, it says
    cannot send mail. The user name/ password for iCloud are incorrect, but they are correct

    I just found this so I answered my own question
    http://www.apple.com/asia/support/icloud/systemstatus/
    iCloud: Mail & Notes  -   Users Affected: <1% 13/04/2012 01:41 SGT Users may be unable to send or receive mail. Users can still access Mail on their Mac, PC, iOS device, or at iCloud.com. Normal service will be restored ASAP.

  • I can send mail through Safari and my iPad, but not through Mail.  Suggestions?  Connection doctor says I am connected to the Internet.

    I have checked the server, checked connections, still cannot send mail.

    It says:  "Cannot send message using server [email protected] (MobileMe)
    Connections to the server “smtp.me.com” on the default ports timed out.
    Select a different outgoing mail server from the list below or click Try Later to leave the message in your Outbox until it can be sent."
    The Connection Doctor says nothing is wrong and I am connected to the Internet.  (Thanks.)

  • Cannot receive or send mail,my setting and pass word are messed upare messed up

    cannot not send or receive mail,this is the first time ,iuse my imax,for this transaction.
    i tried resetting but ,nothing

    To anyone else reading the above question,
    The 'answer' to my 'problem' was solved by deleting my 'btinternet.com' e-mail account from my iPad.
    You can 're-install' it (as I did) using the 'Yahoo' option, instead of the 'Other' option,
    Go to: Settings;
    Go to Mail, Contacts and Calenders;
    Select ADD another account.
    Enter your previous Name, E-Mail Address, and Password, and Description (you can call it what you like), in the box provided.
    You SHOULD then see the word 'Verifying......' after you have selected 'next', and then after a few seconds you shoud see four blue tick marks confirming the 'verification' of your details.
    This is what happened the first at least eight times I re-installed my account in 'Other' after it had stopped working, and whenever I tried to SEND mail from ***********@btinternet.com, or REPLY to mail sent to me at the same address, I got the the error message:
    'Cannot Send Mail',
    'The username or password for SMTP: ***********@mail.btinternet.com' is incorrect'
    when the username or password were NOT incorrect.
    The next four or five times I tried to re-install the account I did not see the word 'verifying....' OR any of the blue tick marks, but I still received the e-mails again that were deleted when the account was deleted - though I still could not SEND or REPLY.
    Hope this helps
    Bob

  • Sending mail with Cc and copy in sent message box

    Since I have the last OS X 10.6.6 update, I dont receive anymore the Cc copy which I send to myself
    and have only the copy of the sent message in the sent box (messages envoyés)
    Similarly I cannot send a mail to myself as a verification process of my external mail provider. The copy is stored in the sent copy box, but it doesnt arrive in the in box (boite de reception)
    How can I get back to the former situation in which I could send copies to myself or send mail to myself
    Thanks for any hint
    Claude

    The first exception is this:
    http://java.sun.com/products/javamail/FAQ.html#norelay
    The second exception is probably due to a configuration error
    on the client. Turn on session debugging and the protocol
    trace will give some clues about what's wrong with the HELO
    command.

  • Problem sending mail with SMTP and SSL

    Hi,
    I am trying to send mail using JavaMail 1.4/jdk1.5 using ssl. I save the certificate by going into IE and exporting the certificate and added the certificate using the keytool to ${JAVA_HOME}/jre/lib/security/cacerts.I have also added this in the code using
    System.setProperty("javax.net.ssl.trustStore","${JAVA_HOME}/jre/lib/security/cacerts");But I am still getting the following error.
    DEBUG SMTP: trying to connect to host "XXXX", port 465, isSSL true
    DEBUG SMTP: exception reading response: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    Exception in thread "main" javax.mail.MessagingException: Exception reading response;
      nested exception is:
         javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
         at javax.mail.Service.connect(Service.java:275)
         at glycomics.common.util.SendMailUsingAuthentication.postMail(Unknown Source)
         at glycomics.common.util.SendMailUsingAuthentication.main(Unknown Source)
    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1485)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1468)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1394)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:86)
         at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
         at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
         at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
         ... 5 more
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:56)
         at sun.security.validator.Validator.getInstance(Validator.java:146)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:105)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:167)
         at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:678)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
         ... 10 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
         at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:103)
         at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:87)
         at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:54)Has anybody faced similar problem??Any suggestions??
    TIA
    M
    Message was edited by:
    c@de-m@nkey

    See SSLNOTES.txt and the JavaMail FAQ for debugging hints.
    If you turn on all the debugging output and still can't figure it out,
    you'll probably need to ask in some Java security forum. The
    problem is occurring when making the connection using SSLSocket,
    before any JavaMail code comes into play.

  • Send mail to blackberry and run application of po approval

    Hi Everyone,
    I have a requirement where whenevr a PO is created I need to send a Mail to Blackberry users with attachment and when they hit on the attachment a web dynpro application shuld run which shows the workitems and when hits on approve or reject the backend fm should get reflected too..
    Now that we have to create a application in webdynpro which shows the workitem and hit on workitem it should show two button approve reject ..
    On hit on approve it should show the next approval list ... and hit on any name , the backend should again send a mail to respective users .
    and process goes on ...
    I have no idea how to go abt this and how can we access an webdynpro application in blackberry
    also how to send mail to blackberry from back end..
    Regards,
    Raj

    Hi KS,
    very interesting thread.
    I dont knw the proper solution, but take a look to this blog, may be of some use.
    Sending SMS notification via business workflow
    I shall also watch this thread for our Gurus to answer.
    Aditya

  • Send Mail with xls AND pdf as attachment

    Hi there!
    I would lke to write a little program, which is able to send a xls-file AND a pdf-file within one mail.
    xls alone is already working fine, I'm using the method add_attachment of the class cl_document_bcs. But now I also want to add a pdf-File to this mail. The pdf file is on the local disk, so I'm uploading it via 'GUI_UPLOAD'. But now I have a problem because I don't know how I am able to add this to the mail.
    I hope you can help me!!
    Greetings,
    littlesam

    Hi,
    here a short extract:
    DATA: IT_BIN    TYPE SOLIX_TAB.
    DATA: WA_BIN    TYPE SOLIX.
    DATA: IT_LENGHT TYPE SO_OBJ_LEN.
    DATA: N10(10)   TYPE N.
    DATA: DOCUMENT  TYPE REF TO CL_DOCUMENT_BCS.
    DATA: WA_BCS    TYPE REF TO CX_BCS.
    DATA: ATT_TYPE  TYPE SOODK-OBJTP.
    DATA: SUBJECT   TYPE SO_OBJ_DES.
    DATA: P_FILE    LIKE RLGRAP-FILENAME VALUE 'C:\TEST.PDF'.
    DATA: FILE_NAME TYPE STRING.
    DATA: FILE_PATH LIKE PCFILE-PATH.
    *UPLOAD
    FILE_NAME = P_FILE.
    FILE_PATH = P_FILE.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
      EXPORTING
        FILENAME = FILE_NAME
        FILETYPE = 'BIN'
      CHANGING
        DATA_TAB = IT_BIN[].
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
      EXPORTING
        COMPLETE_FILENAME = FILE_PATH
      IMPORTING
        EXTENSION         = ATT_TYPE
        NAME              = SUBJECT.
    * ATTACHMENT
    DESCRIBE TABLE IT_BIN LINES N10.
    READ TABLE IT_BIN INDEX N10 INTO WA_BIN.
    N10 = ( N10 - 1 ) * 255 + STRLEN( WA_BIN ).
    IT_LENGHT = N10.
    TRY.
        CALL METHOD DOCUMENT->ADD_ATTACHMENT
          EXPORTING
            I_ATTACHMENT_TYPE    = ATT_TYPE
            I_ATT_CONTENT_HEX    = IT_BIN
            I_ATTACHMENT_SIZE    = IT_LENGHT
            I_ATTACHMENT_SUBJECT = SUBJECT.
    * Error abfangen
      CATCH CX_BCS INTO WA_BCS.
        WRITE: 'Fehler aufgetreten.'(001).
        WRITE: 'Fehlertyp:'(002), WA_BCS->ERROR_TYPE.
        EXIT.
    ENDTRY.
    You can use it for every local file
    Hope it helps.
    regards, Dieter

Maybe you are looking for

  • SOAP to RFC Scenario (automatic updation)

    Hi All, I have a requirement, i.e we have a web system. In that gold rates will update in every one hour. When ever the update will happen that should be update in SAP system via RFC call  automatically. Here sender side I am using SOAP adapter. I kn

  • Not overwriting server files still unresolved

    Reposted from a 2009 post in a 2007 thread: DW CS2 was overwriting server files on PUT all the time, and now sometimes doesn't. GoDaddy.COM tech support suggests it is likely a DW issue. I agree. I upload an update to a file already existing on the s

  • HP 6300 pro Multiple Monitor Issue

    Hello,  In office we are using 3 hp 6300 pro with 4 monitors for each. In each pc we have 2 output from graphic card, 1 from dvi and 1 from vga on board output to monitors. The problem is after the  every restart and normal starting process we can no

  • How to recreate sample basic

    Hi We deleted sample basic after we installed Essbase (11.1.1.3). Now some users want to have sample basic available to practice. Do anyone know how to recreate sample basic in Essbase? Thanks

  • Relocate a .mbox folder from Mailboxes

    I have one .mbox folder that is now in the default location of ~/Library/Mail/Mailboxes that contains confidential information. I would like to put this into a sparse image volume. Is there any way to tell Mail (3.6) to look elsewhere than the defaul