Maintaining Constant Sender Address in the Email of Batch Job

Hi,
I have created a smartform whcih will be sent via Batch job at a partcular time .And everytime the Sender Id is "BATCH.JOB". 
Actually the businesswants the sender address to be XYZ.com instead of BATCH.JOB
Iam using the below FM to send email.
Can anyone help in this issue.
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
     EXPORTING
          document_data              = l_doc_data_objl
         document_type              = 'RAW'
          put_in_outbox              = 'X'
     IMPORTING
          sent_to_all                = l_sent_all
     TABLES
          object_content             = l_contents
          receivers                  = l_receivers
     EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
Helpful answers will be rewarded.
Regards
Naveen

Hi,
Sorry for the delay. We can create a Outlook Inbox rule to achieve it. Please click Inbox > Rules > Manage Rules & Alerts > New Rule to create a rule with the following conditions and actions:
Please change “people or public group” to [email protected] and edit a specific template by clicking “a specific template” in the action part.
Hope it helps.
Regards,
Winnie Liang
TechNet Community Support

Similar Messages

  • TS3899 With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this pro

    With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this problem.

    Google them to confirm the settings that you need for the outgoing server, then check the setting you entered on the pad.  Pay real close attention to the outgoing server name, and port.  You may need to change in on the pad. 

  • Chaging the sender address in the function module

    Hi All,
    Can we change the sender address in the function module 'SO_NEW_DOCUMENT_SEND_API1' .
    Thanks & Regards
    Warun Kumar todimala

    Hi Vijay,
    Ima getting sy-subrc as 5 document_error when iam using this function module.
    Regards
    Warun

  • I cant get a photo project to email the moblile me address to someone else.  I know how, but it has stopped working for some reason.  Instead of pulling up the web address on the email form, it puts an error message?  Any ideas?

    I cant get a photo project to email the moblile me address to someone else.  I know how, but it has stopped working for some reason.  Instead of pulling up the web address on the email form, it puts an error message?  Any ideas?

    Michael,
    The link for the word 'HERE' directs to a Evergreen School District page, which outside of Mobile Me and/or Aperture. Your school district network might be intercepting the request from Aperture and displaying the 'network authentication page' that you see, instead of the email. I would get with the IT department to see if they can help you get around this.
    Have you also tried using the 'Tell a Friend' feature from another network location, like starbucks or your home?
    Cheers,
    Owen.

  • How to get the list of batch jobs running in a specific application server

    Hi Team,
    I am trying to check in SM37 if there is any specific condition to get the list of batch jobs assigned to a specific target server but cant find any.
    Is there is way to find the list of batch jobs assigned to run in one specific application server.( Target server specified in SM36 while job creation)

    Hello,
    This is what you can do in SM37.
    Execute the list of batch jobs, when the result appears on the screen edit the ALV grid via CTRL+F7.
    Now add the following columns "TargetServ" and "Executing server".
    You will now have two extra columns in your result list.
    TargetServr contains the value of the application server where the job should run when you have explicitely filled it in.
    Often this is empty, this means that at runtime SAP will determine itself on which application server the job will run (depending of course where the BGD processes are defined).
    Executing server is filled in always for all executed jobs, this is the actual application server where the job has run.
    You can also add these two fields in your initial selection screen of SM37 by using the "Extended job selection" button.
    I hope this isusefull.
    Wim

  • E72 - how to remove email addresses in the email c...

    The E72's email client seems to gather its own list of email addresses. This is over and above what is in your phone address book.
    Is there any way to clear out these? I have some which the email is no longer valid and its annoying (the company had a domain name change so first.last@ is the same but the @xxx.com has changed to @yyy.com and it sorts on alphabetical order of first.last and you have to be VERY careful not to accidentally send to the wrong invalid email address
    thanks

    In addition to using the Bcc header, you can create a Group in AddressBook, and put the name of the Group in the To header. Then if you have selected in Mail Preferences/Composing to not check the box beside When sending to a group, show all memberaddresses, then the To address will ready Undisclosed-recipients. Using the Bcc header requires one address in the To header that everyone will see, but that can be your own email address.
    Ernie
    Message was edited by: Ernie Stamper

  • When clicking on name in address book -the email address appears different in the email address bar and can't be sent -why?

    I have been using thunderbird for some years - in last month when I have been trying to send some emails I have a problem with some of them in that part of the email address has changed when I insert it ino the address bar and has inverted commas around the first part of the address before the @. I have tried deleting the addresses and re-inserting them but the same thing happens. If I go into the address bar and delete the commas the email is sent - can I overcome this problem without having to go into each email? I send out emails to many people and changing each one that has the problem takes a long time. Not every email address has this problem. Many thanks -Tim

    ok, I've spent some time doing various scenarios.
    I have managed to replicate one scenario which does as you say.
    If my contact in the address book:
    With name details as Peter Foo
    email address: [email protected]
    where there is an inserted space before the name peter, of course this is not instantly noticeable, but it is as if you hit the space bar just before typing the email address.
    Then when I use the Contacts Sidebar in a Write message, it will add the email address like this:
    Peter Foo <" peter"@somewhere.com>
    which of course in invalid.
    but in the address book, if highlight the contact, in the section below the email address in blue -if I click this to send an email the email address is printed exacly with the space and it will send as if nothing is wrong.
    So i'm asking you to check those email addresses which insert incorrectly via the Contacts sidebar. They only do this for me if there is a hidden inserted space at the start of the email address.

  • What is the "reply-to address" in the email config...

    Hi
    Since I failed miserably to get gmail working via POP3 on my 6280 (apparently because this handset does not support SSL on POP3 (which gmail requires) only TCP/IP, although neither vodafone or nokia cust serv could tell me this), I have resorted to using the somewhat clunky workaround of forwarding my gmail to my email account given by my service provider (vodafone).
    So, I have set this up to work through POP3 and it does (!). But when I reply to messages (that have been forwarded from gmail) the reply comes from the @vodafone.net address.
    And now (ta-daaa) my question. There is a setting in the mial configurations on the 6280 called "Reply-to address". I was (probably optimistically) hoping that this would enable me to send messages with a different 'reply to' address than the vodafone account it is actually coming from.
    Well, upshot is its not working, can anyone tell me what this setting is actually for? THe user guide is ambiguous fpor this field, simply stating "..the email address to which you want the replies to be sent".
    (I knew I should have gone for the n70)

    You don´t have to insert your e-mail adress in this field, if you don´t want to have the e-mail back to some other adress (that is the only purpose of this setting - just like in Outlook)
    The views I present are my OWN and not of any organisation I may belong too.

  • Need to send attachments in the email

    Hi,
    I'm trying to write lines in a file. Not all of my lines are not written into the file.
    So I'm writing line by line into the file whcih its failed at say 350lines. after that its no more writing the data.
    Please anybody let me know how i can write my data into a file (say 2GB) and send the same as an attachment in the mail.
    Thanks in Advance.
    [email protected]
    Here is the sample code which i'm using
    Declare
    Cursor C1 is
    Select * from my_table;
    line1     Varchar2(32767);
    heading1     Varchar2(32767);
    end_of_line     Varchar2(32767);
    fileHandler     UTL_FILE.FILE_TYPE;
    file_name     VarChar2(100);
    po_err_msg varchar2(1000);
    Begin
    --Open a file in my logical dir 'TEST_UTIL_DIR' for Write
         Select lpad(my_File_Seq.nextval,10,'0')||'.html' into file_name from dual;
         fileHandler     := UTL_FILE.FOPEN('TEST_UTIL_DIR', file_name, 'W');
         line1     := '<table border="1">';
    --Writing first line
         Utl_File.Put_Line(fileHandler,line1,False);
         heading1 := '<tr><td><b>'||'Emp No'||'</b></td><td><b>'||'Employee Name'||'</b></td><td><b>'||'Age'||
    '</b></td><td><b>'||'Gender'||'</b></td><td><b>'||'Relation'||'</b></td></tr>';
    --writing second line
         Utl_File.Put_Line(fileHandler,heading1 ,False);
         For i in C1
         Loop
              Begin
                   heading2      := '<tr><td>'||rpad(i.Emp_no,6,' ')||'</td><td>'||rpad(i.Emp_name,30,' ')||'</td><td>'||
                   rpad(i.Age,5,' ')||'</td><td>'||rpad(i.Gender,3,' ')||'</td><td>'||rpad(i.Relation,8,' ')||'</td></tr>';
    --in the loop
    --for each record
    --writing each record in the file
              Utl_File.Put_Line(fileHandler,heading2,False);
         Exception
              When Others Then
              Print(sqlerrm);
              End;
         End Loop;
         end_of_line     := '</table>';
         Utl_File.Put_Line(fileHandler,end_of_line,False);
         utl_file.fflush(fileHandler);
         UTL_FILE.FCLOSE(fileHandler);
    --sending the file as an attachment.
    demo_mail.send_email(
         P_DIRECTORY     =>'TEST_UTIL_DIR',
         P_SENDER     => 'From_user@my_Company.com',
         P_RECIPIENT     => 'to_user@my_Company.com',
         P_CC          => 'cc_user@my_Company.com',
         P_BCC          => 'bcc_user@my_Company.com',
         P_SUBJECT     => 'Testing in Development',
         P_BODY          => 'Please find the following attachments.',
         P_ATTACHMENT1     => file_name,
         P_ATTACHMENT2     => null,
         P_ATTACHMENT3     => null,
         P_ATTACHMENT4     => null,
         P_ERROR          => po_err_msg);
    Exception
    When others then
    Print(sqlerrm);
    End;
    /

    Numerous threads regarding this issue:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=attachments+in+the+email&objID=f75&dateRange=lastyear&userID=&numResults=15
    Greetings...
    Sim

  • How do i change the email address beside the email message box icon on the screen ?

    Hi i just got my first Blackberry. Only had it for one week and i think i messed it up. My wife has one and i wanted to input her address book into mine without loseing my info. I hooked both Blackberry s to the computer and use the desktop manager to import the info. I used the tranfer to a new Blackberry device option and i thought all was well until i looked into my address book and saw all my contacts where gone. I don t care about that there wasn t many of them and i can easily replace them but what is bothering me is her email address appears on the screen when i scroll over the email message inbox and its on the top of the email page. I get my emails not her s so its just the header in need changed so if anyone could help it would be great.
     Thanks Shaun
    Solved!
    Go to Solution.

    need to log into your BIS account and if your email is already setup, just push service books
    if not then you add your email here
    the easiest way to find your BIS site if you dont know it is through google
    google search:
    carriername bis
    example: verizon bis
    first link will be your bis site

  • Sender Name in The Email Functio Module

    Hi All,
    I have a requirement to change the sender name in the function module SO_NEW_DOCUMENT_SEND_API1 .
    By Default this function module takes the name of the sender from the log in id .
    Please suggest how I can do it...
    Thnks ...
    sahil

    Hi sahiil,
    I_OBJTXT = 'Find attached the output of the smartform.'.
    APPEND I_OBJTXT.
    I_OBJTXT = 'Regards,'.
    APPEND I_OBJTXT.
    I_OBJTXT = '  '.-----> sender name
    APPEND I_OBJTXT.
    Regards,
    Sravanthi

  • When I go to "manage my account" and I press the link at the bottom where it says to resend account information to an email address but the email isn't mine so what do I do

    When I go to "manage my account" and I press the link at the bottom where it says to resent account information to an email adress but the email isn't mine so what do I do?

    are you trying to reset your apple id??
    if you can use the email option use the security questions
    if you can not use that go to expresslane.apple.com -> go to itunes-> itunes store

  • Email in Batch Job

    Hello All,
    I need to set up a batch job and this would run daily. I can do this in SM36 and have done it.
    But the question is I have couple of email ID's from the company I am working in and some email ID's for a different company.
    The concern is when the JOB runs everyone has to receive a mail.
    Please suggest.
    Thanks.
    Shreekant

    If you want to send an internal SAP message into SAP Inbox, than it is possible:
    Please refer to this thread:
    Background scheduling
    I don't think we have any provision for the "Spool Recipient" for the external email id.
    Regards,
    Naimesh Patel

  • How to restrict the number of batch jobs used by middleware?

    Hi,
       I'm using middleware to replicate data which send IDOCs from one system to another. I know on source system, I can use SMQS to restrict the number of connections. But on target system, can I use any tool to restrict number of batch jobs? Because every time when replicating data, all batch jobs are occupied.
       Thanks a lot!

    Priya:
    It is likely that the BLOB content defined in your table is being stored 'Out-of-Line'. This means that the LOB columns are stored in segments of their own. These then are the segments that may need shrinking.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14249/adlob_tables.htm#i1006363
    Varad

  • Cant remember security questions  and it wont send it to the email? help plz! cause i cant download anything

    cant buy anything po'ed right now.

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' or 'iTunes Store account security' (it appears to vary by country) and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox).
    Or you could see if the second half of Kappy's reply in this thread helps : https://discussions.apple.com/message/20357006#20357006

Maybe you are looking for

  • How do I use color catridge to print in black?

    My black catridge ran out of ink so any tips? My printer is HP Deskjet Ink Advantage 2060 K110. When I print a document in black, it's blank. I tried printing a colored page but it's not the same color as the picture and seem to be lacking black.

  • MBP can't find SSD after kernel panic

    I installed a Crucial  M500 240GB SATA 2.5-Inch 7mm drive using an Other World Computing adapter into my MacBook Pro back in October.  It has been working very well until yesterday.  I typically leave my laptop on and just close the case.  When I ope

  • Bug in Contribute 6.5??

    We have installed Contribute 6.5 and it has been working fine until now. For some reason, the data files within a certain folder have become corrupt and each time you try to edit and then publish a page, the software creates draft copies of all the h

  • I down loaded itunes to my computer but it wont open

    okay i tried to downlad it and reinstall it about 6 or 7 times and it still is not working.... please help mee

  • Stream tv "plug in failure" issue

    I use the site stream-tv.co to stream shows... it has always worked in the past and recently i'm unable to view any of the shows. I have updated my Flash to v16 and my OS is up to date (OS X v10.9.5) and I've updated Flash Player as wel The video wil