Problem sending mail with Gmail POP

A few days ago I began having trouble sending email through mail in my gmail account. (hope you got that) I checked my gmail account online and saw theat eventhough I got an :unable to deliver mail, please try another account message" from Mail, the message was sent according to gmail.
I went into my account settings and saw that my port was changed from 587 to 25. So i changed it back, I also noticed that my username was not how gmail had it listed, so i changed both and now i still get that message but the emails are getting sent according to gmail.
please help

I just began experiencing the same problem. I attempted deleting the pref's file and all other corresponding mail files out of my library to no avail.
Oddly, I can't seem to send out any other SMTP server either.

Similar Messages

  • Problem sending mail with attachments???

    Hi Everybody,
    I have got a problem sending mail with attachments...
    I am able to send a plain mail ... but when i am trying to send mail along with an attachment ... its not being sent....
    its not showing any error it is simply hanging...
    what should i do?
    If u know any solns please do suggest me....
    Thanks in advance

    activation.jar is already there...
    initially i wrote a swing program as a front end and it was working abs fine... in my sense it was properly sending mails along with the attachments...
    when i changed the front-end to JSP handled by Servlets i am getting a problem...
    and even the swing program stopped working ...
    now swing program is getting compiled but it is hanging at run time showing an exception "Exception occured during event dispatching"
    i dont understand what probably may be the problem...
    if u can trace out, please give me any suggestions
    Thanks in advance and regards

  • Problem sending attachements with gmail account on mail

    Hello:
    I have a lot of problems sending attachments with my gmail account using mail.
    1. Attachments are not big.
    2. I don't have the same problem with other non gmail accounts.
    3. When ever I have this problem I go to gamil.com and I am able to send the attachment with no problem.
    Any suggestions?
    Thanks

    No idea ?
    Nemrod

  • Thunderbird can download and send mail with Cox POP Mail, Mail cannot?

    I have Thunderbird and Mail installed.
    I can download and send mail with Thunderbird.
    I can't even set-up an account with Mail because it cannot find the POP Mail server.
    I have Firewall on with ports 25, 110 and 587 open.
    This really seems strange that I can use Thunderbird to set up and use POP Mail access to Cox, but not Mail.
    My servers are:
    pop.central.cox.net
    smtp.central.cox.net
    I've followed the steps on Cox's support web site, no success.
    I've already called Cox, they're clueless.
    Thoughts or suggestions are greatly appreciated.
    Thanks,
    --Todd
    Mini   Mac OS X (10.4.6)  

    Hi Todd,
    Well since Tbird works, we can rule out lots of things.
    Mail cannot find the POP server
    You are using the Welcome to Mail assistant to do this, and when you type in your incoming mail server info it spins the gear a bit, gives an error, and says that if you continue Mail may not work -- yes? What does the error say specifically?
    No disrespect at all, but the most likely problem is a typo somewhere / mis-specified username. Please go 'round once more.
    Good luck,
    John

  • Problem sending emails with gmail on iPhone

    Everytime I send email with gmail on my iPhone. The message doesn't show up in the folder sent messages (only on the server). This never happens with my iCloud account or when I send email from Mail in osx. Does anyone have a solution for this?

    Take a look at this link, https://discussions.apple.com/message/21206691#21206691

  • Trouble Sending Mail with Gmail

    I have tried many times to reply to emails with my iPhone but everytime I go back to see if it sent it, I get a reply saying that It couldn't be sent. Do you guys know what I can do to fix this problem?

    Google has instruction posted for setting up your iPhone with gmail. I followed these directions and it worked perfectly.
    https://mail.google.com/support/bin/answer.py?hl=en&answer=77702

  • Problem sending mail with roaming profile (Outlook 2010)

    Hello all,
    I hope you will be able to help me.
    Here's the problem I have with Outlook 2010:
    When a user opens a roaming profile on another
    PC or on his new
    PC, everything works perfectly except
    Outlook.
    Outlook opens normally with all email
    accounts, you can even see the email, no worries
    about that.
    But when we want to send an email, it
    gets stuck in the outbox.
    Some additional info:
         - In the account settings,
    you can test the account settings, it says
    that everything is working (sending and receiving)
         - The only way I found today to
    operate the account is to
    completely remove and reconfigure
         - There is an error message
    that says I can not write on the file C:\Users\UserName\AppData\Roaming\Microsoft\Outlook\accountName.pst
         - The problem occurs with
    all users, not just one in particular
         - The accounts are IMAP
         - Incoming emails work
    Thank you for your help.

    Hi Tim,
    This is a known issue in Outlook, we don't recommend using IMAP account with roaming profile.
    For more information, you might want to read this similar thread:
    https://social.technet.microsoft.com/Forums/office/en-US/f9b1bf03-d468-46e8-b40d-76fac11fd66c/outlook-2010-creates-new-imap-pst-files-at-random-and-cannot-send-mail-roaming-profiles-and-imap?forum=outlook
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Problems sending mail with Exchange SBS 2003 / apple mail

    Here is an odd one. I can easily sync up with the exchange server at my office using my mac. I can view new mail, view sent mail and drafts easily.
    When sending e-mail, it is a crap-shoot if it actually will send it or not. Sometimes it goes through, but the majority of the time it does not. I get delay messages from the server, and ultimately I get the "failed to send" message. But the mail is getting to the exchange server because I can see it in the queue.
    Through Parallels, I was able to successfully configure and run Outlook 2004. When testing the same e-mail addresses, the Outlook mail went through easily, but the apple mail stalled and eventually failed.
    On top of this, I can send e-mails to certain domains without ever getting an error through apple mail (i.e. a local company, hotmail.com, etc). Whereas others always or most of the time give me errors (cox.net, yahoo.com, another local company).
    I checked the message queue on the exchange server and sure enough they were stuck trying to resend every 5 minutes - with no luck. There has to be a security setting or something preventing me from being able to send mail through my apple mail app.

    This was an issue with my Exchange server.

  • Problem sending mail with ATTATCHMENTS

    hi all,
    Im doing something like this to send a mail with attatchments:
         msg.setRecipients(Message.RecipientType.TO, address);
         msg.setSubject(subj);
         MimeBodyPart textPart = new MimeBodyPart();
         textPart.setContent(text, "text/plain");
         File f = new File(filename);     
         MimeBodyPart attachFilePart = new MimeBodyPart();
         FileDataSource fds = new FileDataSource(f);
         attachFilePart.setDataHandler(new DataHandler(fds));
         attachFilePart.setFileName(fds.getName());
         Multipart mp = new MimeMultipart();
         mp.addBodyPart(textPart);
         mp.addBodyPart(attachFilePart);
         msg.setContent(mp);
         Transport.send(msg);
    this is working for the first time........
    if I execute this for the second time.... my attatchments are visibile inside the message..... something like this...
    ------=_Part_28_1086341.1034758766530
    sd
    <br>fa
    <br>sdf
    <br>sd
    <br>
    ------=_Part_28_1086341.1034758766530
    Content-Disposition: attachment; filename="2day's Work.txt"
    Today's tasks done:
    OCR conversion for the following:
    1) pages rescaned in 12th class part A.
    2) pages 61- in 12th class part C.
    ------=_Part_28_1086341.1034758766530--
    it is showing the attatchment content inside when i run the same code for the second time....
    anyone can help me out!!!
    thax in adv,
    kiran

    yup.. it worked navaz.....
    thx a lot... may i know whatz happening here...
    thx again...
    kiran

  • Problem sending mail with SMTP and SSL

    Hi,
    I am trying to send mail using JavaMail 1.4/jdk1.5 using ssl. I save the certificate by going into IE and exporting the certificate and added the certificate using the keytool to ${JAVA_HOME}/jre/lib/security/cacerts.I have also added this in the code using
    System.setProperty("javax.net.ssl.trustStore","${JAVA_HOME}/jre/lib/security/cacerts");But I am still getting the following error.
    DEBUG SMTP: trying to connect to host "XXXX", port 465, isSSL true
    DEBUG SMTP: exception reading response: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    Exception in thread "main" javax.mail.MessagingException: Exception reading response;
      nested exception is:
         javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
         at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
         at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
         at javax.mail.Service.connect(Service.java:275)
         at glycomics.common.util.SendMailUsingAuthentication.postMail(Unknown Source)
         at glycomics.common.util.SendMailUsingAuthentication.main(Unknown Source)
    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1485)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1468)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1394)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:86)
         at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
         at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
         at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
         ... 5 more
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:56)
         at sun.security.validator.Validator.getInstance(Validator.java:146)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:105)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:167)
         at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:678)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
         ... 10 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
         at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:103)
         at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:87)
         at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:54)Has anybody faced similar problem??Any suggestions??
    TIA
    M
    Message was edited by:
    c@de-m@nkey

    See SSLNOTES.txt and the JavaMail FAQ for debugging hints.
    If you turn on all the debugging output and still can't figure it out,
    you'll probably need to ask in some Java security forum. The
    problem is occurring when making the connection using SSLSocket,
    before any JavaMail code comes into play.

  • Problem Sending Mail With IPod Touch

    AOL is my primary ISP. The settings for the incoming and outgoing server for AOL are definately correct as confirmed by my serivce provider.
    But for some strange reason i can receive all my emails but can not send a single one. Each time i get the error message: "Te connection to the outgoing server "stmp.aol.com" failed".
    I've tried deleting the account and re-adding it but to no avail.
    It seems to work fine for Yahoo and GMail, just not for AOL.
    Was wondering if other people have the same problem or just me.

    I don't have AOL, but I initially had the same problem with Comcast. Then someone on this forum pointed out that, in the Mail setup, you have to put in your password for both ingoing and outgoing mail. It said the password for outgoing was "optional," but that was incorrect. Once I set the password for both, it worked fine. Maybe that's why some of you are having problems with other e-mail providers.

  • Can't Send Mail with Yahoo POP

    Using mail program off of Panther and can recieve mail but can't send it. The error message I get is:
    "This message could not be delivered and will remain in your Outbox until it can be delivered.
    The sender address (my email address) was rejected by the server."
    I contacted yahoo and they said it was a problem with the apple mail client configuration.
    Please help!
    Thanks,
    Ed

    Nevermind...used my isp's outgoing mail server and it worked...
    -Ed

  • Using Mail with GMAIL (Pop)

    Has anyone experienced the following issue? I have set up my two gmail accounts to work with Mail on my new MacBook and for some reason the Mail program is not receiving all the mail. I know I am getting more mail than what is showing up because GMAIL is also set up to work with my blackberry. My BBerry will jingle with a new email message and then I'll sit there and wait for Mail to receive the message and it will never arrive. I have Gmail set up to work with Outlook on my Dell PC and it is working fine. For some reason all the bloody messages are not making it to my inbox on the MacBook and I can't think what it is. I'm using PoP on the Gmail end because the Imap seemed to slow.

    Okay, things are progressing somewhat. Mail has now imported my messages on from my primary account and seems to be okay (using IMAP). I decided to add my secondary gmail account that I use for work related messages and that (also using IMAP) doesn't seem to be working so smoothly. So far Mail has crashed 3 times and had to "re-import" all 13,000+ of my messages. I have no idea why. Also, any mail sent to the second gmail account is not showing up in the primary inbox and isn't giving me a "new mail" notification via the red number that shows up in the top right hand corner of the postage stamp. Any ideas?

  • Problem sending mail with authentication

    Please help as I've spent the last two days trying various things to solve my problem to no avail. I have been able to send email through the smtp server I have access to (just for interest, smtp.cs.stir.ac.uk), to email addresses in the same domain (e.g [email protected]) because the server does not require me to log in to do this - I can do it anonymously.
    My problem comes when I try to send an email outwith the cs.stir.ac.uk subdomain, (e.g [email protected]) because it requires me to login. So I set about learning about authenticating with smtp servers using the javamail package, and I found two methods of doing it, both of which threw a javax.mail.AuthenticationFailedException. I believe this exception is only thrown when a username or password is wrong and I can't understand it because I'm definitely using the same user/pass combo as I do to log into my webmail. The stack trace for the exception is:
    javax.mail.Service.connect(Service.java:264)
    javax.mail.Service.connect(Service.java:134)
    javax.mail.Service.connect(Service.java:86)
    com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
    javax.mail.Transport.send0(Transport.java:150)
    javax.mail.Transport.send(Transport.java:80)
    EmailAuth.send(EmailAuth.java:80)
    EmailAuth.<init>(EmailAuth.java:40)
    EmailPanel.actionPerformed(EmailPanel.java:56)
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
    javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    java.awt.Component.processMouseEvent(Component.java:5093)
    java.awt.Component.processEvent(Component.java:4890)
    java.awt.Container.processEvent(Container.java:1566)
    java.awt.Component.dispatchEventImpl(Component.java:3598)
    java.awt.Container.dispatchEventImpl(Container.java:1623)
    java.awt.Component.dispatchEvent(Component.java:3439)
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    java.awt.Container.dispatchEventImpl(Container.java:1609)
    java.awt.Window.dispatchEventImpl(Window.java:1585)
    java.awt.Component.dispatchEvent(Component.java:3439)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    And the code I'm using is:
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    public class EmailAuth
         public String uname;
         public String pword;
      public EmailAuth(String host, String username, String password, String message,
                String subject, String from, String[] to) throws MessagingException {
                uname = username;
                pword = password;
                send(host, username, password, message, subject, from, to);
      public void send( String host, String username, String password, String message,
                String subject, String from, String[] to) throws MessagingException
        boolean debug = false;
         Properties props = new Properties();
         props.put("mail.smtp.host", host);
         props.put("mail.smtp.auth", "true");
        Authenticator auth = new SMTPAuthenticator();
        Session session = Session.getDefaultInstance(props, auth);
        session.setDebug(debug);
         // create a message
        Message msg = new MimeMessage(session);
        // set the from and to address
        InternetAddress addressFrom = new InternetAddress(from);
        msg.setFrom(addressFrom);
        InternetAddress[] addressTo = new InternetAddress[to.length];
        for (int i = 0; i < to.length; i++)
            addressTo[i] = new InternetAddress(to);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    private class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication(String username, String password)
    return new PasswordAuthentication(username, password);
    Any help is greatly appreciated!!

    try logging in to the SMTP server with that username/pwd manually. i've done this in win32 using telnet...
    at the command prompt, enter "telnet mail.host.com 143", then from within telnet type "a1 login username password". the SMTP server should respond with something like "a1 OK LOGIN completed" if accepted. then, close the session by entering "a2 logout" (or just kill the telnet session).
    the exchange should look like this:
    telnet mail.host.com 143 * OK IMAP4rev1 server ready (3.0.14)
    a1 login username password
    a1 OK LOGIN completed
    a2 logout
    * BYE IMAP4rev1 Server logging out
    a2 OK LOGOUT completed
    Connection to host lost.
    peace
    bobD

  • Problems sending mail with txt attachtment using SO_DOCUMENT_SEND_API1 MF

    Hi gurus,
    I allready tried to search in the forum some threads related with my problem, but i couldnt found any with the same problem that im having.
    My problem it's when attachting an txt file, using MF SO_DOCUMENT_SEND_API1 MF, the mail attachtment it's coming with the txt file but instead of coming with the all lines in the contents_bins table the file it's coming with a few lines. I think the problem it's that the txt file should come with 80 characters per line, like it's on the contents_bin table, buu instead that the MF it's filling me each line of the file with 1024 characters.
    Does anyone has ideas what im doing wrong?
    Ps - Below goes my code.
    Thanks in Advance,
    Best Regards,
    João Martins.
      CLEAR contents_bin.
      REFRESH contents_bin.
      PERFORM get_attachment TABLES tab_movimentos contents_bin
                             USING linha_inicial
                             linha_final.
      CLEAR: document_data, tab_lines.
      MOVE 'Aviso Ficheiro Retorno' TO document_data-obj_descr.
      MOVE 'Aviso Ficheiro de Retorno TU' TO document_data-obj_name.
      DESCRIBE TABLE contents_txt LINES tab_lines.
      READ TABLE contents_txt INDEX tab_lines.
      document_data-doc_size = ( tab_lines - 1 ) * 255
                               + STRLEN( contents_txt ).
      CLEAR packing_list.
      REFRESH packing_list.
      packing_list-transf_bin = space.
      packing_list-head_start = 1.
      packing_list-head_num = 0.
      packing_list-body_start = 1.
      DESCRIBE TABLE contents_txt LINES packing_list-body_num.
      packing_list-doc_type = 'RAW'.
      APPEND packing_list.
      packing_list-transf_bin = 'X'.
      packing_list-head_start = 1.
      packing_list-head_num   = 1.
      ADD 1 TO tab_lines.
      packing_list-body_start = tab_lines.
      CLEAR: lv_filename, tab_lines.
      CONCATENATE 'Fich Retorno -' nome_ficheiro INTO lv_filename.
      DESCRIBE TABLE contents_bin LINES tab_lines.
      packing_list-doc_type   =  'TXT'.
      packing_list-obj_descr  =  'Ficheiro Retorno'.
      packing_list-obj_name   =  lv_filename.
      packing_list-doc_size   =  tab_lines * 255.
      APPEND packing_list.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = document_data
                put_in_outbox              = 'X'
                sender_address             = 'SIFJOB'
                sender_address_type        = 'B'
           IMPORTING
                sent_to_all                = sent_to_all
           TABLES
                packing_list               = packing_list
                contents_bin               = contents_bin
                contents_txt               = contents_txt
                receivers                  = tab_receiver
           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.
      SUBMIT rsconn01 WITH mode = 'INT'
                  WITH output = SPACE
                  AND RETURN.
    FORM get_attachment TABLES   p_tab_movimentos STRUCTURE
                                 zlinha_movimentos_fich_retorno
                                 p_contents_bin STRUCTURE contents_bin
                        USING    p_linha_inicial STRUCTURE
                                 zlinha_inicial_ps2
                                 p_linha_final STRUCTURE
                                 zlinha_final_ps2.
      DATA: lv_valor(14).
      DATA : line(80) TYPE x.
      CONCATENATE p_linha_inicial-referencia p_linha_inicial-tipo_registo
      p_linha_inicial-tipo_operacao p_linha_inicial-situacao_conta
      p_linha_inicial-situacao_registo p_linha_inicial-iban+4(21)
      p_linha_inicial-moeda p_linha_inicial-data_pag
      p_linha_inicial-ref_ordenante p_linha_inicial-filler
      INTO p_contents_bin-line.
      CLEAR line.
      conv_bin p_contents_bin-line line.
      MOVE line TO p_contents_bin-line.
      APPEND p_contents_bin.
      CLEAR p_contents_bin.
      LOOP AT p_tab_movimentos.
        CLEAR: lv_valor.
        WRITE p_tab_movimentos-montante TO lv_valor.
        PERFORM normalize_value USING lv_valor.
        CONCATENATE p_tab_movimentos-referencia
          p_tab_movimentos-tipo_registo p_tab_movimentos-tipo_operacao
          p_tab_movimentos-sit_conta_retor p_tab_movimentos-situacao_registo
          p_tab_movimentos-nib lv_valor
          p_tab_movimentos-ref_ordenante p_tab_movimentos-filler
          INTO p_contents_bin-line.
        CLEAR line.
        conv_bin p_contents_bin-line line.
        MOVE line TO p_contents_bin-line.
        APPEND p_contents_bin.
        CLEAR p_contents_bin.
      ENDLOOP.
      CLEAR: lv_valor.
      WRITE p_linha_final-mont_total TO lv_valor.
      PERFORM normalize_value USING lv_valor.
      CONCATENATE p_linha_final-referencia p_linha_final-tipo_registo
        p_linha_final-tipo_operacao p_linha_final-filler_1
        p_linha_final-situacao_registo p_linha_final-filler_2
        p_linha_final-total_reg lv_valor
        p_linha_final-filler INTO p_contents_bin-line.
      CLEAR line.
      conv_bin p_contents_bin-line line.
      MOVE line TO p_contents_bin-line.
      APPEND p_contents_bin.
      CLEAR p_contents_bin.
    ENDFORM.                    " get_attachment

    Hi,
    I've solved this problem. The problem was because i was using the
    * Anexo - Descrição
      packing_list-transf_bin = 'X'.
      packing_list-head_start = 1. "Here it must be 0 because i wasn't using any table header
      packing_list-head_num   = 0.
      ADD 1 TO tab_lines.
      packing_list-body_start = 1.
      CLEAR: lv_filename, tab_lines.
      CONCATENATE nome_ficheiro 'TB' INTO lv_filename.
    *  CONCATENATE 'Fich Retorno -' nome_ficheiro INTO lv_filename.
      DESCRIBE TABLE contents_bin LINES tab_lines.
      packing_list-doc_type   =  'TXT'.
      packing_list-obj_descr  =  lv_filename."'Ficheiro Retorno'.
      packing_list-obj_name   =  lv_filename.
      packing_list-body_num = tab_lines.
      packing_list-doc_size   =  tab_lines * 255.
      APPEND packing_list.
    Best Regards
    Thanks,
    João Martins

Maybe you are looking for

  • AP PO Reconciliation Report

    Hello everyone In the attached sample of AP PO reconciliation report, there is a balance for PO but none for AP. Does it mean that no invoices were raised for that particular PO?

  • Custom Characteristic InfoObject is not loaded after 3.5 upgrade

    Hello aLL, How r u ? We are having many Custom Created Characteristic IO. In those 2 of them are running into problem everyday for the past 2 weeks. These 2 Master Data Loads makes the other loads to wait. We try to Cancel the job and let the other l

  • Nokia 5310

    Is there anyway that I can update the firmware as my pc is a mac and am unable to connect to my pc or run software, my phone keeps freezing so many times am told that a firmware update will resolve this. many thanks mark

  • Which firewire cable do I need?

    I have a imac g4. I am unsure if the firewire port on the back of my machine has 4 or 6 pins. It looks like it has 4. I need to know how many pins should be on each end of my firewire cable based on my particular imac. This firewire cable will be con

  • ORA-03134: Connections to this server version are no longer supported.

    I have this error when trying to connect using Oracle DS 10.1.2.0.2 which comes with Oracle Net 10.1.0.4.2 to a 8.1.7.0.0 database. I can use Oracle DB 10g 10.2.0.1.0 bundle with Oracle Net 10.2.0.0.0 to connect to 8.1.7.0.0 database Anyone knows how