Problems sending mail with my internet connection through my iphone

HI all,
right now i'm having problems, i can't send a email with my outlook for mac through my iphone connection... but i can receive emails with the same connection... any ideas?

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

Similar Messages

  • I have a PC with a internet connection through a modem and ever since i have had it i have had no connection to the itunes store. And even if I try to update anything it says that i need to check my connection, but my connection is fine. What should I do?

    I have a PC with a internet connection through a modem and ever since i have had it i have had no connection to the itunes store. And even if I try to update anything it says that i need to check my connection, but my connection is fine. What should I do?

    This almost always indicates your firewall or anti-virus utilities are preventing iTunes from contacting the iTunes Store. Here is an exerpt from "Can't connect to the iTunes Store": http://support.apple.com/kb/TS1368
    Troubleshooting on Windows
    If you haven't been able to connect to the iTunes Store for more than a day —and other customers on our discussion boards aren't experiencing similar issues— a software or internet service provider (ISP) configuration issue may be blocking your access to the iTunes Store. Click here to find out which ports and servers need to be allowed for iTunes Store access.
    Update iTunes to the latest version.
    If you have not done so already, try the steps in iTunes for Windows: iTunes Store connection troubleshootingto troubleshoot iTunes Store connectivity in Windows.
    Firewall issues:
    Windows XP: If you've upgraded to Windows XP Service Pack 2: By default, Windows Firewall is enabled. As with all firewalls not manufactured by Apple, you will need to configure Windows Firewall to allow iTunes to access the iTunes Store. To do so, see How to enable iTunes in the Windows XP Firewall.
    Windows Vista and 7: As with all firewalls not manufactured by Apple, you will need to configure Windows Firewall to allow iTunes to access the iTunes Store. To do so see, the "Blocked by software firewall" section in this article.
    Proxies can cause issues and should be avoided whenever possible. To disable the proxy built-in to Windows see, iTunes for Windows Can't access the Internet if proxy settings are incorrect.
    If you are receiving a specific error message you may want to see, the "Specific Conditions and Alert Messages" section in this article as needed.
    If the issue still persists, contact your internet service provider and confirm that the ports and servers in this article are enabled over your network.
    The "hosts" file may be blocking the iTunes Store
    Microsoft's article How do I reset the hosts file back to the default? has instructions and a "FixIt" to have Windows try to reset the hosts defaults for you.
    Note: Some workplaces may put internal resources in the hosts file but may also use it to block iTunes Store.
    To create a copy of your hosts file and replace it with an empty hosts file, follow the instructions for your operating system below.

  • 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

  • I was trying to pair my notebook with iphone3gs and i had problems with my internet connectivity,so the iphone gave an error message that should it ignore my pc, not thinking clearly i clicked ok.since then i couldnt pair my iphone with mypc via bluetooth

    Trying to pair my phone with my pc via bluetooth , had internet connection error .my iphone asked to forget about my pc and i clicked yes thinking i can redo the connection later but ever since, my iphone as refused to discover my pc .i have tried every thing i know but to no avail . can you pls help
    thanks

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • 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 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.

  • 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.

  • Sending mail to an internet address through a sendmail step.

    Hi,
    I have done this before. If I mention the SAP logon id as user (
    for agent determination) and if I change the typeid to be 'U'. It is giving an error. I guess I'm missing something here...
    Thanks.
    Sukumar.

    Sukumar,
    Like I said in last post, you want to send out email to xx at rate of xy.com so you have to pass this value in binding with &addressstring&. Now you want to derive your email address from your SAP user id, you have to use FM for that, which will have user id as an input and will find out email address (there are several FM, just search forum).
    Alternatively if HR OM is available the read the info type 0105 and you will get both (sap user name and sap user id).
    So in your workflow, before send mail get the email address and bind it. typeid has to be U
    Hope it clarifes.
    If you still face some issue, please be elaborate question, as this is little confusing.
    Cheers
    Jai

  • 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 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

  • 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.

  • Using mail with cable internet connection

    I just got a cable modem and now my .mail application doesn't work –– won't send or retrieve emails. does anyone know how to deal with this? i'd really appreciate the help. many thanks -- matthew

    yes, the att.net account is a POP. i intend to keep up my att subscription, even with the extra cost, because this isn't a good time to change my email address.
    i can access my email through the att home page, but i'd much rather use .mail since it has tools that i use all the time.
    many thanks
    matthew

  • 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.

  • 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

  • Problems sending mail with 10.6?  Just came across a Tech Note:

    I haven't had issues but this may be helpful:
    http://support.apple.com/kb/TS2998

    I am sure an Apple document detaling the setup will be released shortly ...
    I'm not so sure I'd count on that. Apple wants you to purchase Lion, not tinker around with SL.
    Anyhow, it isn't exactly a BUG, but more of.... (insert engineering excuse here)
    This is as good a document as you are going to get:
    iCloud: Mail server information
    http://support.apple.com/kb/HT4864

Maybe you are looking for

  • Goods Reciept Mandatory in PO

    Dear All, We want to make Good reciept field mandatory in PO. I have made the Good recieot field as default from account assignmnet category as below IMG->MM->Purchasig->Account assignment ->Maintain account assignmnet category. I have checked the bo

  • Event Viewer reporting continuous problem with Firefox

    I had to disable McAfee Site Advisor because if enabled I could not use the back and forth arrows on the browser in some instances. In trying to track this problem down I discovered there is a continuous problem reported in Event Viewer with this inf

  • T400 and VGA issues

    I am pretty certain that my VGA output was working fine until today.  I don't use the external display that often so it's hard to say exactly when the issue started. The external display shows fine during bootup and the animated Windows logo (this is

  • Start Weblogic Server gives missing module b2b.war error

    I am getting the following error when I downloaded the BEA Workshop and platform 8.1 and tried starting the WLS domain under evalguide. Any clues on how I can fix this missing b2b.war error is highly appreciated Thanks Raman <Mar 24, 2004 10:49:14 AM

  • Abap-alv

    which is triggered first in alv pgm? what is load of pgm