Sending mail but displaying the uncode in subject filed...some wht urgent

Hi every one
and Thanx to every one...for giving their precious help for every one
Here i want to explain a small problem in java mail with unicode
Here it is ....
Iam sending a mail with some chinese characters in the subject field..internally these chineese characters are converting in to html unicode format like(主).
the code goes like this :
MimeMessage message =new MimeMesage();
String subject=主的电
message.setSubject(subject,"utf-8");
......remaining are setted properly i mean from ,to using InternetAddress
Multipart multipart = new MimeMultipart();
BodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setContent(content, "text/html");
multipart.addBodyPart(messageBodyPart);
message.setContent(multipart);
Transport.send(message);
Now
It is sending mail to the receipents but in at the receiver side the mail's subject field contains unicode in stead of chinese characters....if i open and seen the viewsource from the page it is adding an extra &amp instead of &..i think it is not filtering th unicode ....here iam sending the mail to gmail...
I didn't understand where iam doing the mistake please give some idea how to do this .....and let know where iam doing worng programming ....
it s very urgent for me ...please
Thanx in advance ......
Srikanth

hi bshannon
i solved this problem .....i will explain what did here
here iam getting the string literal from the DB as NCR formated string
so i converted that string to unicode string ...(Ex: "&amp#220027;")
This method will converts the NCR fomated string to UnicodeString:
public static String NCR2UnicodeString(String str)
StringBuffer ostr = new StringBuffer();
int i1=0;
int i2=0;
while(i2<str.length())
i1 = str.indexOf("&#",i2);
if (i1 == -1 ) {
ostr.append(str.substring(i2, str.length()));
break ;
ostr.append(str.substring(i2, i1));
i2 = str.indexOf(";", i1);
if (i2 == -1 ) {
ostr.append(str.substring(i1, str.length()));
break ;
String tok = str.substring(i1+2, i2);
try {
int radix = 10 ;
if (tok.trim().charAt(0) == 'x') {
radix = 16 ;
tok = tok.substring(1,tok.length());
ostr.append((char) Integer.parseInt(tok, radix));
} catch (NumberFormatException exp) {
ostr.append('?') ;
i2++ ;
return new String(ostr) ;
from this method i will get a string the unicode ...and iam setting this string to subject
MimeMessage message =new MimeMessage();
message.setSubject("string from the above method","utf-8");
and remaing setting all are doing here
finally
Transport.send(message);
I hope you are also expained the same thing ...
and a lot thanx to you to solve my urgent problem...
Thanx
Srikanth

Similar Messages

  • For this program i could send the smart form thru mail but in the inbox ..

    *& Report  ZSFOO
    REPORT  ZSFOO.
    *& Report  ZSFINV
    TABLES : KNA1,         " General Data In Customer Master
             KNB1,         " Customer Master(Company Code)
             BSID,         " Accounting: Secondary Index for Customers
             ZSMARTFORM,   " Custom table for Storing Bank Details
             zsf_exp_inv,  " Structure that stores required fields from all tables used
             KNVK.         " Customer Master Contact Partner
    data : Begin of it_struct occurs 0.
            include structure zsf_exp_inv01.
    data : End of it_struct.
    types : begin of ty_bsid,
            kunnr like bsid-kunnr,
            WAERS like bsid-WAERS,
            XBLNR LIKE BSID-XBLNR,
            BUDAT LIKE BSID-BUDAT,
            WRBTR LIKE BSID-WRBTR,
            BUKRS LIKE BSID-BUKRS,
            end of ty_bsid.
    types : begin of ty_kna1,
            kunnr like kna1-kunnr,
            NAME1 LIKE KNA1-NAME1,
            STRAS LIKE KNA1-STRAS,
            MCOD3 LIKE KNA1-MCOD3,
            LAND1 LIKE KNA1-LAND1,
            SORTL LIKE KNA1-SORTL,
            end of ty_kna1.
    types : begin of ty_knb1,
            kunnr like knb1-kunnr,
            ZTERM LIKE KNB1-ZTERM,
            end of ty_knb1.
    types : begin of ty_knVK,
            kunnr like kNVK-kunnr,
            NAME1 LIKE KNVK-NAME1,
            end of ty_knVK.
    types : begin of ty_ZSMARTFORM,
            SNO      LIKE ZSMARTFORM-SNO,
            CURRENCY LIKE zsmartform-currency,
            BANKNAME LIKE zsmartform-bankname,
            ADDRESS1 LIKE ZSMARTFORM-ADDRESS1,
            ADDRESS2 LIKE ZSMARTFORM-ADDRESS2,
            ADDRESS3 LIKE ZSMARTFORM-ADDRESS3,
            ADDRESS4 LIKE ZSMARTFORM-ADDRESS4,
            ADDRESS5 LIKE ZSMARTFORM-ADDRESS5,
            ADDRESS6 LIKE ZSMARTFORM-ADDRESS6,
            VALIDFROM LIKE ZSMARTFORM-VALIDFROM,
            VALIDTO   LIKE ZSMARTFORM-VALIDTO,
            end of ty_ZSMARTFORM.
    data : it_bsid type table of ty_bsid,
           it_kna1 type table of ty_kna1,
           it_knb1 type table of ty_knb1,
           it_zsmartform type table of ty_zsmartform,
           it_knVK type table of ty_kNVK.
    data : wa_bsid like line of it_bsid,
           wa_kna1 like line of it_kna1,
           wa_knb1 like line of it_knb1,
           wa_zsmartform like line of it_zsmartform,
           wa_knVK like line of it_knVK.
    *****************Selection Screen**********************************
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR,
                     S_belnr FOR BSID-belnr,
                     S_BUKRS FOR BSID-BUKRS,
                     S_CURR FOR ZSMARTFORM-CURRENCY.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF IT_PARAM OCCURS 0.
            INCLUDE STRUCTURE ZPARAMETERS.
    DATA :  END OF IT_PARAM.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
    SKIP 1.
    Parameters : OPTION1 AS CHECKBOX,
                 P_POINF(300) type c,
                 OPTION2 AS CHECKBOX,
                 P_DESC(300) TYPE C,
                 OPTION3 AS CHECKBOX,
                 P_MONTH(200) TYPE C,
                 OPTION4 AS CHECKBOX,
                 P_RATE(100)  TYPE C.
    SELECTION-SCREEN END OF BLOCK B2.
    **********************PARAMETERS***********************************
    data :  l type i,
            Y(300) type c,
            j type i,
            k type i value 1,
            s type i,
            m(300) type c,
            p type i,
            z type i.
    data :  l1 type i,
            Y1(300) type c,
            j1 type i,
            k1 type i value 1,
            s1 type i,
            m1(300) type c,
            p1 type i,
            z1 type i.
    data :  l2 type i,
            Y2(300) type c,
            j2 type i,
            k2 type i value 1,
            s2 type i,
            m2(300) type c,
            p2 type i,
            z2 type i.
    data :  l3 type i,
            Y3(300) type c,
            j3 type i,
            k3 type i value 1,
            s3 type i,
            m3(300) type c,
            p3 type i,
            z3 type i.
    IF OPTION1 = 'X'.
      concatenate  P_POINF  ',' into P_POINF.
      l = strlen( P_POINF ).
      do l times.
        Y = P_POINF+j(k).
        case Y.
          when ','.
            m = P_POINF+s(z).
            s = j + 1.
            z = -1.
            p = p + 1.
            if p = 1.
              IT_PARAM-LINE1 = m.
            endif.
            if p = 2.
              IT_PARAM-LINE2 = m.
            endif.
            if p = 3.
              IT_PARAM-LINE3 = m.
            endif.
         when '.'.
            if p = 4.
              IT_PARAM-LINE4 = m.
            endif.
        endcase.
        j = j + 1.
        z = z + 1.
      enddo.
    ENDIF.
    IF OPTION2 = 'X'.
      concatenate  P_DESC  ',' into P_DESC.
      l1 = strlen( P_DESC ).
      do l1 times.
        Y1 = P_DESC+j1(k1).
        case Y1.
          when ','.
            m1 = P_DESC+s1(z1).
            s1 = j1 + 1.
            z1 = -1.
            p1 = p1 + 1.
            if p1 = 1.
              IT_PARAM-LINE5 = m1.
            endif.
            if p1 = 2.
              IT_PARAM-LINE6 = m1.
            endif.
            if p1 = 3.
              IT_PARAM-LINE7 = m1.
            endif.
         when '.'.
            if p1 = 4.
              IT_PARAM-LINE8 = m1.
            endif.
        endcase.
        j1 = j1 + 1.
        z1 = z1 + 1.
      enddo.
    ENDIF.
    IF OPTION3 = 'X'.
      concatenate  P_MONTH  ',' into P_MONTH.
      l2 = strlen( P_MONTH ).
      do l2 times.
        Y2 = P_MONTH+j2(k2).
        case Y2.
          when ','.
            m2 = P_MONTH+s2(z2).
            s2 = j2 + 1.
            z2 = -1.
            p2 = p2 + 1.
            if p2 = 1.
              IT_PARAM-LINE9 = m2.
            endif.
            if p2 = 2.
              IT_PARAM-LINE10 = m2.
            endif.
            if p2 = 3.
              IT_PARAM-LINE11 = m2.
            endif.
         when '.'.
            if p2 = 4.
              IT_PARAM-LINe12 = m2.
            endif.
        endcase.
        j2 = j2 + 1.
        z2 = z2 + 1.
      enddo.
    ENDIF.
    IF OPTION4 = 'X'.
      concatenate  P_RATE  ',' into P_RATE.
      l3 = strlen( P_RATE ).
      do l3 times.
        Y3 = P_RATE+j3(k3).
        case Y3.
          when ','.
            m3 = P_RATE+s3(z3).
            s3 = j3 + 1.
            z3 = -1.
            p3 = p3 + 1.
            if p3 = 1.
              IT_PARAM-LINE13 = m3.
            endif.
            if p3 = 2.
              IT_PARAM-LINE14 = m3.
            endif.
            if p3 = 3.
              IT_PARAM-LINE15 = m3.
            endif.
            if p3 = 4.
              IT_PARAM-LINe16 = m3.
            endif.
        endcase.
        j3 = j3 + 1.
        z3 = z3 + 1.
      enddo.
    ENDIF.
    APPEND IT_PARAM.
    select * from kna1 into corresponding fields of table it_kna1 where kunnr in s_kunnr.
    select * from knb1 into corresponding fields of table it_knb1 for all entries in it_kna1 where kunnr = it_kna1-kunnr.
    select * from bsid into corresponding fields of table it_bsid for all entries in it_kna1 where kunnr = it_kna1-kunnr and belnr in s_belnr and bukrs in s_bukrs..
    SELECT * FROM KNVK INTO CORRESPONDING FIELDS OF TABLE IT_KNVK FOR ALL ENTRIES IN IT_KNA1 WHERE KUNNR = IT_KNA1-KUNNR.
    select * from zsmartform into corresponding fields of table it_zsmartform .
    DATA :  AMT LIKE SPELL.
    loop at it_bsid into wa_bsid.
      read table it_kna1 into wa_kna1 with key kunnr = wa_bsid-kunnr.
      read table it_knb1 into wa_knb1 with key kunnr = wa_bsid-kunnr.
      read table it_zsmartform into wa_zsmartform with key  CURRENCY =  wa_bsid-WAERS.
      READ TABLE IT_KNVK INTO WA_KNVK WITH KEY KUNNR = WA_BSID-KUNNR.
      it_struct-name1 = wa_kna1-name1.
      it_struct-stras = wa_kna1-stras.
      it_struct-mcod3 = wa_kna1-mcod3.
      it_struct-land1 = wa_kna1-land1.
      it_struct-sortl = wa_kna1-sortl.
      it_struct-zterm = wa_knb1-zterm.
      it_struct-xblnr = wa_bsid-xblnr.
    it_struct-currency = wa_zsmartform-currency.
      it_struct-currency = wa_bsid-waers.
      it_struct-budat = wa_bsid-budat.
      it_struct-BANKNAME = wa_zsmartform-BANKNAME.
      it_struct-ADDRESS1 = wa_zsmartform-ADDRESS1.
      it_struct-ADDRESS2 = wa_zsmartform-ADDRESS2.
      it_struct-ADDRESS3 = wa_zsmartform-ADDRESS3.
      it_struct-ADDRESS4 = wa_zsmartform-ADDRESS4.
      it_struct-ADDRESS5 = wa_zsmartform-ADDRESS5.
      it_struct-ADDRESS6 = wa_zsmartform-ADDRESS6.
      it_struct-CURR = WA_BSID-WRBTR.
      IT_STRUCT-NAME = WA_KNVK-NAME1.
    IT_STRUCT-AMOUNT = IT_SPELL-AMT.
      append it_struct.
    endloop.
    data : x type i,
           x1 type i,
           a type string.
    loop at it_struct.
      x = strlen( it_struct-curr ).
      x1 = x - 3.
      a = it_struct-curr+0(x1).
      CALL FUNCTION 'SPELL_AMOUNT'
          EXPORTING
            AMOUNT          = a
      CURRENCY        = ' '
      FILLER          = ' '
      LANGUAGE        = SY-LANGU
          IMPORTING
            IN_WORDS        = AMT.
    EXCEPTIONS
      NOT_FOUND       = 1
      TOO_LARGE       = 2
      OTHERS          = 3
    *IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    endloop.
    DATA: ws_ucomm LIKE sy-ucomm.
    DATA: form_name TYPE rs38l_fnam.
    DATA: wa_ctrlop TYPE ssfctrlop,
    wa_outopt TYPE ssfcompop.
    data : i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
          i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    DATA: t_otfdata TYPE ssfcrescl,
    t_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE,
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
          i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
      data : wa_objhead TYPE soli_tab,
      wa_doc_chng typE sodocchgi1,
          w_data TYPE sodocchgi1,
          wa_buffer TYPE string,
          v_len_in LIKE sood-objlen,
          v_len_out LIKE sood-objlen,
          v_len_outn TYPE i,
          v_lines_txt TYPE i,
          v_lines_bin TYPE i.
    DATA: t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
    DATA: w_filesize TYPE string.
    DATA: w_bin_filesize TYPE i.
    wa_ctrlop-getotf = 'X'.
    CALL FUNCTION '/1BCDWB/SF00000001'
    EXPORTING
    control_parameters = wa_ctrlop
    output_options = wa_outopt
    user_settings = 'X'
    IN_WORDS = amt
    importing
    job_output_info = t_otfdata
    TABLES
    I_ZSF_EXP_INV = it_struct
    I_ZPARAMETERS = it_param.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    t_otf[] = t_otfdata-otfdata[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = w_bin_filesize
    TABLES
    otf = t_otf
    lines = t_pdf_tab
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    bin_filesize = w_bin_filesize
    CODEPAGE = ' '
    filename = 'c:     est59.PDF'
    filetype = 'BIN'
    IMPORTING
    filelength = w_filesize
    TABLES
    data_tab = t_pdf_tab
    EXCEPTIONS
    file_open_error = 1
    file_write_error = 2
    invalid_filesize = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    OTHERS = 10
    IF sy-subrc <> 0.
    *You should include message-id in the report heading
    WRITE : sy-subrc.
    ELSE.
    WRITE : 'File Test.pdf downloaded succesfully'.
    ENDIF.
    loop at t_pdf_tab.
        translate t_pdf_tab using '~'.
        concatenate wa_buffer t_pdf_tab into wa_buffer.
      endloop.
      translate wa_buffer using '~'.
      do.
        i_record = wa_buffer.
        append i_record.
        shift wa_buffer left by 255 places.
        if wa_buffer is initial.
          exit.
        endif.
      enddo.
    Attachment
      refresh:
        i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
      clear wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body
    Title and Description
      i_objtxt = 'test with pdf-Attachment!'.
      append i_objtxt.
      describe table i_objtxt lines v_lines_txt.
      read table i_objtxt index v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'O'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
      clear i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      append i_objpack.
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 1.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'Smartform'.
    CONCATENATE 'Hazard report-' p_load '.pdf' INTO i_objpack-obj_descr.
    describe table i_objbin lines v_lines_bin.
    read table i_objbin index v_lines_bin.
    i_objpack-doc_size =  v_lines_bin * 255 .
    i_objpack-obj_descr = 'test'.
    i_objpack-doc_size = v_lines_bin * 255.
    APPEND i_objpack.
    Attachment
    (pdf-Attachment)
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    Länge des Attachment ermitteln
    describe table i_objbin lines v_lines_bin.
    read table i_objbin index v_lines_bin.
    i_objpack-doc_size =  v_lines_bin * 255 .
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'smart'.
    i_objpack-obj_descr = 'test'.
    append i_objpack.
      clear i_reclist.
      i_reclist-receiver = '[email protected]'.
         i_reclist-express = 'X'.
      i_reclist-rec_type = 'U'.
      append i_reclist.
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
             EXPORTING
                  document_data              = wa_doc_chng
                  COMMIT_WORK = 'X'
                  put_in_outbox              = 'X'
             TABLES
                  packing_list               = i_objpack
                  object_header              = wa_objhead
                  CONTENTS_BIN               = i_objbin
                  contents_txt               = i_objtxt
                  receivers                  = i_reclist
             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.
    for this program i could send the smart form thru mail but in the inbox i could not
    download it it says needed to be decoded properly.file not starting with pdf....
       IF sy-subrc <> 0.
         MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
       ELSE.
         CALL FUNCTION 'POPUP_TO_INFORM'
           EXPORTING
             titel = 'Mail sent'(003)
             txt1  = 'The report is sent via e-mail.'(004)
             txt2  = '  '.
         LEAVE PROGRAM.
       ENDIF.

    hi krishna,
    u r right. there is no error  in sending the mail and the file but the problem is that file created and converted to pdf is not done properly.jst verify whether the file is created properly or not .thats the only problem that can occurs else ur program is absolutely right.

  • TS1307 I am holidaying in Auckland using my daughters orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says orcon offline. I have spent half an hour with Orcon putting in correct

    I am holidaying in Auckland using my daughter's Orcon internet account for sending mail but it will not send. I am sure I am putting in the correct information but it still says mail.orcon.net.nz(Offline). I have spent half an hour with Orcon putting in correct info. They do not know how to help me further and neither does telstra clear, my own internet provider.
    Any advice appreciated.

    On the Mail menubar > Mailbox, make sure Take all accounts online is selected.

  • I can send mail but cannot receive it.  What is the problem???

    I just purchased an iPad.  I can send mail but not receive it.  What is the problem????

    beverly220 wrote:
    Yes I get error messages.  I can send & receive messages from our home computer & from a iPod Touch.
    Are we supposed to guess what the error messages are that you get? We can't help unless you provide some information. We can not see your iPad so can not see the error messages.

  • HT201359 Yesterday I buy 99 usd point from game ! But the game system say cant pass the payment ! But today iTunes send mail report say the payment is go over !

    Yesterday I buy 99 usd point from game ! But the game system say cant pass the payment ! But today iTunes send mail report say the payment is go over ! So ?the payment ?

    Months of impecable service form BT as an option 3 customer. (I've even recommended BT to people)
    but
    For the past 2 weeks peak traffic has murdered my connection.
    I can get 14mbit off peak, and it used to drop to about 7-9 at peak times.
    Now its down to 1-2mbit at peak times. (no i haven't breached FUP as I check my btinternet inbox for the 80GB warning)
    I think its resonable to experience drop off but 90%!!!
    BT advertising says fast speeds at peak times. less than 2mbit is not fast. (that the governments minimum standard!!!)
    I don't know how to procede because when I'm experiencing these issues if I ring up I will end up waiting so long to speak to someone (because its peak time) the concection wiill be better again.
    I can think of no recourse other than to approach trading standards...
    Guarnetee me 5mbit at peak times (enough to stream HD iplayer) and I'd be happy
    That is what BT vision customers are in essence are getting + what ever their PC is using.
    Fair usage? what about Fair Supply.

  • Send Mail When Saving The Process Order

    Dear Experts,
    I want to send a Mail with some details whenever we Create & Save a new Process Order in COR1.
    I have written my code at the below location where i have all the required data stored in the IT'S.
    Enhancement - PPCO0001
    FM - EXIT_SAPLCOBT_001
    Include - zxco1u01
    I have the below code to send the Mail in the include.
    Send the document
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          exporting
            document_data              = wa_doc_chng
            put_in_outbox              = 'X'
            commit_work                = ""
          tables
            packing_list               = it_objpack
            contents_txt               = it_objtxt
            receivers                  = it_reclist
          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.
        if sy-subrc = 0.
      To refresh SAP Work Office so that mail can be recieved immediataly.
          submit rsconn01 with mode = 'INT'
                          with output = ''
                           and return.
        else.
          message 'Problem in sending Email.' type 'I'.
        endif.              "  End of sy-subrc
    Here my exporting parameter "commit_work" is blank, i have not passed "X" in it.
    When i pass "X" in this, it gives me a dump as below.
    Short text
        Invalid COMMIT WORK in a COMMIT WORK or ROLLBACK WORK.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLSOI1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The call of a COMMIT WORK in a FORM, that will not be executed until
        the commit or rollback point of the caller using the variant
        PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK is not permitted.
    Trigger Location of Runtime Error
        Program                                 SAPLSOI1
        Include                                 LSOI1U32
        Row                                     154
        Module type                             (FUNCTION)
        Module Name                             SO_DOCUMENT_SEND_API1
    When i take out "X" from "commit_work", it does not send mail and also the transaction does not give any Dump.
    Can you please help out me with this?
    Thanks,
    Praveen

    Hi Antony,
    When i write the below code in FM = EXIT_SAPLCOBT_001 and include = zxco1u01, it does not work for sending the mail.
    Mail Data.
    types: begin of ty_mail,
            tcode type zmail-tcode,
            email type zmail-email,
            end of ty_mail.
    IT Creation.
    data:  it_mail type standard table of ty_mail.
    WA Creation.
    data:  wa_mail type ty_mail.
    Email Related Internal Tables.
    data:  it_reclist        type standard table of somlreci1,     "Recipients
            it_objpack        type standard table of sopcklsti1,
            it_objhead        type standard table of solisti1,
            it_objtxt         type standard table of solisti1 initial size 0 with header line,      "Body of EMail
            it_objbin         type standard table of solisti1,      "Attachment of EMail
            it_contents_hex   like standard table of solix,
            it_objbin1        type standard table of solisti1,      "Attachment of EMail
            it_contents_hex1  like standard table of solix.
    Email Related Work Area.
    data:  wa_doc_chng       type sodocchgi1.     "attributes of document to send
    data:  l_reclist               like line of it_reclist,
            l_objpack               like line of it_objpack,
            l_tab_lines             type i.
    data:  lv_answer   type string,
            w_msg1(100) type c,
            w_gamng     type string.
    select tcode email from zmail into table it_mail
            where tcode = 'ZQA15'.
       refresh it_objtxt[].
       it_objtxt = '-----------------------------------------------------------------------------------------------------'.
       append it_objtxt.
       concatenate 'Order Number - '  header_table-aufnr into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Plant - '  header_table-werks into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Material No. - '  position_table-matnr into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Material Description - '  header_table-ktext into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Batch No. - '  position_table-charg into it_objtxt separated by space.
       append it_objtxt.
       w_gamng = header_table-gamng.
       concatenate 'Batch Size - '  w_gamng into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'MFG. Date - '  position_table-verid into it_objtxt separated by space.
       refresh it_reclist[].
       loop at it_mail into wa_mail.
         clear  l_reclist.
         l_reclist-receiver    = wa_mail-email.
         l_reclist-express     = 'X'.
         l_reclist-rec_type    = 'U'.
         l_reclist-no_forward  = 'X'.
         append l_reclist to it_reclist.
         clear wa_mail.
       endloop.
    Fill the document data.
       wa_doc_chng-doc_size = 1.
    Populate the subject/generic message attributes
       wa_doc_chng-obj_langu = sy-langu.
       wa_doc_chng-obj_name  = 'PO DETAILS'.
       wa_doc_chng-obj_descr = 'PO Details To QC'.
       wa_doc_chng-sensitivty = 'F'.          "  Send mail as a confidential
       wa_doc_chng-no_change  = 'X'.
    Describe the body of the message
       if it_objpack is initial.
         l_objpack-transf_bin = space.
         l_objpack-head_start = 1.
         l_objpack-head_num   = 1.
         l_objpack-body_start = 1.
         describe table it_objtxt lines l_objpack-body_num.
         l_objpack-doc_type   = 'RAW'.
         append l_objpack to it_objpack.
         clear  l_objpack.
         clear l_tab_lines.
       endif.
    Send the document
       call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         exporting
           document_data              = wa_doc_chng
           put_in_outbox              = 'X'
           commit_work                = ''
         tables
           packing_list               = it_objpack
           contents_txt               = it_objtxt
           receivers                  = it_reclist
         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.
       if sy-subrc = 0.
      To refresh SAP Work Office so that mail can be recieved immediataly.
         submit rsconn01 with mode = 'INT'
                         with output = ''
                          and return.
       else.
         message 'Problem in sending Email.' type 'I'.
       endif.              "  End of sy-subrc
    endif.                "  End of lw_answer
    But when i write the same above code in FM = EXIT_SAPLCOZV_001 and include = zxco1u06, it does work fine.
    I am not able to understand why it works at one place and does not at the other?
    Thanks,
    Praveen

  • Outlook 2010 - sending mail with attachment - "The system cannot find the file specified"

    Hi forum Fellows,
    I have the following failure scenario:
    1. A user receives an e-mail with an attachment.
    2. The user opens the attachment --> Forwards the mail and writes something in the body of the e-mail
    3. For whatever reason the user leaves the e-mail and works on something else --> the user comes back to the e-mail an hour or more later.
    4. The user then wants to send the e-mail but gets the following error message: "The system cannot find the file specified"
    5. The effect is that the user cannot send the e-mail.....
    ------------------------------ TROUBLESHOOTING -----------------------
    - I can see that when the user opens an attachment this attachment is saved in the OutlookTemp folder. Actually, there is a difference between opening the attachment before or after clicking forward on the e-mail.
    ---- Before: Two files is written to the OutlookTemp folder. For example if the attachment name is FileX.pdf - there will be a FileX.pdf but also a FileX (2).pdf in the folder (if OutlookTemp is empty/do not contain a file with the name FileX.pdf already)
    ---- After: Only one file is written to OutlookTemp. That is FileX.pdf
    - Running Process Monitor when trying to forward the e-mail I can see that Outlook is calling a file that is not in the OutlookTemp folder anymore.
    **** To me this is the heart of the issue. For some reason, when a user has an e-mail with an attachment open for an extended period of time (not sure on exactly how long is necessary), files in the OutlookTemp folder is deleted - files that Outlook is depending
    on to be there.
    - Going with a totally clean OutlookTemp folder does not help.
    ------------------ NOW WHAT ---------------
    - The question now is: Is this by design? Can it be fixed by some Outlook 2010 patch? Or perhaps a group policy/registry setting as a workaround.
    ------------------------------ TECH. INFO -----------------------
    Outlook 2010 v14.0.7132.5000
    Outlook bit depth: x86
    Running on a 2008R2 SP1 TS environment.
    No antivirus on the TS
    Looking forward to hear from you.
    Regards The Red Baron
    Red Baron

    Hello Red Baron,
    Although not a complete answer, the way to treat attachments in emails require some discipline:
    1. Never open an attachment directly from the email (and NEVER edit it from there). Always save it in a known location as the desktop or (better) in a designated document folder. Then you can proceed as usual, like editing the contents, printing, forwarding
    the new version etc.
    2. Directly forwarding the attachment is ok, along with additional text in the body of the email.
    3. Having any (unsaved) document open for several hours should
    never occur. What if there is a power outage?
    Bottom line is thus Discipline. This is regardless of Operating System (which might handle temporary files differently).
    These are the rules I teach my customers and they never leave any document unsaved for hours ...
    Best regards George

  • I can send mail but can't receive mail on thunderbird

    I am using Thunderbird since 2 years ago and im getting a new problem. I can send mail but cant receive any mail . When pressed GET mail i receive 'connecting to mail.gandi.net' only. that's all.
    Can you please help.
    below is my troubleshoot information:
    Application Basics
    Name: Thunderbird
    Version: 31.3.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
    Profile Folder: Show Folder
    (Local drive)
    Application Build ID: 20141127140543
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (none) Local Folders, plain, passwordCleartext
    account2:
    INCOMING: account2, , (pop3) mail.gandi.net:995, SSL, passwordCleartext
    OUTGOING: mail.gandi.net:465, SSL, passwordCleartext, true
    account3:
    INCOMING: account3, , (pop3) mail.gandi.net:995, SSL, passwordCleartext
    OUTGOING: mail.gandi.net:465, SSL, passwordCleartext, true
    account4:
    INCOMING: account4, , (pop3) mail.gandi.net:995, SSL, passwordCleartext
    OUTGOING: mail.gandi.net:465, SSL, passwordCleartext, true
    account5:
    INCOMING: account5, , (pop3) mail.gandi.net:995, SSL, passwordCleartext
    OUTGOING: mail.gandi.net:465, SSL, passwordCleartext, true
    account6:
    INCOMING: account6, , (pop3) mail.gandi.net:995, SSL, passwordCleartext
    OUTGOING: mail.gandi.net:465, SSL, passwordCleartext, true
    account11:
    INCOMING: account11, , (rss) Feeds, plain, passwordCleartext
    account13:
    INCOMING: account13, , (rss) Feeds-2, plain, passwordCleartext
    account14:
    INCOMING: account14, , (pop3) mail.gandi.net:995, SSL, passwordCleartext
    OUTGOING: mail.gandi.net:465, SSL, passwordCleartext, true
    Crash Reports
    http://crash-stats.mozilla.com/report/index/bp-0490c01b-d20a-4d94-89fa-de36f2141208 (12/8/2014)
    http://crash-stats.mozilla.com/report/index/bp-01ec1457-2d47-4bde-838d-e381a2141205 (12/5/2014)
    http://crash-stats.mozilla.com/report/index/bp-b0b8fa7c-5dc9-4dc5-8d8d-4aae12141205 (12/5/2014)
    http://crash-stats.mozilla.com/report/index/bp-660baa33-28ce-47c6-8fb4-1b5682141205 (12/5/2014)
    http://crash-stats.mozilla.com/report/index/bp-4a7623a9-b2b5-42c4-9f49-73aa52141204 (12/4/2014)
    Extensions
    Lightning, 3.3.1, true, {e2fda1a4-762b-4020-b5ad-a41df1933103}
    Quick Translator, 1.0, true, {5C655500-E712-41e7-9349-CE462F844B19}
    Simple Locale Switcher, 0.8.4, true, simplels@nohamelin
    Important Modified Preferences
    Name: Value
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 409600
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    extensions.lastAppVersion: 31.3.0
    font.internaluseonly.changed: false
    font.name.monospace.el: Consolas
    font.name.monospace.tr: Consolas
    font.name.monospace.x-baltic: Consolas
    font.name.monospace.x-central-euro: Consolas
    font.name.monospace.x-cyrillic: Consolas
    font.name.monospace.x-unicode: Consolas
    font.name.monospace.x-western: Consolas
    font.name.sans-serif.el: Calibri
    font.name.sans-serif.tr: Calibri
    font.name.sans-serif.x-baltic: Calibri
    font.name.sans-serif.x-central-euro: Calibri
    font.name.sans-serif.x-cyrillic: Calibri
    font.name.sans-serif.x-unicode: Calibri
    font.name.sans-serif.x-western: Calibri
    font.name.serif.el: Cambria
    font.name.serif.tr: Cambria
    font.name.serif.x-baltic: Cambria
    font.name.serif.x-central-euro: Cambria
    font.name.serif.x-cyrillic: Cambria
    font.name.serif.x-unicode: Cambria
    font.name.serif.x-western: Cambria
    font.size.fixed.el: 14
    font.size.fixed.tr: 14
    font.size.fixed.x-baltic: 14
    font.size.fixed.x-central-euro: 14
    font.size.fixed.x-cyrillic: 14
    font.size.fixed.x-unicode: 14
    font.size.fixed.x-western: 14
    font.size.variable.el: 17
    font.size.variable.tr: 17
    font.size.variable.x-baltic: 17
    font.size.variable.x-central-euro: 17
    font.size.variable.x-cyrillic: 17
    font.size.variable.x-unicode: 17
    font.size.variable.x-western: 17
    gfx.blacklist.suggested-driver-version: 6.1400.1000.5218
    gfx.direct3d.last_used_feature_level_idx: 0
    mail.openMessageBehavior.version: 1
    mail.winsearch.firstRunDone: true
    mailnews.database.global.datastore.id: f06768f2-32d9-440c-bc02-f0414c2d7f3
    mailnews.database.global.views.conversation.columns: {"threadCol":{"visible":true,"ordinal":"1"},"flaggedCol":{"visible":true,"ordinal":"3"},"attachmentCol":{"visible":false…
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1418013595
    places.history.expiration.transient_current_max_pages: 104858
    plugin.importedState: true
    plugin.state.java: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_bgcolor: false
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_bgimages: false
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_colorspace:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_command:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_downloadfonts: false
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_duplex: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_edge_bottom: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_edge_left: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_edge_right: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_edge_top: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_evenpages: true
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_footercenter:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_footerleft: &PT
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_footerright: &D
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_headercenter:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_headerleft: &T
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_headerright: &U
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_in_color: true
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_margin_bottom: 0.5
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_margin_left: 0.5
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_margin_right: 0.5
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_margin_top: 0.5
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_oddpages: true
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_orientation: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_page_delay: 50
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_paper_data: 9
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_paper_height: 11.00
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_paper_name:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_paper_size_type: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_paper_size_unit: 1
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_paper_width: 8.50
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_plex_name:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_resolution: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_resolution_name:
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_reversed: false
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_scaling: 1.00
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_shrink_to_fit: false
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_to_file: false
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_unwriteable_margin_bottom: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_unwriteable_margin_left: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_unwriteable_margin_right: 0
    print.printer_RICOH_Aficio_MP_C2030_RPCS.print_unwriteable_margin_top: 0
    security.default_personal_cert: Select Automatically
    security.disable_button.openCertManager: false
    security.disable_button.openDeviceManager: false
    Graphics
    Adapter Description: Intel(R) HD Graphics Family
    Vendor ID: 0x8086
    Device ID: 0x0116
    Adapter RAM: Unknown
    Adapter Drivers: igdumd64 igd10umd64 igd10umd64 igdumdx32 igd10umd32 igd10umd32
    Driver Version: 8.15.10.2291
    Driver Date: 1-27-2011
    Adapter Description (GPU #2): NVIDIA GeForce GT 525M
    Vendor ID (GPU #2): 0x10de
    Device ID (GPU #2): 0x0df5
    Adapter RAM (GPU #2): 1024
    Adapter Drivers (GPU #2): nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    Driver Version (GPU #2): 8.17.12.6721
    Driver Date (GPU #2): 2-18-2011
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.1.7601.17514)
    ClearType Parameters: ClearType parameters not found
    WebGL Renderer: false
    GPU Accelerated Windows: 1/1 Direct3D 10
    AzureCanvasBackend: direct2d
    AzureSkiaAccelerated: 0
    AzureFallbackCanvasBackend: cairo
    AzureContentBackend: direct2d
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 0
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.6
    4.10.6
    NSS
    3.16.2.3 Basic ECC
    3.16.2.3 Basic ECC
    NSS Util
    3.16.2.3
    3.16.2.3
    NSS SSL
    3.16.2.3 Basic ECC
    3.16.2.3 Basic ECC
    NSS S/MIME
    3.16.2.3 Basic ECC
    3.16.2.3 Basic ECC

    Here is what I did to resolve the problem:
    In Mail/preferences/accounts/account information/ and at the bottom of the box there is a toggle arrow up and down to edit the outgoing mail server, check the box "use only this server" and  hit this toggle button and select "edit SMTP Server List" at the very bottom of the email names.
    Select Advanced tab.  Correct and/or add usernames and passwords as needed for each email account.  Be sure to select OK each time to get the passwords to hold!  Some changes don't seem to hold unless you click OK before you move on.
    To test:       Window/activity (a little windows will pop up showing activity bars)   and then "get mail" button.  This should show any problems
    Another test:  window/connection doctor
    This shouldl fix both pop and imap.  so far it worked on yahoo, mobile me, gmail, hotmail, and others.  Of course, you will need to know the incoming and outgoing mail server info, user name, and passwords.
    Too bad we have to go though hoops to use an email program that used to work well.  Worse yet, many may not know for days that their email isn't working.
    This is easy method of setting up your email accounts but may not allow enough detail to make the mail accounts function properly in Mail 5.0:
    system preferences/internet and wireless/mail, contacts, calendars/ add account
    shyannlindy listening to the outdoor concert from
    Cheyenne Frontier Days, the Worlds' Largest Outdoor Rodeo

  • Can't send mail, get message: the smtp server rejected the password. I tried lock and unlock keychain. I tried unlock captcha. Gmail works okay, it is Mail that does not. Help!! :(

    Can't send mail, get message: the smtp server rejected the password. I tried lock and unlock keychain. I tried unlock captcha. Gmail works okay, it is Mail that does not. Help!!

    Hi
    You need to check with your ISP whether or not the send mail server (SMTP) requires a password.  Some do, but many do not.  When you know the correct password to send mail, then you need to tell Mail as follows:
    Mail menu > Preferences > Accounts > Select the account
    Click on the Outgoing Mail Server (SMTP) combo box, and select Edit SMTP Server List...
    In the Account Information tab put the server name
    In the Advanced Tab, set up the authentication information from your ISP.
    Good luck
    Bob

  • Cannot Send Mail One of the Recipients Email Addresses is Invalid

    Cannot Send Mail One of the Recipients Email Addresses is Invalid
    This is the error message I keep getting on outgoing mail. Incoming mail works fine. Does anyone have any suggestions to try?

    You mean you can receive and send messages when you are connected to your wi-fi network at home with your internet service provider as the internet connection for your wireless network at home, but you are unable to send messages with this account when connected to AT&T's cellular network?
    If so, this leans toward your email account being provided by your internet service provider.
    Most internet service providers block the use of SMTP servers that are outside of the ISP's network or not provided by the ISP unless the SMTP server is authenticated. Not many ISPs provide an authenticated SMTP server with the email account they provide their customers.
    You can do one of two things. The iPhone includes AT&T's SMTP server to select as the SMTP server to use for this email account when you are connected to AT&T's cellular network, but you probably won't be able to use AT&T's SMTP server to send with the account when connected to your wi-fi network at home.
    Or you can switch to using an email account that provides an authenticated SMTP server. A Gmail account is one, and a MobileMe account is another.

  • Cannot send mail but get receive mail

    Cannot send mail but can receivr mail

    I had this problem, too, when I took my laptop to work and tried to send mail using their wireless settings.  (I have never had this problem with wireless internet at home.)  After a lot of research it appeared to be a port issue.  Apple and Yahoo directed me to contact AT&T, my email server provider, to inquire if there was another port setting or off-line port that could be used.  This turned out to be too complicated because I had to get my boss's wireless codes, etc.  I got around the whole thing by logging into my email through Yahoo rather than Apple's Mail program.  This allowed me to send emails at work with no problems.  Hope this helps.

  • TS3276 I cannot send mail but i do receive it

    I cannot send mail but do recieve it, what do I write in Imap path prefix?

    Oh, its not as "strange" as you might think.
    The problem is SPAM.  Internet Service Provider (ISPs) are struggling to prevent outsiders - or their own customers - from sending huge amounts of SPAM.
    To do this, they have to make regular changes to how e-mail is handled.  My guess, based on what you have told me so far, is that your ISP has made a change to how e-mails are sent.
    This means you have to find out what that change was and adjust your Mail account settings.  Hopefully your ISP has a "Support" web page where there is a step-by-step How To document that will lead you through this.

  • I can send mail but cannot receive it on my iMac since upgrading to Yosemite

    I can send Mail but I cannot receive it on my iMac Mail account, have checked all account information and it is correct.

    Hey phillipfrompaupack,
    I see that you are having issues with your mail in Yosemite. Here is an article for you that will help you troubleshoot these issues:
    OS X Mail: Troubleshooting sending and receiving email messages - Apple Support
    http://support.apple.com/en-us/ts3276
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Mail app won't send mail, but it will receive mail

    The mail app on my macbook pro and iphone will not send mail, but they can recieve mail.  I deleted both accounts and reloaded them and they still won't work.  After that I ran repair permissions and it found nothing wrong.  Has anyone experienced this problem and how can I fix this?

    I had same problem with my MBA and Mac Desktop (don't have iPhone)...could receive but not send emails after Lion upgrade.  I only experienced it at home versus at work (inconsistently on both on my macbook air and my desktop mac).
    For me the solution was when you compose an email there are two dropdown listboxes next to From:  ...in the second one select smtp.me.com:yourusername   Until Apple makes a change you might need to do that each time you send or reply to a message.
    I think it has something to do with if you don't do that then port 25 might get used which can be blocked by a lot of ISPs.
    Apple support helped me solve this problem and said it was a known issue they are working on.
    Hope this helps with your issue!

  • HT2500 hi - can't send mails but can receive them and use internet - pls help

    Hi - please help, I can't seem to send mails but I can receive them and surf the net?

    You need to open Mail>Preferences>Accounts>"Account Information" tab>and there input the required information for your Outgoing Mail Server (SMTP).  Your Internet Service Provider will have the required information to give you to input here.  Make sure that you also click at the end of the line "Outgoing Mail Server" on the arrows to get the dropdown list, and there click on "Edit SMTP Server List" and fill in the data in that resulting window also.

Maybe you are looking for

  • How can I buy LR4+PS6?

    Hi, I would like to get the chance to buy LR4 and Photoshop CS6 instantly in order to get the discount that Adobe is offering (I want to buy the downloadable version of both programs), but I cannot figure out the way to buy both programs at once, jus

  • Volume Automation Not Working In Logic

    So, I have been doing some audio work with about 12 different tracks or so and at certain points, I need to use automation to completely lower the volume at certain points to infinity. Yet whenever I listen to the track, on some tracks, the volume au

  • Dynamic Cascading Prompt based on Universe

    Hi, I am attempting to build a universe-query-based report which allows the user to select inputs based on a dynamic cascading prompt. I have created the cascading LOVs in the Universe design. However, when the user is asked to select inputs, the pro

  • I can't get iPhoto to email photos

    I keep getting the message that the email server doesn't recognize the user name/password when I try to use iphoto to sent pics.

  • Need Help!!! Oracle8i Lite

    Hi there, I defined a connection against an oracle8i lite (4.0.1.x). This connection works fine - I can see the tables within the table-browser. Try to create a new bc4j-package against this oracle8i lite with just 1 very small entity (table test wit