PO mail output sender set as po release person, how to changet mail sender?

Hi expert
Now we setup po mail output. But we found when po released, the release person become the po mail sender. this is not we wanted. We checked with sap, they mentioned this is current sap logic. there is one function which need add some program , but sap doesn't support it.
So we hope to check if there is any user exit, We hope to select purhcase group id 's mail address as po mail sender, But which user exit could work for this po output send? 
Thanks
Alice

Hi....
Did you get any solution to your problem ? If yes, can you please share the same with me ?
I have a similar requriement from my customer, but am not able to figure out how to do this.
Thanks in advance,,,,,Devendra

Similar Messages

  • I can only send a message to one person when I try to send a message to someone else it fails my message. I don't know what to do?

    Can anybody help me Or figure out why it will only let me send to one person?

    iMessage only works between other Apple iDevices.
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Sending marketing campaigns to contact persons - How?

    Hey guys,
    what I want to do is to use the functionality in the web ui, where you can build out of your target group (which includes organizational accounts) another target group (which includes the contact persons of the organizational accounts of the first target group). I think I almost figured it out, with the help of you, how this can achieved but please send me a reply to verify or correct my assumptions about the process.
    1. In case I want to search for attributes of contact persons (who belong to an organization) I have to set up the following:
    I used the standard infoset "CRM_MKTTG_BP_ORG" (BP: Contact persons relations of organization), created a Data source of this. I created an attribute list of this data source and I created the filter for the fields "BP category" (as value = organization) and filter "BP relationship category" ( as value = has contact person ).
    SAP told me to create those two filters. I do not really get here why I have to set those two filters. I got the same results by using the combination 'has contact person AND organization AND filter X' or 'has contact person AND filter X' or 'organization AND filter X'. Please explain to me the differences!. Please explain to me the differences!!!!
    My result is that I get all contact persons with this attribute I was searching for right? So am I right, that this option helps me to find all contact persons who belong to a certain attributes but NOT filters all organizations with a certain attribute and then gives me the associated list with contact persons for it?
    2. In case I want to search for attributes attached to organizations and then to give me a list with the contact persons of those organizations I have to set up the following:
    a) For an Attribute Set
    If I want to use attribute set of an organization, for my data source, I should use
    Segmentation object - business partner
    Origin type - attribute set
    Attribute set - Your custom attribute set for Org
    Function module - CRM_MKTTG_PF_BP_TAB_TO_CP
    Create an attribute list based on the data source created. This will also give the list of contact persons for organizations, as a result of segmentation process.
    b) For an Info Set
    If I want to use an Info Set instead of an Attribute Set I have to do almost the same
    Segmentation object - business partner
    Origin type u2013 Info Set
    Attribute set u2013 Info Set X
    Function module - CRM_MKTTG_PF_BP_TAB_TO_CP
    Create an attribute list based on the data source created. This will also give the list of contact persons for organizations, as a result of segmentation process.
    Did I understand the process correct?? Please correct me when I got anything wrong, especially with the filters and the AND combination of the first option.
    3. I heard something as well about a segmentation basis. *How would I do the segmentation based on the segmentation basis?* Would I need t choose valid for Segment Member Relationships? What does this mean and how exactly would I need to build my segmentation basis? What result would I get?
    I created two segmentation basis, one which only includes organizations and one which only includes persons. So in case I would choose "valid for Segment Member Relationships" and not "segmentation members" I would additionally to, lets say all organizations, get contacts which have the attributes of the profil I want to create?
    But I cannot use "valid for Segment Member Relationships" if I want to have ONLY the contacts of organizations and persons right? It is nothing similar as the option with including the function module in the attribute set or info set and then I get the contacts based on a target group of organizations right?
    Thanks for your help.
    Best regards,
    Janine

    Hey guys,
    what I want to do is to use the functionality in the web ui, where you can build out of your target group (which includes organizational accounts) another target group (which includes the contact persons of the organizational accounts of the first target group). I think I almost figured it out, with the help of you, how this can achieved but please send me a reply to verify or correct my assumptions about the process.
    1. In case I want to search for attributes of contact persons (who belong to an organization) I have to set up the following:
    I used the standard infoset "CRM_MKTTG_BP_ORG" (BP: Contact persons relations of organization), created a Data source of this. I created an attribute list of this data source and I created the filter for the fields "BP category" (as value = organization) and filter "BP relationship category" ( as value = has contact person ).
    SAP told me to create those two filters. I do not really get here why I have to set those two filters. I got the same results by using the combination 'has contact person AND organization AND filter X' or 'has contact person AND filter X' or 'organization AND filter X'. Please explain to me the differences!. Please explain to me the differences!!!!
    My result is that I get all contact persons with this attribute I was searching for right? So am I right, that this option helps me to find all contact persons who belong to a certain attributes but NOT filters all organizations with a certain attribute and then gives me the associated list with contact persons for it?
    2. In case I want to search for attributes attached to organizations and then to give me a list with the contact persons of those organizations I have to set up the following:
    a) For an Attribute Set
    If I want to use attribute set of an organization, for my data source, I should use
    Segmentation object - business partner
    Origin type - attribute set
    Attribute set - Your custom attribute set for Org
    Function module - CRM_MKTTG_PF_BP_TAB_TO_CP
    Create an attribute list based on the data source created. This will also give the list of contact persons for organizations, as a result of segmentation process.
    b) For an Info Set
    If I want to use an Info Set instead of an Attribute Set I have to do almost the same
    Segmentation object - business partner
    Origin type u2013 Info Set
    Attribute set u2013 Info Set X
    Function module - CRM_MKTTG_PF_BP_TAB_TO_CP
    Create an attribute list based on the data source created. This will also give the list of contact persons for organizations, as a result of segmentation process.
    Did I understand the process correct?? Please correct me when I got anything wrong, especially with the filters and the AND combination of the first option.
    3. I heard something as well about a segmentation basis. *How would I do the segmentation based on the segmentation basis?* Would I need t choose valid for Segment Member Relationships? What does this mean and how exactly would I need to build my segmentation basis? What result would I get?
    I created two segmentation basis, one which only includes organizations and one which only includes persons. So in case I would choose "valid for Segment Member Relationships" and not "segmentation members" I would additionally to, lets say all organizations, get contacts which have the attributes of the profil I want to create?
    But I cannot use "valid for Segment Member Relationships" if I want to have ONLY the contacts of organizations and persons right? It is nothing similar as the option with including the function module in the attribute set or info set and then I get the contacts based on a target group of organizations right?
    Thanks for your help.
    Best regards,
    Janine

  • How to configure Mail Services in B1

    Hi All,
    I want to cinfigure the mail services in SAP B1 currently I am using SAP 2007 SP00 PL 12 My client wants that the daily reports and the Sales order should be mailed by B1 to cuntomer mail id. PLease tell the process to how to configure mail services in B1.
    Thanks & Regards
    pankaj Sharma.

    Hi Pankaj Sharma,
    The suggestion above would be a good solution to you.  However, if you do not want to use this add-on, you may just configure SBO-Mailer to perform the task. You may check all available setting for the mailer and read through Administrator Guide for how to set it up.
    Thanks,
    Gordon

  • How to find out sender query by using receiver query in RRI

    Hi,
    I have do some assignment settings .I know receiver query name ,but i don't know sender query name .
    please suggest me how to find out sender query name .
    is there any table /t-code ?
    Thanks,
    EDK.....

    Hello,
    If the receiver query is web report, then goto table RSBBSQUERY and in RONAM field put the web report name.
    You will get the sender query UID in the field ELTUID.
    Now take this UID and goto table RSRREPDIR and put this UID in COMPUID and you will get the query name.
    If the reciever query is bex query then get the UUID as above from RSRREPDIR by providin the tech name and then go to table RSBBSQUERY to get the UID of the sender query.
    Regards
    Shashank

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • Send bulk mails to a set of addresses

    Hi,
    I need to start my coding with the independent tool notification engine. So I need to do a bit R & D into writing an application which sends bulk mails to a set of addresses (could be in thousands).So how to send mails to addresses so that the system does not hog, nor should it long time to send such mails.
    Any one got the solution, please help me.
    Thanks
    Ramya

    Hi,
    As Martin mentioned, you can use transport rule to achieve your requirement ,
    The following screenshot for you reference:
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Problen when Sending the text file as attachment to the external mail

    HI,
    I am sending the text file as an attachment to a aexternal mai. mailing is going with text file attachment, but text file is empty. No information in the file is going, only empty text file is going. I am sending the code  iam using. Please suggest, if I need to change any passing parameters orany other other solution.
    tables: knb1,kna1,adr6,ITEMSET,bsid,TSP01.
               INTERNAL TABLES
    DATA: BEGIN OF it_kna1 occurs 0,
            KUNNR LIKE KNA1-KUNNR,
            ADRNR LIKE KNA1-ADRNR,
          END OF it_kna1.
    DATA: BEGIN OF it_email occurs 0,
            ADDRNUMBER LIKE ADR6-ADDRNUMBER,
            SMTP_ADDR LIKE ADR6-SMTP_ADDR,
          END OF it_email.
    DATA: BEGIN OF it_bsid occurs 0,
           KUNNR LIKE BSID-KUNNR,
           BUKRS LIKE BSID-BUKRS,
         END OF it_bsid.
    DATA: BEGIN OF it_final occurs 0,
            KUNNR LIKE KNA1-KUNNR,
            ADRNR LIKE ADR6-ADDRNUMBER,
            EMAIL LIKE ADR6-SMTP_ADDR,
          END OF it_final.
    DATA: BEGIN OF BUFFER OCCURS 10000,
              TEXT(255) TYPE C,
            END OF BUFFER.
    data:xtext type solix_tab." occurs 0 with header line."line.
    data:xi_pdf type soli_tab.
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2  WITH HEADER LINE,
          OBJHEAD LIKE SOLISTI1   OCCURS 1  WITH HEADER LINE,
          OBJBIN  LIKE SOLISTI1   OCCURS 0  WITH HEADER LINE,
          OBJTXT  LIKE SOLISTI1   OCCURS 10 WITH HEADER LINE,
          RECLIST LIKE SOMLRECI1  OCCURS 5  WITH HEADER LINE,
          DOC_CHNG  LIKE SODOCCHGI1,
         PARAMS   LIKE PRI_PARAMS,
         ARPARAMS LIKE ARC_PARAMS,
         DAYS(1)  TYPE N VALUE 8,
         COUNT(3) TYPE N VALUE 1,
         VALID    TYPE C,
         RECEIVER(30),
         STR(256).
    data:  spoolid    type tsp01-rqident,
           pdf_table like tline occurs 0 with header line,
           v_bytecount type i,
           itab_pdf like tline occurs 10 with header line,
          xi_pdf  like tline occurs 0 with header line,
          xi_pdf  like buffer occurs 0 with header line,
           xi_pdf_1 like xi_pdf,
           v_length(2) type p,
           html  like solisti1   occurs 0  with header line,
           xi_temp      like bapiqcmime occurs 0 with header line,
           xi_mime(255) type c occurs 0 with header line.
              VARIABLES
    data: g_email type adr6-smtp_addr,
          TAB_LINES LIKE SY-TABIX,
          G_FLAG(1) TYPE C.
         g_norm(1) TYPE C,
         g_shbv(1) TYPE C,
         g_merk(1) TYPE C,
         g_park(1) TYPE C,
         g_apar(1) TYPE C.
    data: l_lines     type i,
          line1       type i,
          l_temp(500) type c,
          l_offset    type p,
          l_lineslen(2) type p,
          l_mimelen(2)  type p,
          v_spono like tsp01-rqident,
          l_tabix       like sy-tabix.
    *****VIA SELECTION-SCREEN
    ENDFORM.                    " SEND_TO_SPOOL
    *&      Form  GET_SPOOL_ID
    *&      Form  CONVERT_SPOOL_TO_PDF
    *&      Form  SEND_MAIL
    FORM SEND_MAIL .
      data:l_lin  like sy-tabix,
            l_lint like sy-tabix,
            it_list like abaplist occurs 0,
            l_newline(2) type x value '0D0A'.
    *--Data for the status output after sending
      data: user_address like sousradri1 occurs 1 with header line,
            sent_to_all like sonv-flag.
      clear: reclist, reclist[],
             objtxt , objtxt[],
             objpack, objpack[],
             objbin , objbin[],
             doc_chng.
    *--move list to office table objbin
    *--Start of Changes to support PDF attachments - UB20030116
    loop at html.
       objbin-line = html-line.
       append objbin.
       clear objbin.
    endloop.
    loop at xi_pdf.
       objbin-line = xi_pdf-text.
       append objbin.
       clear objbin.
    endloop.
    *--We may write additional text to the main document
    *--For faxing this will be the cover page. Like sending from SAPoffice
    *--the layout set Office-Telefax will be used.
      objtxt-line = 'NOTE : Please Consider the below Headers'.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Assignment -->  Purchase order number '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Document  -->   Invoice No '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Amount In DC --> Amount Due '.
      append objtxt.
      clear objtxt.
      objtxt-line = '                                            '.
      append objtxt.
      clear objtxt.
      objtxt-line = '                                            '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'Please find attached statement for this week'.
      append objtxt.
      clear objtxt.
      objtxt-line = '                                            '.
      append objtxt.
      clear objtxt.
      objtxt-line = 'This is an AUTO GENERATED MAIL'.
      concatenate objtxt-line 'Please Do not reply to this mail' into
      objtxt-line separated by ' '.
      append objtxt.
      clear objtxt.
      describe table objtxt lines tab_lines.
      read table objtxt index tab_lines.
    *--Create the document which is to be sent
    doc_chng-obj_name  = 'List'.
      doc_chng-obj_name = 'SAPRPT'.
    doc_chng-obj_descr = 'Customer statement for the week'.
      concatenate 'Customer statement for '
                  sy-datum into
                  doc_chng-obj_descr
                  separated by ' '.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + strlen( objtxt ).
    *--Fill the fields of the packing_list for the main document:
    *--It is a text document
      clear objpack-transf_bin.
    *--The document needs no header (head_num = 0)
      objpack-head_start = 1.
      objpack-head_num = 0.
    *--but it has a body
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
    *--of type RAW
      objpack-doc_type = 'RAW'.
      append objpack.
    *--Create the attachment (the list itself)
      describe table objbin lines tab_lines.
    *--Fill the fields of the packing_list for the attachment:
    *--It is binary document
    objpack-transf_bin = 'X'.
    *--we need no header
      objpack-head_start = 1.
      objpack-head_num = 0.
    *--but a body
      objpack-body_start = 1.
      objpack-body_num = tab_lines.
    *--of type G_DOC_TYPE
    objpack-doc_type = 'PDF'. "commented on 12/13/2007
      objpack-doc_type = 'TXT'. "commented on 12/13/2007
      objpack-obj_name = 'Attachment'.
    objpack-obj_descr = 'Customer Statement'.
      concatenate 'Customer Statement' sy-datum into objpack-obj_descr.
      objpack-doc_size = tab_lines * 255.
      append objpack.
      reclist-receiver = g_email.
      reclist-rec_type = 'U'.
    reclist-com_type = 'FAX'.
      append reclist.
      data:xi type soli.
    xi-line = 'haisdgsfsdf'.
    append xi to xi_pdf.
    xi-line = 'haisdfdsfd'.
    append xi to xi_pdf.
    xi-line = 'haisfgsdfsd'.
    append xi to xi_pdf.
    xi-line = 'haisdfsgfsdgg'.
    append xi to xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    *xi_pdf-text = 'hai'.
    *append xi_pdf.
    CALL FUNCTION 'SO_SOLITAB_TO_SOLIXTAB'
        EXPORTING
          ip_solitab        = xi_pdf[]
       IMPORTING
         EP_SOLIXTAB       = xtext[].
    **--Send the document by calling the SAPoffice API1 module for sending
    **--documents with attachments
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = doc_chng
          PUT_IN_OUTBOX              = 'X'
         COMMIT_WORK                = 'X'
        IMPORTING
          sent_to_all                = sent_to_all
        TABLES
          packing_list               = objpack
          object_header              = objhead
         contents_bin               = objbin
          contents_txt               = objtxt
          contents_hex               = xtext
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          others                     = 99.

    HI,
    There are lots of bugs.
    Please refer this sample program to fix it.
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    Best regards,
    Prashant

  • Configuring cronie for mailing output [solved]

    Hi,
    I am having a hard time setting up cronie for mailing output. Jump to the last sentence for the actual question.
    From man 8 cron, I read that the -m option "allows you to specify a shell command to use for sending Cron mail output instead of using sendmail(8). This command must accept a fully formatted mail message (with headers) on standard input and send it as a mail message to the recipients specified in the mail headers". I do have msmtp installed. I can do this and receive email successfully:
    $ msmtp -t << eof
    > To: <my address>@gmail.com
    >
    > test
    > eof
    Thus I know that msmtp -t is the command I must provide with the -m option.
    Then, I followed these instructions and created /etc/systemd/system/cronie.service.d/mailing.conf which contains:
    [Service]
    ExecStart=
    ExecStart=/usr/bin/crond -n -m 'msmtp -t'
    Note: the first, empty ExecStart cancels the former one from the original .service file.
    After starting cronie.service, this is the result of systemctl status cronie.service:
    cronie.service - Periodic Command Scheduler
    Loaded: loaded (/usr/lib/systemd/system/cronie.service; enabled)
    Drop-In: /etc/systemd/system/cronie.service.d
    └─mailing.conf
    Active: active (running) since Mon 2013-06-24 22:58:24 EDT; 2s ago
    Main PID: 1457 (crond)
    CGroup: name=systemd:/system/cronie.service
    └─1457 /usr/bin/crond -n -m msmtp -t
    Jun 24 22:58:24 electron systemd[1]: Started Periodic Command Scheduler.
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (Syslog will be used instead of sendmail.)
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (running with inotify support)
    Jun 24 22:58:24 electron crond[1457]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
    It seems that systemd drops the single quotes and takes -t as it's own parameter instead of passing it to msmtp. You can also see that crond logged "Syslog will be used instead of sendmail". I can actually see the output of my commands in /var/log/crond.log. How should I quote the space between msmtp and -t in the ExecStart line of my .service file?
    Last edited by a_neutrino (2013-06-30 21:54:53)

    Hi,
    Thanks a lot for your help. The issue is [solved].
    dif wrote:You have to create a file /etc/aliases that holds the addresses where e-mail notifications will be sent to when a user's cronjob creates an output.
    It seems unnecessary. The MAILTO variable set in the crontab accepts a complete email address.
    dif wrote:Contrary to Wiki, there are no commas separating e-mail addresses if there are a few in a line.
    The msmtp man page also says to put commas.
    dif wrote:
    There is a special script distributed with Arch that is able to scan /etc/aliases for a valid domain address and then calls msmtp. Here is its path
    /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh
    Copy it to /usr/bin/ and create a simlink:
    sudo cp /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh /usr/bin/find_alias_for_msmtp.sh
    sudo ln -s /usr/bin/find_alias_for_msmtp.sh /usr/bin/sendmail
    Why didn't you just :
    chmod +x /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh
    ln -s /usr/share/doc/msmtp/find_alias/find_alias_for_msmtp.sh /usr/bin/sendmail
    Also, I had to modify the find_alias_for_msmtp.sh script a little because cronie calls sendmail without any parameters:
    diff --git a/scripts/find_alias/find_alias_for_msmtp.sh b/scripts/find_alias/find_alias_for_msmtp.sh
    index fb485dd..346f313 100644
    --- a/scripts/find_alias/find_alias_for_msmtp.sh
    +++ b/scripts/find_alias/find_alias_for_msmtp.sh
    @@ -16,15 +16,18 @@ MSMTP=`which msmtp || echo "/usr/local/bin/msmtp"`
    if [ "$1" = '-i' ] ; then
    v_recipient=$2 # mailx calls sendmail with -i as the 1st param and the recipient as the second param
    -elif [ "$1" = '-t' ] ; then # most other programs call sendmail with a -t option
    +elif [ "$1" = '-t' -o $# = 0 ] ; then
    + # Most other programs call sendmail with a -t option.
    + # cronie calls sendmail without parameters and
    + # expects sendmail to find the recipient in the mail headers.
    v_to=`echo "$v_msg" | grep -m 1 'To: '`
    v_recipient=${v_to:4:50}
    else
    - v_recipient=$1 # no parameter, sendmail was called with the recipient as parameter
    + v_recipient=$1 # sendmail was called with the recipient as parameter
    fi
    -if [ $v_recipient != 0 ] ; then
    +if [ "$v_recipient" != 0 ] ; then
    # trim spaces from recipient email address
    v_recipient="${v_recipient// /}"
    Or maybe I missed something. I submitted the patch upstream to see if they think it's relevant.
    dif wrote:Hope this helps.
    Yes, it did! Thank you so much.

  • Configure e-mail output

    Hi Gurus
    Can somebody send me informaton on how to configure e-mail output for a sales order/delivery document/invoice. I know how to do it for a printer but I want for e-mail.
    My e-mail is: [email protected]
    thanks all
    Srini

    Hi
    If your SD output configuration is set up correctly, an e-mail from SAP using medium 5 should go through just fine via SAPconnect (transaction SCOT). When it works, the external recipient should receive an e-mail with a PDF attachment containing the form image, regardless of whether it has been created via SAPscript or Smart Forms. Depending on your output determination settings, this even can happen in the background, without any interaction with the SAP front end (e.g. for invoices created automatically by a batch job).
    Typically, a failed send will be flagged in the message control table (NAST), and this table should be monitored closely. However, there are many reasons why a document hasn't gone through, and this can be the case with both outgoing faxes and e-mails from SAP. The solution to both is the same: After identifying the failed document, re-send it manually by going inside it in change mode and repeating the appropriate output. If an obsolete customer e-mail address was the culprit, a customer master change would also be required, along with an audit of any docs recently created for this customer.
    If any underlying data has changed since initial issuance, a re-sent document may not appear identical to the (failed) original. Sometimes, as when address info has been corrected, this can be a good thing. After all, the new document is more accurate than the old one.
    In other cases, such as when pricing info has changed, it might be a cause for serious concern. There are several ways to deal with this concern:
    1) Limit the types of changes allowed on certain docs after creation
    2) Set up a doc image archive via ArchiveLink and re-issue output from there instead of from the current doc; or
    3) For highly sensitive docs, consider a more secure delivery method.
    <b>sending  smart form</b>
    You didn't specify the nature of the form or print program, but I suspect we are discussing application-driven output.
    In any case, I suggest you take a close look at the print program. If it is a standard one provided by SAP, it is quite possible that hooks already exist to send your Smart Form output via e-mail as a PDF attachment.
    See for example the call to function 'LF_FM_NAME' in standard print program RLB_INVOICE. Notice the preceding call to function WFMC_PREPARE_SMART_FORM? This function does the heavy lifting for you; here, no additional work is needed in either the form or the print program. To generate e-mail output, the remaining work essentially is:
    1) SD output configuration (e.g. mapping the relevant billing output type to transmission medium 5 - 'External send' - via the IMG)
    2) SAPconnect configuration (txn SCOT -- there are several notes in the SAP Service Marketplace discussing this component, such as 152474 and 312690).
    3) Setting up the sender and recipient e-mail addresses (e.g. sender = txn SU3 data; recipient = bill-to party's txn XD02 data).
    Hopefully, the print program at issue has the hooks you need. If not, you may need to explore the possibility of (a) changing it, (b) cloning it and changing the cloned version, or (c) manipulating the values directly within the form itself via field-symbols (which may or may not work). Whichever approach you take, I wish you luck.

  • How can I send email from my yahoo alias account in iPhone5 mail?

    How can I send email from my yahoo alias account in iPhone5 mail?
    I have 2 email accounts: [email protected] is an alias of [email protected]
    In my old iPhone3 I had these accounts set up so that I could send and receive email from both accounts. I did this using the following settings:
    ‘Other’ POP account info:
    Name: xyz
    Address: [email protected]
    Description: alias
    Incoming mail server:
    Host name: pop.mail.yahoo.com
    User name: [email protected]
    Password: password for yahoo account
    Server port: 995
    Outgoing mail server:
    SMTP: smtp.o2.co.uk (o2 is the name of my phone network)
    Server port: 25
    ‘Yahoo!’ account info:
    Name: xyz
    Address: [email protected]
    Password: password for yahoo account
    Description: Yahoo!
    Outgoing mail server:
    Primary server: Yahoo! SMTP server
    Server port: 465
    I’ve tried using the same settings in my new iPhone5, but it doesn’t work. I can receive mail to both accounts, and can send from the Yahoo account, but I cannot send mail from the alias account. When I try, it displays the message: “Cannot send mail. A copy has been placed in your Outbox. The recipient ‘[email protected]’ was rejected by the server”.
    I’ve tried to configure the POP alias account using combinations of ‘pop.mail.yahoo.com’, ‘pop.mail.yahoo.co.uk’, ‘apple.pop.mail.yahoo.co.uk’ and ‘apple.pop.mail.yahoo.com’, for the incoming host, and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server. None of these have worked.
    I’ve also tried setting it up using IMAP instead of POP without success. I tried configuring it using combinations of ‘imap.mail.yahoo.com’, ‘apple.imap.mail.yahoo.com’, ‘imap.mail.yahoo.co.uk’ and ‘apple.imap.mail.yahoo.co.uk’ for the incoming mail server and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server.
    Yahoo say that if I can't send Yahoo! Mail from my mail program, I may be accessing the Internet through an ISP that is blocking the SMTP port, and that if this is the case, I should try setting the SMTP port number to 587 when sending email via Yahoo!'s SMTP server. I don't think that this is the problem, but I tried it just to make sure - without success.
    I’ve also heard that the problem might have something to do with the SPF settings of my alias domain provider. I’m not too sure exactly what SPF settings are, or how to change them, but from what I can gather it seems unlikely that this is the problem given that I was able to send mail from my alias account on my old iPhone3.
    Any help much appreciated: how can I get my alias account to send emails in iPhone5 mail?
    Many thanks,
    Patrick

    A new development: I've tried sending emails from the alias several times over the past 24 hours, but in general I've deleted them if they haven't sent within about half an hour.
    However, one of the messages I left sitting in the outbox did send successfully in the end, but this took about an hour.
    So: perhaps my problem is not in fact that I am completely unable to send mail from my alias, but that I can only do so intermittently and extremely slowly, and by ignoring the "cannot send" message.
    Any help appreciated.

  • TS3899 I have set up two email accounts on my iphone4, one with tiscali, my ISP, and the other on gmail. I am able to receive emails on both accounts, and can send emails from my gmail account, but am "Unable to Send Email" from my tiscali (talktalk) acco

    I have set up two email accounts on my iphone4, one with tiscali, my ISP, and the other on gmail. I am able to receive emails on both accounts, and can send emails from my gmail account, but am "Unable to Send Email" from my tiscali (talktalk) account. I get the error message "A copy has been placed in your Outbox. The sender address "name"@tiscali.co.uk was rejected by the server".

    Hi apmichael,
    If you are having issues sending email from one of your mail accounts on your iPhone, you may find the following article helpful:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Regards,
    - Brenden

  • I can't SEND e-mail from an account on my iPad 4, that CAN receive -mail

    Hi Again,
    I am hoping someone on this forum will possibly have an answer to a very confusing problem.
    I can't seem to get one of my e-mail accounts to be set up 'properly' on my iPad 4. The account in question is an account from BT, which has @btinternet.com at the end of it. I have 'installed' and deleted this account more than ten times. When setting up this account (as with all other accounts that DO work properly), the only info I am 'asked' to input is my name, e-mail address and password, in the 'text entry spaces' that relate to the INCOMING mail server. When this is done I USUALLY see the word 'verifying........' Then the 'blue tick marks' confirming that the info I have entered is correct. The validity of this info is also confirmed by the fact that this account can RECEIVE the e-mails sent to it.
    Each of the last four or five times I have deleted this e-mail account and re-installed it I have NOT seen the word 'verifying.....' And I have NOT seen the aforementioned blue ticks. Selecting 'done' after re-entering my info just makes this settings box disappear, rather than show the verifying and the blue ticks, which then allows me to see that the account is 'properly' set up - or should be anyway.
    Even so I still get all the e-mails again, but still cannot SEND, OR REPLY
    The error message I get every single time I try to SEND, OR REPLY using this same e-mail account is:
    'Cannot Send Mail'
    'The username or password for SMTP: ***********@mail.btinternet.com is incorrect'
    My username and password are NOT incorrect. The set up process does not even ask for a username or password for 'SMTP'!
    Even if I go further into the settings for this account, I can find two spaces where I COULD put a username and password, for SMTP, but these spaces already have the words 'optional' in them so they are not supposed to be 'required'. Even if I DO put in these spaces my surname and password for this e-mail account it does not make any difference.
    I have tried 'switching on' the 'other mail servers' which are shown below the 'Primary mail server' in another settings box, for the btinternet.com e-mail account settings, but this still does not stop the error message, AND the e-mail in question is then actually sent from one of the e-mail accounts connected with the 'other mail servers' - I know this because it appears in the 'sent' items folder of whichever account my iPad has decided to use at the time (not always the same one either). It also appears in the sent items folder of the account that I TRIED to use, despite the fact it was NOT sent from this account, and the error message said I cannot send mail (from this account).
    I have contacted Apple Tech Support and they have told me that the problem is NOT with the iPad, it is with the 'account provider'. This is because they say that the info held and used by BT - the info that is used as the 'correct info', that is compared to what I have put in the set up boxes on my iPad - IS actually the info that is incorrect despite the fact that the info I use on my iPad and the info I use on the BT website (which was originally determined by ME when I first got my account) and is held by BT, is the info that is causing the problem of the error message. To put it another way, the info referred to in the error message is NOT incorrect, the error message is incorrectly generated.
    Typically, BT have tried to deny the problem is caused by them because 'the info referred to' - which is my e-mail address and password - works correctly an ALL places that is supposed to work (on the BT website) AND works with the BT/iPad applications like BT Wi-Fi, BT Smart talk, etc. :( :( :(
    Any help or advice that anyone could give will be very greatly appreciated
    Many thanks
    Bob

    Update to above question:
    Hello All,
    To anyone with the same problem described above, on THEIR iPad (if it is running iOS 7.0.2):
    Go to Settings; Mail, Contacts, Calendars; DELETE your *******@btinternet.com e-mail account, that you originally set up either using 'Other', or the 'BT' option which I am sure was in the list previous to the iOS 7 update.
    Then ADD a NEW account choosing YAHOO from the list of options. DO NOT USE 'OTHER'.
    Enter the correct details just as you (almost certainly) had already done in your previous attempts using 'other'.
    When you see the 'verifying......' and 'the blue ticks' you should be able to exit settings and open your mail app and then receive all your 'old' e-mails again, AND be able to SEND as well.
    All my 'old' e-mails, were NOT found in the 'old e-mail' folder though. THEY are still in my inbox.
    So this fix worked for me.
    After I deleted my account from 'OTHER' and put it in Yahoo, I like other people also ended up with more folders.
    I hope this works for you on YOUR Apple devices.
    Bob

  • How do I set up iPhoto '11 version 9.2.1 to send emails with medium/Large/actual size? I try sending photos to a publisher and iPhoto automatically shrinks them to about 40 kB.  Publisher needs between 0.5 and 7 MB.  My ISP has a limit of 12MB

    How can I get to email photos at higher resolution?
    My "iPhoto" or "Mail" automatically reduces photos to about 40 KB .
    My photos, taken with a  common Panasonic Lumix DMC-TZ20 include flora which I send to a publisher.
    I am fairly new to my MacBook (Mac S X Version 10.6.8).  I have been using it for a year.
    I found I could not successfully send Large or Full size photos.
    A few days ago I downloaded a new version of iPhoto (iPhoto '11 version 9.2.1).
    Again, although I get the option of choosing to send small/medium/large//full size photos, it actually only sends them as "Small" (ie about 40kb) which is useless to publish.  If I drag a picture onto the desktop (where my EXIF tells me it is full size) then attach it to an email by dragging, againg the sent email is at "small" size ~40KB).
    My ISP (Westnet) tells me that their maximum accepted size is 12 MB.
    I suspect that I have failed to set up iPhoto for this purpose.  (I am well into retirement but, although geriatric, did study University Physics about half a century ago)

    Also, just a note.   iMac PPC is about iMacs that were available up to early 2006.    iMac Intel is for iMacs that were made available early in to 2006 to present.  Forums for what you have in your profile include:
    https://discussions.apple.com/community/mac_os/mac_os_x_v10.6_snow_leopard
    https://discussions.apple.com/community/ilife/iphoto
    https://discussions.apple.com/community/notebooks/macbook
    Please consider posting and reviewing those locations in the future when you have a question that pertains to one of those products.  You'll much more likely get a resposne then.   This is a user to user forum, and you have to seek knowledge in the areas that are most likely to have the topic of your interest.

  • How can i send a folder containing multiple excel file to a mail address?

    hi ,
           i have report showing details sales report. Key field is customer id.  my requirement is to send the output of this report as excel file  to a mail id according to customer id. suppose there are 100 customer id , so 100 excel sheet will go to the mail. I have done it. But now  i want to send a folder or zip folder that's containing all the excel file to the mail id  so the mail user can download that folder at a time containg all the excel file. Is it possible ? if then how.  i have used cl_bcs , cl_document_bcs and if_recipient_bcs  these class and interface.
    I need your suggestion.

    Hi Sandipan,
    You can use some of this classes: CL_ABAP_ZIP or CL_ABAP_GZIP
    For example:
    DATA: OBJ_ZIP TYPE REF TO CL_ABAP_ZIP,
                ZIP_FILE  TYPE XSTRING.
    CREATE OBJECT OBJ_ZIP.
    OBJ_ZIP->ADD( NAME = <file_name>   CONTENT = CONTENT ).
    OBJ_ZIP->ADD( NAME = <file_name2> CONTENT = CONTENT ).
    ZIP_FILE = OBJ_ZIP->SAVE( ).
    You can also visit this Otto Frost detailed post on GZIP:
    http://wiki.sdn.sap.com/wiki/display/profile/GZIP
    I hope that helps.
    Regards,
    John
    Edited by: John Smith on Feb 5, 2012 2:21 PM

Maybe you are looking for