Sending mail problem via php mail()

I have a PHP server  with Apache 2 and PHP 4 and 5 and MySQL
I have a very very simple  mail script that only works with @gmail.com, hotmail.com etc
But  say if I had an email address for my company "[email protected]" it  does not go through.
Is this a PHP issue or a Server issue?
How  can I fix this as my customer is being an Arse!
mail("$mail1","Thank you for registering with $sitename",
"You have registered this email address at $sitename \n
Email: $mail1
Password: $pass
Date/Time: $date","FROM:$adminaddress");

First, you need to talk to your host, and have them install PEAR::Mail, and have them put the Mail.php path into the php.ini include path directive.
Here is a function I was using some time ago, before I switched to Zend Mail.
You need to edit / add the BOLD parts
<?php
require_once("Mail.php");
function sendEmail($to_mail, $to_name, $from_mail, $from_name, $subject, $body){
     $from = $from_name." <".$from.">";
     $to = $to_name." <".$to.">";
     $recipients = $to_mail;
     $headers["From"] = $from;
     $headers["To"] = $to;
     $headers["Subject"] = $subject;
     $headers["Reply-To"] = $from_mail;
     $headers["Content-Type"] = "text/plain; charset=UTF-8";
     $headers["MIME-Version"] = "1.0";
     $headers["Return-path"] = $from_mail;
     $headers["X-Priority"] = "3";
     $headers["X-MSmail-Priority"] = "Normal";
     $smtpinfo["host"] = "YOUR MAIL SERVER HERE";
     $smtpinfo["port"] = "25";
     $smtpinfo["auth"] = true;
     $smtpinfo["username"] = "YOUR EMAIL LOGIN USER HERE";
     $smtpinfo["password"] = "YOUR LOGIN PASSWORD HERE";
     $mail_object =& Mail::factory("smtp", $smtpinfo);
     $mail_object->send($recipients, $headers, $mailmsg);
?>
To send email:
<?php
sendEmail($mail1,
$recipient_name,
$from_mail,
$from_name, "Thank you for registering with $sitename", "You have registered this email address at $sitename \n
Email: $mail1
Password: $pass
Date/Time: $date","FROM:$adminaddress");
?>

Similar Messages

  • How to send purchase order via e-mail.

    Please could someone let me know how to send purchase order via e-mail.
    I am an BC.
    e-mailing is functionning however I am not very familiar in settings for MM

    No, you do not need to touch ME_PRINT_PO. You need to put code before and after ME_PRINT_PO in the print program.
    Step 1 - Copy the standard print program SAPFM06P to make a Z version, lets call it ZSAPFM06P
    Step 2 - Copy include FM06PE02 to make a Z version, lets call that ZFM06PE02.
    Step 3 - ZSAPFM06P change the statement "Include FM06PE02" to read "Include ZFM06PE02".
    Step 4 - In include ZFM06PE02 you will find a subroutine called "ENTRY_NEU". In this subroutine you will see it first calls ME_READ_PO_FOR_PRINTING then calls ME_PRINT_PO. Before it calls ME_PRINT_PO just put:
    l_nast-nacha = 1.
    CLEAR l_nast-dimme.
    This means that ME_PRINT_PO will not e-mail, it will create a spool request.
    Step 5 - Still in ZFM06PE02, after ME_PRINT_PO has been called, add new code. First check that ent_retco EQ 0. If it does not then exit.
    Step 6 - Get the spool ID created by ME_PRINT_PO by either moving sy-msgv1 to a variable or select from NAST.
    Step 7 - Call function CONVERT_OTFSPOOLJOB_2_PDF using the spool ID from step 6, and put the result from table PDF into an internal table you can use later. ALso store the export variable pdf_bytecount, you will need it later.
    Step 8 - Call function SX_TABLE_LINE_WIDTH_CHANGE using the table from step 7 as content_in and put the results from content_out into a new internal table.
    Step 9 - Add some text into a internal table of type solisti1, this will be the body text of the e-mail.
    Step 10 - Add whatever receivers you want into an internal table of type somlreci1. If you just want it to go to the address that the PO would have gone to anyway, select the e-mail address from ADR6 where the address number = l_doc-xekko-adrnr, that is the data from the PO.
    Step 11 - Populate an internal table of type sopcklsti1 with data relevant to your PDF table from step 8 and the text table from step 9. You will have to put the size of the PDF from step 7 (pdf_bytecount) on the PDF line and the size of the text will be the number of lines of text * 255.
    Step 12 - Add info to a structure of type sodocchgi1. You can add the e-mail title in here, field obj_descr. Also add the size of the PDF and the size of the text from step 12 into doc_size, and give the doc a name in field obj_name. This can be anything, ZPDFPO for example.
    Step 13 - Call SO_DOCUMENT_SEND_API1 using the tables from steps 8, 9, 10 and 11 and the structure from step 12. You can amend the sending e-mail also. Set commit_work to space.
    Step 14 - That is all you need, but I actually call function RSPO_R_RDELETE_SPOOLREQ to delete the spool request created in step 4, then call NAST_PROTOCOL_UPDATE to add some more messages to the processing log of the PO.
    That is all.

  • How to send a file via e-mail with director

    Is it even possible to have a button in a free-standing
    projector that would send a file via e-mail, or open up an e-mail
    program and have the file attached and addressed? Or is it possible
    to put a file on a server? Of course, both of these methods would
    alert the user and ask for their permission.

    To just open the user's email program, you can use the
    standard lingo:
    goToNetPage(mailto:[email protected])
    That approach is kind of annoying because it actually opens
    an empty
    browser window then the user's email program. I don't think
    you can use
    that approach to send attachments though.
    A much better way is the fabulous DirectEmail xtra from
    DirectXtras.
    Check out their site:
    http://www.directxtras.com/demail_home.asp?UUID=1217348
    DirectEmail can do everything you are asking for (and more).
    It is
    cross-platform, shockwave safe, can handle text or HTML
    email, can do
    attachments, can use a mail server or not, and is really easy
    to use.
    The same company makes DirectFTP which you can get from:
    http://www.directxtras.com/DFTP_home.asp?UUID=1217348
    DirectFTP can put files onto an FTP site with a minimum of
    fuss. I have
    used both on quite a few occasions and they rock. You can
    actually
    write a full-fledged email or ftp program with those xtras
    and Director.

  • How to send a report via e-mail

    Hello All,
               I want to send a report via e-mail.
               What should I do for that?
                Please help me out...
    Regards,
    Ravi Khattar.

    Hi,
      Please check the below code....
    data: t_objpack    like sopcklsti1 occurs 1 with header line,
            t_objhead    like solisti1   occurs 1 with header line,
            t_objtxt     like solisti1   occurs 0 with header line,
            t_objbin     like solisti1   occurs 1 with header line,
            t_reclist    like somlreci1  occurs 1 with header line,
            t_lobj       like abaplist   occurs 0 with header line,
            t_listobj    like abaplist   occurs 1 with header line.
      data: v_tab_line1  type i,
            v_tab_line2  type i,
            v_docsize    type i,
            v_len        type i,
            v_line(1250) type c,
            v_subj(132)  type c,
            v_cr(1)      type x value '0D',
            v_linefd(2)  type x value '0D0A',
            v_docdata    like sodocchgi1.
      clear: t_objpack[], t_objhead[], t_objtxt[], t_reclist[], t_listobj[].
      concatenate 'This email is generated from a SAP' sy-sysid '-'
         sy-mandt '- batch environment.' into t_objtxt separated by ' '.
      append t_objtxt.
      t_objtxt = 'Please do not respond to this email.'. append t_objtxt.
      v_docdata-obj_name = 'SAMPLE_TEST'.
      concatenate 'Sales Order Status Attachment -' sy-datum '-' sy-uzeit
             into v_subj separated by ' '.
      v_docdata-obj_descr = v_subj.
      describe table t_objtxt lines v_tab_line1.
      read table t_objtxt index v_tab_line1.
      v_docdata-doc_size   = ( v_tab_line1 - 1 ) * 255 + strlen( t_objtxt ).
      t_objpack-head_start = 1.
      t_objpack-head_num   = 1.
      t_objpack-body_start = 1.
      t_objpack-body_num   = v_tab_line1.
      t_objpack-doc_type   = 'RAW'.
      append t_objpack.
      clear v_line.
      if p_type = '1'.
        loop at t_list.
          concatenate v_line t_list v_linefd into v_line.
          v_len = strlen( v_line ).
          do 4 times.
            if v_len ge 255.
              if v_line+254(1) = v_cr.
                v_line255     = v_line254.
                v_line+254(1)  = ' '.
              endif.
              t_objtxt = v_line(255).
              v_line   = v_line+255.
              v_len    = v_len - 255.
              append t_objtxt.
            else.
              exit.
            endif.
          enddo.
        endloop.
        if v_line ne ' '.
          t_objtxt = v_line(255).
          append t_objtxt.
        endif.
        describe table t_objtxt lines v_tab_line2.
        t_objpack-doc_size   = ( v_tab_line2 - v_tab_line1 ) * 255.
        t_objpack-body_start = v_tab_line1 + 1.
        t_objpack-transf_bin = ' '.
        t_objpack-doc_type   = 'TXT'.
      else.
        t_objbin[] = html[].
        describe table t_objbin lines v_tab_line2.
        t_objpack-doc_size   = v_tab_line2 * 255.
        t_objpack-body_start = 1.
        t_objpack-transf_bin = 'X'.
        t_objpack-doc_type   = 'HTM'.
      endif.
      t_objpack-head_start = 1.
      t_objpack-head_num   = 1.
      t_objpack-body_num   = v_tab_line2.
      t_objpack-obj_name   = 'SAMPLE_TEST'.
      t_objpack-obj_descr  = 'Test'.
      append t_objpack.
      loop at s_email.
        t_reclist-receiver = s_email-low.
        t_reclist-rec_type = 'U'.
        append t_reclist.
      endloop.
      t_reclist-receiver   = sy-uname.
      t_reclist-rec_type   = 'B'.
      append t_reclist.
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data = v_docdata
                put_in_outbox = ' '
           TABLES
                packing_list  = t_objpack
                object_header = t_objhead
                contents_bin  = t_objbin
                contents_txt  = t_objtxt
                receivers     = t_reclist.
      if sy-subrc = 0.
       endif.
    Cheers,
    Bujji

  • Trying to send a photo via e-mail from iPhoto.  But it says my e-mail and password are wrong and won't send and I don't know how to correct it.  Where do I go?

    Trying to send a photo via e-mail from iPhoto.  But it says my e-mail and password are wrong and won't send and I don't know how to correct it.  Where do I go?

    In the iPhoto preferences ==> accounts delete the account and re-enter it
    LN

  • PROBLEM SENDING AN XLS VIA E-MAIL FROM ABAP OVER 255 CHARS

    Hi
    I need some help.
    I want to send a XLS attachment from a program via E-Mail.
    The problem is I have a lot of columns so I have over 255 chars , I think 500 Chars.
    When I send the email, I got it but it is truncate in the 255 position, all the rest doesn't appear
    Somebody knows about a solution for this problem?

    There was so many discussion about same topic.
    Check the below link for more information
    How to email an attachment with more than 255 characters?
    Thanks
    Seshu

  • Pdf extension changes to .dat when send a file via e-mail from adobe acrobat 9

    to convert a file from microsoft word 2007 to PDF and send as an attachment via e-mail from adobe 9, the file is received with the extension changed to. dat, so recipients can not open it.
    Can anyone help me with this.

    What is the OS of the sending computer?
    What mail client?
    I receive plenty of files on my PC as .dat files, which come from Mac user(s), rename the extension to what I think they ought to be and have no further problem. (I cannot change the senders email settings where the problem originates)
    If the receiver knows it is a pdf file, they can drag it into Acrobat, but renaming the extension serves future use.

  • Can't send query-alarms via e-mail in 8.8 PL15

    Hi all,
    I have 8.8 PL15.  Made an alarm based on a query and am trying to send it via e-mail.  The SBO Mailer is properly configured, but the alarm is not going out.  The event viewer on the server shows:
    MessageEntity::MarkOneRecordError::Query SQL AOB1 failed -2028
    Note # 1440854 says that it's a product error and will be fixed in a later patch.  When PL12 was released, the correction was included, as note # 1464641 states; but I already have PL15 and the error still persists.
    Any ideas on how this can be solved??
    Thanks for any help or advise,
    Best regards,

    Hi Emilio,
    I have the same problem in pl17. Did you solve the problem?
    Best regards,
    Jan-willem Bruijsten

  • E mail problems via i Photo

    Hello. I'm very unteccy but hope someone can help me in a simple way :-) 
    I have a Macbook Pro and used to be able to email photos from iphoto from my hotmail account to myself in hotmail (I don't have a printer near my Pro so have to print things upstairs via my husband's printer!). It all used to work fine, but has recently stopped working. First it brought up a white box with a ! and the wording was invisible so the error message was blank.
    Then I re-entered the hotmail and a private work account info into the iphoto Preferences under 'accounts' to see if that made a difference, so I could try and send from 2 different accounts...now I just get the 'your email did not go through because of a problem with the server' message.
    I have no idea if it's relevant but I had recently changed to a BT account for broadband and that caused issues in itself as I couldn't send any mails via my personal outgoing server and had to do it via btinternet.com because of compatibility issues between BT and the Macbook Pro (even though my iphone is still fine sending outgoing mails with my normal private server!).
    Please does anyone have any suggestions to help me get i photo working again to send email photos via iphoto?
    With thanks for any help anyone can offer...

    Many have had problems emailing with iPhoto as the email client.  Deleting the email account in iPhoto's Accounts preference pane and adding it back has helped some.  However, most find that switching to Mail as the email client in iPhoto worked for them.  If you want a theme link iPhoto offers check out Mail's photo stationary.
    Also using Mail will give you an Sent copy and give you better access to your Contacts and groups.
    OT

  • Send from gmail via iCloud mail?

    I have set up forwarding of my Gmail to iPad no problem. But is there anyway I can send a reply to an email I have received from this forwarding setup from my Gmail account via iCloud mail either by way of tweeking the smtp server settings or adding new ones. I see from the mail settings in the icloud section in iOS 5, these settings are greyed out so you can't amend them. Is there any other way this can be done?
    Thanks

    Yep, exactly the same problem we are having, you managed to sum it up more neatly than I did compared to my long winded original post, lol.
    Hopefully some tech messiah will be able to tell us of a way to make this happen? I hope anyhow, otherwise I won't use my iCloud mail at all.

  • Sending report output via E-mail (excel pivoted format)

    Hi all,
    i have a written a report where i need to send the report output to somebody via
    E-mail.i am sending this report output via E-mail successfully.The receiver receives, my output in excel format.but this excel is not <b>pivoted</b>.
    i want , the receiver should get my output in pivoted excel format.i.e my output data should be exactly fit in the excel sheet.
    now the columns in excel sheet are overlapping.once i double clicked, the columns are getting separated.i do not want to double click.i want all the columns should come properly i.e excel field  length should be adjusted as per the output field length.
    i am giving my coding below.plz suggest how i can do the above thing .it's urgent.
    any idea will be highly appreaciated.
    Regards
    if not p_email1 is initial.
         perform fill_report_csv.
         perform f_send_internet_mail.
      endif.
    FORM fill_report_csv.
       data :   l_text(232) type c,
               v_matnr1(21) type c,
               v_matnr(21) type c,
               v_matkl(14) type c,
               v_maktx(45) type c,
               v_ttlstk(14) type c,
               v_verpr(14) type c,
               v_werks(14) type c,
               v_lgort(14) type c,
               v_char(10) type c,
               v_stks type p ,
               v_po(40) type c,
               v_qty(13) type c,
                v_qty1 type sy-datum,
               v_date(15) type c,
               v_date1(15) TYPE C,
               v_name(35) type c,
               v_eknam(18) type c,
               v_lifnr(15) type c,
            l_po(40) type c,
            v_matnr(20) type c,
             l_rate(11) type  p decimals 5,
             l_flag type c.
      concatenate c_equal c_colon 'PO no.' c_colon
                    into v_po.
      concatenate c_equal c_colon 'Material no.' c_colon
                    into v_matnr.
      concatenate c_equal c_colon 'Description.' c_colon
                    into v_maktx.
      concatenate c_equal c_colon 'Due Qty.' c_colon
                    into v_qty.
      concatenate c_equal c_colon 'Del Date.' c_colon
                    into v_date.
      concatenate c_equal c_colon 'Vendor.' c_colon
                    into v_name.
      concatenate c_equal c_colon 'Buyer.' c_colon
                    into v_eknam.
      concatenate c_equal c_colon 'Vendor Code.' c_colon
                    into v_lifnr.
    concatenate
             v_po v_matnr v_maktx v_qty
             v_date v_name v_eknam v_lifnr
             into i_download
             SEPARATED BY con_tab.
      append i_download .
    clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
    clear wa_output.
    loop at i_output into wa_output.
       on change of wa_output-ebeln.
         clear v_lines.
         loop at i_eket into wa_eket
                 where ebeln = wa_output-ebeln.
           v_lines = v_lines + 1.
           clear wa_eket.
         endloop.
    **-- Checking of page break
         v_lines = sy-linno + v_lines .
         if 55 < v_lines  .
           write:/0(161) sy-uline.
           new-page.
         endif.
      clear v_lines.
          loop at i_eket into wa_eket
                  where ebeln = wa_output-ebeln.
            v_lines = v_lines + 1.
            clear wa_eket.
          endloop.
    *-- Calculating the due qty.
        wa_output-dumng = wa_output-menge - wa_output-wemng.
    *-- Writing the Line items of the PO.
        read table i_ekpo into wa_ekpo
              with key ebeln = wa_output-ebeln
                       ebelp = wa_output-ebelp.
         l_rate = wa_ekpo-netpr / wa_ekpo-peinh.
    *-- Writing of PO detail
         if wa_output-dumng gt 0 .
         v_qty = wa_output-dumng.
        v_date1 = wa_output-eindt.
        v_maktx = wa_output-maktx.
         if wa_output-maktx+0(1) = '"' .
                concatenate  c_equal wa_output-maktx
                   into v_maktx  .
             else .
                concatenate  c_equal c_colon wa_output-maktx c_colon
                   into v_maktx  .
             endif .
       if wa_output-name1+0(1) = '"' .
                concatenate  c_equal wa_output-name1
                   into v_name  .
             else .
                concatenate  c_equal c_colon wa_output-name1 c_colon
                   into v_name  .
             endif .
        v_name = wa_output-name1.
        v_lifnr = wa_output-lifnr.
         write wa_output-eindt to v_date1 DD/MM/YYYY.
         concatenate '="' wa_output-ebeln '/'
                wa_output-ebelp '"' into v_po .
         concatenate '="' wa_output-matnr '"' into v_matnr .
             concatenate  c_equal c_colon wa_output-maktx c_colon
               into v_maktx  .
              concatenate  c_equal c_colon wa_output-dumng c_colon
               into v_qty1  .
               concatenate  c_equal c_colon wa_output-eindt c_colon
               into v_date1  .
              concatenate  c_equal c_colon wa_output-name1 c_colon
               into v_name  .
                concatenate  c_equal c_colon wa_output-eknam c_colon
                into v_eknam  .
              concatenate  c_equal c_colon wa_output-lifnr c_colon
               into v_lifnr  .
              concatenate  c_equal c_colon wa_mard-werks '/'
               wa_mard-lgort c_colon
               into v_lgort .
                 concatenate '="' wa_output-lifnr '"' into v_lifnr .
    condense:v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
         concatenate
             v_po v_matnr v_maktx v_qty
             v_date1 v_name v_eknam v_lifnr
             into i_download
             SEPARATED BY con_tab.
        concatenate con_cret i_download INTO i_download .
        append i_download .
      endif.
    clear : v_po,v_matnr, v_maktx, v_qty, v_date, v_name, v_eknam,v_lifnr .
    endloop.
    ENDFORM.                    " fill_report_csv
    *&      Form  f_send_internet_mail
          text
    -->  p1        text
    <--  p2        text
    FORM f_send_internet_mail.
    Variables
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    data : found_receiver type c,
           v_title(80) type c,
           l_text(180) type c.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Adds text to email text table
      append 'Pls see attached open purchase order report.' to it_message.
      append '' to it_message.
      concatenate 'Note: This is system generated report'
                  ', figures may subject to actual physical count.'
                  into l_text separated by space.
      append l_text to it_message.
    Populate the subject/generic message attributes
      CLEAR gd_doc_data.
      READ TABLE i_download INDEX w_cnt.
      gd_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( i_download ).
      gd_doc_data-obj_langu  = sy-langu.
      gd_doc_data-obj_name   = 'SAPRPT'.
    if p_asdate is initial .
         concatenate p_title ' '
                  sy-datum sy-uzeit into v_title separated by space.
    else .
        concatenate p_title ' '
                 p_bldat p_cputm into v_title separated by space.
    endif .
      gd_doc_data-obj_descr  = v_title .
      gd_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = i_download[].
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Create attachment notification
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num   = 1.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES it_packing_list-body_num.
      it_packing_list-doc_type   =  'XLS'.
      it_packing_list-obj_descr  =  'OPEN PURCHASE ORDER' .
      it_packing_list-obj_name   =  'PO.XLS' .
      it_packing_list-doc_size   =  it_packing_list-body_num * 255.
      APPEND it_packing_list.
    assign SAP user smtp address from successful retrieval.
      loop at p_email.
    Add the recipients email address
         found_receiver = 'X' .
         it_receivers-receiver = p_email-low.
         it_receivers-rec_type = 'U'.
         it_receivers-com_type = 'INT'.
         it_receivers-notif_del = ''.
         it_receivers-notif_ndel = 'X'.
         append it_receivers .
      endloop .
    Add default recipient email when unable to locate purc group email
       if found_receiver is initial .
           it_receivers-receiver = p_email.
           it_receivers-rec_type = 'U'.
           it_receivers-com_type = 'INT'.
           it_receivers-notif_del = ''.
           it_receivers-notif_ndel = 'X'.
          append it_receivers.
       endif .
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
                commit_work                = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = it_receivers
           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.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    Instructs mail send program for SAPCONNECT to send email.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = ' '
                        and return.
      endif.
    ENDFORM.                    " f_send_internet_mail

    Hi,
    go through this link,
    http://www.sapdevelopment.co.uk/reporting/email/emailhome.htm
    you have some sample programs.
    Regards,
    Raghavendra

  • Sending Payment Advices Via E-mail or Fax

    SAP Gururs,
    We recently implemented ACH payment method, we are sending ACH payment advices via e-mail or fax. However the need to maintain various e-mails or a combination of e-mail and fax is necessary.
    Example #1
    I have 2 e-mail address one for our purchase department and the other for the vendor I only want the vendor to receive payment advices, the other e-mail is use to send other information to vendor. How do I control this type of scenario.
    Example #2,
    I have a fax number and E-mail, but vendor wants payment advice to be send via fax and not e-mail. I did this testing by selecting the "Do Use Communication for e-mail" but I still got an e-mail and not a fax.
    Example # 3,
    I have various fax numbers 1 use for payment advices, the other to send other information to other users to the vendor such as matrixes, price disputes etc. how can I control this.
    Does any one has any additional information on these topics I will truly appreciate.

    Hello,
    Go to transaction code FIBF
    Settings ==> Process Modules ==> ... of an SAP Application
    Process: 00002040
    Ctr: Blank
    Appl.: FI-FI
    Function Module: SAMPLE_PROCESS_00002040
    You can copy the function module to "Z" function module and modify it accordingly. Then you can use your customized FM here.
    This triggers an email of payment advice, provided if you have maintained Email Address in the Vendor Master "Address" Tab and the Standard Communication Method is "INT - Email"
    You can see the email that is being triggered / delivered in transaction code SOST.
    To deliver the emails settings in SCOT are being completed by Basis consultants and the gateways must have been opened. Except production environment, normally the gateways are closed in development or QA environment in order to avoid sending wrong payment advices outside.
    Thanks,
    Ravi

  • Cannot send scanned PDF via Apple Mail

    Hi all,
    here at work we have the strange problem that we cannot send Mails with PDFs which are scanned with our MFP Xerox Phaser 6180MFP-D and then transferred to the Mac Desktop which are the send with Apple Mail.
    In the Activity Window we see that the Mail sending is stalling at 16%. Other PDFs can be sended without Problems.
    Even the PDFs which we cannot send with Apple Mail can be send with Entourage 2004. The Problem exists in OSX 10.5 and OSX 10.3. Does anyone have an Idea how we can try to solve this? Is there a debugger around?
    Thanks a lot in advance
    Regards,
    Stefan

    Stefan,
    Can you email me such a PDF (using Entourage apparently)? My address can be found by clicking on my name to the left, and looking in the bio line of the resulting Profile.
    I will be able to test with both 10.5 and 10.4. I am suspecting this may be a timing out problem? Could be related to MTU (maximum transmission unit) with your connection, which can differ depending upon the application doing the uploading. If so there are diagnostics tests for checking -- see:
    http://support.apple.com/kb/HT2532
    and
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8867.html
    The latter would appear to not relate to using 10.3, but something may be untested with that.
    Ernie

  • Send Marketing Documents Via E-mail

    Hello all,
    I need to send via e-mail or fax Order information from a webservice call
    In the SBO client, having the Order form opened, you can send it via email or fax using the "Send message" button on the tool bar. It creates a message with your order attached, with the same appearance as if you printed it.
    Is it possible to do so using the DI API?
    Thank you in advance,
    Antonia.

    Dear Antonia,
    The following sample describes how to add a new attachment to a message.
    However, you need to prepare the attachment before to use it.
    Private Sub cmdTest_Click()
       Dim msg As SAPbobsCOM.Messages
       Set msg = vCompany.GetBusinessObject(oMessages)
       msg.MessageText = "This is the content of message"
       msg.Subject = "Hello manager"
       'there are two recipients in this message
       Call msg.Recipients.Add
       'set values for the first recipients
       Call msg.Recipients.SetCurentLine(0)
       msg.Recipients.UserCode = "manager"
       msg.Recipients.NameTo = "manager"
       msg.Recipients.SendEmail = tYES
       msg.Recipients.EmailAddress = "email1"
       'set values for the second recipient
       Call msg.Recipients.SetCurentLine(1)
       msg.Recipients.UserCode = "Werner"
       msg.Recipients.NameTo = "Werner"
       msg.Recipients.SendEmail = tYES
       msg.Recipients.EmailAddress = "email2"
       'set referenced doc
       Call msg.AddDataColumn("Please review", "This is an invoice, pls review it, thx.", oInvoices, "1")
       'add attachment
       Call msg.Attachments.Add
       msg.Attachments.Item(0).FileName = "C:\temp\Object.xml"
       'send it out
       Call msg.Add
    End Sub
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • When I send a photo via e-mail, it is recieved, upsidedown what am I doing wrong?

    What does a photo sent from the phone via e-mail get recieved upsidedown?

    Nothing. The program being used to view it on the other end is disregarding the exif data embedded in the image that indicates which way is 'up'.

Maybe you are looking for