Send an email  by using FM SO_NEW_DOCUMENT_SEND_APII

hi ,
I am able to send an email by using this FM.SO_NEW_DOCUMENT_SEND_API.
But now the requirement chnaged for to default the sender ID default.
I found that this is not possible by the current fm.
I sthere any other way to send an email with content in Body of email with sender address default.
Regards,
Esh

> I sthere any other way to send an email with content in Body of email with sender address default.
Hi Eswar.,
i didnt get you.,
Suppose if you looged in to user id E00593 and Send Mail ., From address will be  the email Id corresponding to E00593 ( you can see the Email Id for the user in SU01 Tcode )
When You send the Email using so_new_document_send_api1  the default sender address will come based on the logged In user Id.,
revert if you are asking about some other issue.,
hope this helps u.,
Thanks & Regards,
kiran

Similar Messages

  • When sending an email I used to be able to add a distribution list from my contacts, I now have to add each email address individually, does anyone know how I can add the whole list?

    When sending an email I used to be able to click on a distribution list in my contacts and it would add all the email addresses, I now have to add each email address individually and this takes a lot of time.  Could someone tell me how I can add a distibution list/group to my emails?

    Barney,
    I have four groups.
    I just typed the name of one of those groups in the To field on the iPhone's email, and received:
    Invalid Address
    "<group name>" does not appear to be a valid email address.  Do you want to send it anyway?
    I clicked continue and it remains in my outbox.
    Help is appreciated.
    Thanks,
    Michael

  • I want to build a website that can send out email automatically using c#

    I want to build a website that can send out email automatically using c# and sql server when a date has reached. I have googled but nothing works.
    http://www.quartz-scheduler.net/documentation/quartz-2.x/tutorial/using-quartz.html
    I came across this, but I am still unsure what to do. 

    I came across this, but I am still unsure what to do
    http://forums.asp.net/

  • Send multiple email attachments using FM SO_NEW_DOCUMENT_ATT_SEND_API1.How?

    Hi All,
    I have a requirement to send email to an external ID for which I am using FM SO_NEW_DOCUMENT_ATT_SEND_API1.Can anyone give a sample code to send multiple excel attachments using this function module.
    Points would be rewarded.
    Thanks
    Archana.

    Check the Thread,,
    Re: more than 1 attachements/sheets in SO_DOCUMENT_SEND_API1

  • Regarding Sending an email by using SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi Experts,
    I have tow internal tables like ...ITAB1 AND ITAB2.
    Is it possible to send an email with these two internal tables as attachments..like Attachment1...Itab1 and Attachment2...Itab2..
    Is it possible by using the FM SO_NEW_DOCUMENT_ATT_SEND_API1??
    Rgds,
    Sruthi.

    Hi Shruthi,
    You can use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send internal tables as attachment in mail.
    Plz check this link:
    https://wiki.sdn.sap.com/wiki/display/ABAP/Tosend2inttablesdataastwoattachmentstomailidoutsidesapsystem
    It will guide you in solving your problem.
    Thanks & regards,
    Sarita Singh

  • How to send the email without using SOST

    Hiiiiii Every1,
    What i m usiing is SO_NEW_DOCUMENT_SEND_API1 FM to send the email to internet add. as well as SAP User.
    The Problem is that i have to go to SOST to send the  Pending mails. and send the jobs manually.
    Then it works all right.
    What i want that i don't wnat to send this jobs/ emails mannually by going to SOST..
    Is it possible to do it without using SOST.

    hi
    i am not sure but give this code a try
    REPORT YEMAIL.
    TABLES: USR02.
    DATA: C(15).
    DATA: SENT LIKE SONV-FLAG.
    DATA: EMAIL_ID LIKE SOFOLENTI1-OBJECT_ID.
    DATA: BEGIN OF EMAIL_DATA.
            INCLUDE STRUCTURE SODOCCHGI1.
    DATA: END OF EMAIL_DATA.
    DATA: BEGIN OF EMAIL_SEND OCCURS 10.
            INCLUDE STRUCTURE SOMLRECI1.
    DATA: END OF EMAIL_SEND.
    DATA: BEGIN OF EMAIL_TEXT OCCURS 10.
            INCLUDE STRUCTURE SOLISTI1.
    DATA: END OF EMAIL_TEXT.
    PARAMETERS: ALL__CLI RADIOBUTTON GROUP RADI.
    PARAMETERS: THIS_CLI RADIOBUTTON GROUP RADI.
    PARAMETERS: SELECT__ RADIOBUTTON GROUP RADI.
    SELECT-OPTIONS SEND_TO FOR C NO INTERVALS.
    SELECTION-SCREEN SKIP.
    PARAMETERS: SUBJECT(30).
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN COMMENT /1(20) TEXT-999.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L1(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L2(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L3(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L4(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L5(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L6(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L7(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L8(84).
    SELECTION-SCREEN END OF LINE.SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: L9(84).
    SELECTION-SCREEN END OF LINE.
    EMAIL_TEXT-LINE = L1.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L2.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L3.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L4.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L5.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L6.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L7.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L8.
    APPEND EMAIL_TEXT.
    EMAIL_TEXT-LINE = L9.
    APPEND EMAIL_TEXT.
    EMAIL_DATA-OBJ_NAME = 'MESSAGE'.
    EMAIL_DATA-OBJ_DESCR = SUBJECT.
    EMAIL_DATA-OBJ_LANGU = 'E'.
    EMAIL_DATA-SENSITIVTY = 'P'.
    EMAIL_DATA-OBJ_PRIO =  '1'.
    EMAIL_DATA-NO_CHANGE = 'X'.
    EMAIL_DATA-PRIORITY = '1'.
    BREAK-POINT.
    IF SELECT__ = 'X'.
      LOOP AT SEND_TO.
        EMAIL_SEND-RECEIVER = SEND_TO-LOW.
        EMAIL_SEND-REC_TYPE = 'U'.
        EMAIL_SEND-EXPRESS = 'X'.
        APPEND EMAIL_SEND.
      ENDLOOP.
    ELSEIF THIS_CLI = 'X'.
      SELECT * FROM USR02.
        IF USR02-USTYP = 'A' AND USR02-BNAME NE 'SAP*'
        AND USR02-BNAME NE 'DDIC'.
          EMAIL_SEND-RECEIVER = USR02-BNAME.
          EMAIL_SEND-REC_TYPE = 'U'.
          EMAIL_SEND-EXPRESS = 'X'.
          APPEND EMAIL_SEND.
        ENDIF.
      ENDSELECT.
    ELSEIF ALL__CLI = 'X'.
      SELECT * FROM USR02 CLIENT SPECIFIED.
        IF USR02-USTYP = 'A' AND USR02-BNAME NE 'SAP*'
        AND USR02-BNAME NE 'DDIC'.
          EMAIL_SEND-RECEIVER = USR02-BNAME.
          EMAIL_SEND-REC_TYPE = 'U'.
          EMAIL_SEND-EXPRESS = 'X'.
          APPEND EMAIL_SEND.
        ENDIF.
      ENDSELECT.
    ENDIF.
    BREAK-POINT.
    EXIT.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA              = EMAIL_DATA
              DOCUMENT_TYPE              = 'RAW'
              PUT_IN_OUTBOX              = 'X'
         IMPORTING
              SENT_TO_ALL                = SENT
              NEW_OBJECT_ID              = EMAIL_ID
         TABLES
              OBJECT_CONTENT             = EMAIL_TEXT
              RECEIVERS                  = EMAIL_SEND
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
              DOCUMENT_NOT_SENT          = 2
              DOCUMENT_TYPE_NOT_EXIST    = 3
              OPERATION_NO_AUTHORIZATION = 4
              PARAMETER_ERROR            = 5
              X_ERROR                    = 6
              ENQUEUE_ERROR              = 7
              OTHERS                     = 8.
    regs
    Arun

  • How to send the email without using server side (Php, java)

    How to send the (Run time image or file) Email & Attachment in Flex web application. without using php, java.

    Well, at some point your email needs to be handed over to an SMTP server. It's a fair amount of work, but if you want to just send an email you could open a socket to a mail server's SMTP port and follow the SMTP protocols to send your email.
    ActionScript sockets: http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7cf7.html
    SMTP protocol: http://tools.ietf.org/html/rfc821
    -- Tom

  • My N9 can't send a email via using icloud smtp ser...

    I follow the guideline from iCloud mail server information to setup email account, but every time i was trying to send an email, a pop-up message show : 'Can't connect to SMTP server :" smtp.mail.me.com" or it doesn't exist '. Everyone can help me to configure out why? Thank you so much!

    N9 imap mail sending does not work with .mac/.me (iCloud) mail. I have these settings (automatic and also manually set from Apple page).
    Mails stays at outbox with smtp server error (lates N9 update)
    SMTP (outgoing mail server) information:
    Server name: smtp.mail.me.com
    SSL Required: Yes
    Port: 587
    SMTP Authentication Required: Yes
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    http://support.apple.com/kb/HT4864

  • HELP. Using iCal to send timed emails - I used to be able to do this...

    Ok - there's a chance I've gone completly mad - or I just dreamt this - but: Once upon a time I used iCal to send timed emails (with Mail) to outside addresses without the emails looking like they came from iCal.
    I did this for things like 'calling' in sick to work (therefor looking like I was up at 8:15 being ill, instead of sleeping comfortably in hung over splendor) or sending out parts of work throughout the workday (instead of when I'd actually completed them at three in the morning).
    This was very useful.
    I just can't now figure out how I did this.
    Has one of the iCal updates removed this function? Is there something obvious I've forgotten?
    I seem to remember using iCal to trigger a file that in turn sent the email - but again I can't trust my memory.
    Anyone have any hints or ideas? I'm driving my self mad on this one.

    Neal,
    I am in the same predicament. I would essentially like to accomplish the same deal, as seen below. . . (from another forum that went unanswered.)
    I use iCal (1.5.5/ 2.0.3) currently but own Entourage (11.2.1) as well. I have clients that I service on a weekly or biweekly basis whose appointments are in my iCal; I call and remind them the day before. The majority of these people are great about checking email. I would like to set up an automated email reminder which is sent to them for each appointment, two days in advance that does not contain an .ics file. Many times my clients' email app has junked the message due to the small attachment. Others don't want to open a file when they don't know what it is.
    Predetermined timed stamped/Automated iCal events are possible aren't they?! If not, do I have to move over to :dreaded Entourage?

  • Is it possible to send encrypted email messages using cfmail ?

    Does anyone know of a way to send an encrypted email message
    using CF?

    Sending an encrypted message is easy. The hard part is
    enabling the recipient to decrypt it.

  • Send BLOB email attachmnet using UTL_MAIL

    Dear All
    I have used below procedure to send email attachment using utl_mail utility. In this scenario, attachment saved in oracle directory.
    Now I wanted to attached file saved in table level as BLOB.
    Could you pls let me know how to read BLOB and attache to UTL_MAIL? kindly provide what modification required for below procedure.
    ->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    create or replace procedure att_test as
         v_utl_filehandler     UTL_FILE.FILE_TYPE;
         v_rawfile               RAW(32767);
    v_size                    NUMBER;
    v_block                    NUMBER;
    v_boolean               BOOLEAN;
         v_file_dir               varchar2(100);
         v_file_name               varchar2(100) := 'g.txt';
         v_transfer_location varchar2(100) := '[email protected]';
    begin
    v_file_dir := 'ORA_DIR';
    v_utl_filehandler := UTL_FILE.FOPEN(v_file_dir, v_file_name, 'r');
    UTL_FILE.fgetattr(v_file_dir, v_file_name, v_boolean, v_size, v_block);
    UTL_FILE.get_raw(v_utl_filehandler, v_rawfile, v_size);
    UTL_FILE.FCLOSE(v_utl_filehandler);
    sys.utl_mail.send_attach_raw( sender => '[email protected]'
    , recipients => v_transfer_location
    , subject => 'Legion BDS - Transfer Billing Group File'
    , message => 'Dear Client'||CHR(13)||CHR(13)||
    'Please find attached this periods billing file.'||CHR(13)||CHR(13)||
    'If you have any issues with this billing file please contact the Legion BI Team on [email protected]'||CHR(13)||CHR(13)||
    'Cheers'||CHR(13)||
    'BI-TEAM'||CHR(13)||CHR(13)
    , attachment => v_rawfile
    , att_inline => FALSE
    , att_filename => v_file_name
    end;
    <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

    You could use UTL_MAIL, but keep in mind that it's limited to 32K.
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:494228200346768899

  • Sending Formated email content using Mail Adapter !

    Hi,
    I would like to send email notification to customer using mail adapter, could you please to advise how to prepared the content of the email with little bit formated like sample below :
    Dear Madam / Sir
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxx :
    yyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
    Best Regards,
    Since the constant function only can accept single line, how i can add change line.
    thank you and Best Regards
    Fernand

    Hi Fernand,
    There are a couple of blogs in SDN regarding sending formatted mail using Mail adapter. I guess there is one written by Prakash Arunachalam. Just do a search and it will give you some idea on using XSLT to achieve the result.
    If all you need is multi line in the content, use a UDF and use \n when ever you need a new line and \t for tab space.
    Regards,
    Jaishankar

  • I have taken off/turned off iCloud on my mac mini but when I write an email   and use contacts it will convert a non iCloud email to and iCloud email automatically.  I really don't want this. Any way to stop this automatic conversion?

    I have taken off/turned off iCloud on my mac mini (OS 10.8) but when I send an email and use contacts , it will convert the non - iCloud email to an iCloud email automatically.  Anyway to stop this automatic conversation?    

    Robert...
    the iCloud webserver wont accept my password for a .mac login, nor will it allow me to change it
    See if you can change your password >  Apple - My Apple ID
    If that doesn't help, launch iTunes on your computer.
    From the iTunes menu bar click iTunes / Preferences then select the Advanced tab.
    Click: Reset warnings and Reset cache
    Click OK.
    Restart your computer.
    If that that doesn't help...
    Moreover, when I try to go into my .mac account on the web,
    Delete all apple cookies and empty your browser cache.
    See if  you can access your account at iCloud.com

  • Can i send html emails from my Nokia 5530XM?

    Hi,
    I thought I had a font problem with the emails I sent but I´ve realized that emails sent from the phone are plain text with a UTF8 encoding.
    Is there any way I can send html emails, maybe using a different font for sending then? I use the inbuilt messaging that came from the phone, i´ve read somewhere around there´s a Nokia email client application, but I don´t know where to find it, if it can be used on a Nokia 5530 and if it does, can both Messaging and email clients coexist?
    Thanks in advance for your help and best regards,
    L.

    According to AOL they support IE, Firefox, and Safari: http://help.aol.com/help/microsites/microsite.do?cmd=displayKC&docType=kc&extern alId=73451
    Have you tried contacting there support to see if they are aware of the issue: http://help.aol.com/help/microsites/microsite.do

  • Why can't I send an email in Mail Version 7?

    With Mavericks 10.9.4 my Verizon account can receive email but I cannot send an email when using Mail v.7.3 (1878.6). The error messages always include: "Could not connect to this SMTP server" or mention a time-out. Are there any suggestions for me? Network Diagnostics show no problems. Thank you so much.

    An update: I adjusted my modem firewall settings and now Network Utility says Port 587 is open but Mail Connection Doctor says "Could not connect to this SMTP server..." My network connection is OK & Account Preferences have the correct info. Would you have any suggestions at this point? Thank you.

Maybe you are looking for

  • License Problem in Abap+java stack

    Hello, I have installed my SAP XI/PI System with ABAP+JAVA Stack. I have applied SAP license at ABAP Stack using slicense for web as abap+java, so is there any need to apply license again for java stack, because when i am checking in Visual Admin und

  • XML style sheet error at Validate step in FDM for few locations

    Hi All, Users are facing the "XML page cannot be displayed - The style sheet doesnot contain a document element. The style sheet may be empty, or it may not be weel-formed XML document.." for very fre locations while validating the data. Please advis

  • ADS FP_TEST_00 no response

    hi, when I test report FP_PDF_TEST_00. it's ok when I check rfc ADS. it's ok when I test FP_TEST_00. The session still active but I can reveive hang and nothing arrive. I should cancel transaction. no trace . the program attemps reponse in function m

  • Syslog messages not showing

    Hello, I have a newly installed LMS 4.1 that had the Syslog feature working for a while. Recently, the Syslog is no longer displaying any records (neither new or old messages). Below are the steps I have tried to troubleshoot the problem: - Installed

  • Premiere Pro CC 2014 is overwhelming computer

    Hey guys, This is my first post, so please excuse if I've put this in the wrong place, asked a common question, etc. I looked and couldn't find any helpful answer. I have a mac mini with 16g ram and a quad core. It's a pretty capable machine and hand