Mail with jpg attachments not sending

I've tried repeatedly sending jpg photos in Mail, but they are never successfully sent.  The Send icon keeps spinning and spinning and never stops.  I end up having to go into the Outbox and deleting the message, then doing a Force Quit Mail before I can reopen Mail.  This is something new since updating to Lion.

Hmm  that sounds convenient.
Maybe try Attachment tamer, a Mail plug-in, and see if you can tweek a work around.  A few bugs in Mail.
http://lokiware.info/Attachment-Tamer

Similar Messages

  • Leopard mail.app jpg attachments not viewable

    Some PDF and Jpg attachment are not viewable in the message and a blue cube with white question marks appear in both sending, sent and received emails. This is a new phenomenon which started last week.

    I have solved the problem on my mac:
    1- Save the attachment to the Desktop.
    2- Press CMD+I in the file
    3- Change the "Open With" option to another app.
    4- Change the "Open With" option to the desired app (Preview to Imagens antd PDF's...)
    5- Choose "Change All"
    6- Press OK.
    Now i can see the images and PDF's on my mail's body.

  • Sending mail with multiple attachments

    hi.I wrote a code to send mail.but i need to send mail with multiple attachments.here is the code i wrote.what should i do to send the mail with multiple attachments.if i run this code iam able to send mails but not attachments.please help me
    <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Properties,java.net.*,javax.sql.*,javax.activation.*,java.util.*,java.text.*" %>
    <%@ page import="java.io.*,java.sql.*,java.net.*,java.util.*,java.text.*" %>
    <%
         String Attachfiles1="";
         String Attachfiles2="";
    String Attachfiles3="";
    if("Send".equalsIgnoreCase("send"))
              try
         String subject="",from="",url = null,to="";
         String mailhost = "our local host";
         Properties props = System.getProperties();
         String msg_txt="";
         String strStatus="";
    // byte[] bin=.....;
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    String mailer = "MyMailerProgram";
    to=request.getParameter("to");
    from=request.getParameter("from");
    subject=request.getParameter("subject");
    msg_txt=request.getParameter("message");
    props.put("mail.smtp.host", mailhost);
    Session mailsession = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(mailsession);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
    message.setSubject(subject);
    message.setHeader("X-Mailer", mailer);
    message.setSentDate(new Date());
    message.setText(msg_txt);
    BodyPart messageBodyPart = new MimeBodyPart();
    BodyPart messageBodyPart2 = new MimeBodyPart();
    Multipart multipart = new MimeMultipart(); // to add many part to your messge
    messageBodyPart = new MimeBodyPart();
    javax.activation.DataSource source = new javax.activation.FileDataSource("path of the file");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("file_name");
    messageBodyPart2.setText("message"); // set the txt message
    multipart.addBodyPart(messageBodyPart);
    multipart.addBodyPart(messageBodyPart2);
    Transport.send(message);
    out.println("Message Sent");
    catch (Exception e)
    e.printStackTrace();
    if("Attachfiles".equalsIgnoreCase("attachfiles"))
    Attachfiles1=request.getParameter("fieldname1");
    Attachfiles2=request.getParameter("fieldname2");
    Attachfiles3=request.getParameter("fieldname3");
    %>
    <html>
    <body>
    <div class="frame">
         <form action="Composemail.jsp" method="post">
              <b>SelectPosition:</b> <select name="cars" >
    <option value="ABAP">ABAP
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select><br><br>
    <table border="1" cellpadding="2" cellspacing="2">
    <tr><th>Name</th>
    <th>EmailId</th>
    <th>ContactNumber</th>
    <th>Position</th>
    </tr>
    <tr>
    <td>
    </td>
    </tr>
    </table><br>
    <b>SelectUser :</b><select name="cars">
    <option value="Administrator">Administrator
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select>
    <br>
    <b>To :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="to" size="72"><br>
    <b>From :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="from" size="72"><br>
    <b>Subject :</b>&nbsp&nbsp&nbsp<input type="text" name="subject" size="72"><br>
    <%=Attachfiles1%><br><%=Attachfiles2%><br><%=Attachfiles3%><br><br>
    <b>Message:</b><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="10" cols="50" name="message">
    </textarea> <br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname1" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname2" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname3" value="filename" size="50"><br><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="submit" name="attachfiles" value="Attachfiles">
    <center>
    <input type="submit" name="send" value="Send" >
    </center>
    </form>
    </div>
    </body>
    </html>

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending mail with 2 attachments

    Hi All,
            I have a requirement where I have to send a mail with 2 attachments. Both attachments should be excel sheets.
    Iam using the function module
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = gd_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_txt               = it_message
         contents_bin               = it_attachment
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    I don't know where to pass another attachment.
    How can it be done?
    Kindly help me.
    Regards,
    Krithika

    Hi,
    Try this code.
    you have to populate both packing_list and contents_bin internal tables before passing to the fm SO_NEW_DOCUMENT_ATT_SEND_API1
    FORM CONVERT_OTF_TO_PDF TABLES OTFTAB STRUCTURE OTF.
      CLEAR: SOOD, W_LINES, CONTENT_IN, CONTENT_OUT.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      DESCRIBE TABLE OTFTAB LINES W_LINES.
      SOOD-OBJLEN = W_LINES.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      CLEAR: CONTENT_IN, CONTENT_OUT.
       CONTENT_IN[] = OTFTAB[].
        CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
             EXPORTING
                  FORMAT_SRC      = 'OTF'
                  FORMAT_DST      = 'PDF'
                  DEVTYPE         = 'HPLJ5SI'
    *         FUNCPARA        =
                  LEN_IN          = SOOD-OBJLEN
    *    IMPORTING
    *         LEN_OUT         =
             TABLES
                  CONTENT_IN      = CONTENT_IN
                  CONTENT_OUT     = CONTENT_OUT
             EXCEPTIONS
                  ERR_CONV_FAILED = 1
                  OTHERS          = 2.
      REFRESH OBJBIN. CLEAR OBJBIN.
      IF GV_SUMMARY <> 'X'.
        OBJBIN[] = CONTENT_OUT[].
      ELSE.
        REFRESH CONTENT_OUT.
        CLEAR CONTENT_OUT.
      ENDIF.
      REFRESH: CONTENT_IN, OBJPACK.
      CLEAR: CONTENT_IN, OBJPACK.
      DOC_CHNG-OBJ_NAME = TEXT-003.
      IF SY-SYSID NE 'S4P'.
       IF DOC_CHNG-OBJ_DESCR IS  INITIAL.
          DOC_CHNG-OBJ_DESCR = TEXT-004.
        ELSE.
          IF GV_SUMMARY = 'X'.
           DOC_CHNG-OBJ_DESCR = TEXT-012.
          ENDIF.
        ENDIF.
      ENDIF.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * Fill the fields of the packing_list for the main document:
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        REFRESH RECLIST.
        CLEAR RECLIST.
    ** get E-mail address
          IF NOT P_EMAIL IS INITIAL.
            RECIPIENT_INT-ADDRESS = P_EMAIL.
          ENDIF.
            RECLIST-RECEIVER = RECIPIENT_INT.
            RECLIST-REC_TYPE = 'U'.
            APPEND RECLIST.
    * SEND THE DOCUMENT BY CALLING THE SAPOFFICE API1 MODULE
    * FOR SENDING DOCUMENTS WITH ATTACHMENTS
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
                PUT_IN_OUTBOX              = 'X'
           IMPORTING
                SENT_TO_ALL                = SENT_TO_ALL
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
               OTHERS                     = 99.
    Regards,
    Sailaja.

  • Sending mail with multiple attachments in jsp

    hi .I wrote a code to send a mail in jsp.but now i need to send mails with multiple attachments.how can i send mail with multiple attachment.

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

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

  • Mail with multiple gmail accounts sending messages from wrong email, other than the one i select

    mail with multiple gmail accounts sending messages from wrong email, other than the one i select:
    i'm using mail on osx 10.7 with multiple gmail accounts. when i create an email, i check to be sure i'm sending/replying from the correct account. after i send it, somehow it actually sends it from a different account, other than the one i've selected "from." this is evidenced by the reply email i receive. how can i fix this?
    in preferences, i have "send new messages from : account of selected mailbox"

    From the Mail menu bar, select
              Mail ▹ Preferences...
    The Mail preference dialog opens. Select the Composing tab from the row of icons at the top. From the menu labeled
              Send new messages from:
    choose
              Account of selected mailbox
    Note that this setting may have no effect if you start a new message while a VIP or smart mailbox is selected in the mailbox list. Those are saved searches, not actual mailboxes.
    If the problem remains, select the Accounts tab in the preference dialog, then select the affected account in the list on the left.
    In the Account Information pane, select the correct server in the menu labeled
              Outgoing Mail Server (SMTP)
    If there's only one server in the menu, select
              Edit SMTP Server List...
    and add a new server with the correct settings. If you're not sure how to do that, try the Mail Settings Lookup.
    Another possibility is that the wrong card in your address book is selected as yours. Select your card in the Contacts application. Then select
              Card ▹ Make This My Card
    from the menu bar.

  • Mac mail on Macbook pro not sending email suddenly

    OS X 10.6.8
    Mac mail was working up to yesterday.
    NO changes to the box or mail.
    Mail will receive but not send mail; alerts with an smtp error.
    Installed Thunderbird, same problem.
    Mac mail on an iMac, works fine.
    Thunderbird on Win Vista works fine.
    pop and smtp settings are identical on all boxes.
    Turned off the firewall on the laptop - no joy
    Searched and have killed/rebuilt the keychain several times.
    Confirmed password is correct
    I have not killed and recreated the mail account; if that actually works, let me know and I'll try again.
    I have rebuilt the mailbox - no joy.
    Ran the diagnostics and green lights on both pop and smtp so it seems that logins are working, just can't send mail.
    Any suggestions?  Is there any reason that mail would stop working on the laptop but continue working on the desktop?  I'm not a Mac guy so I've run out of options and any pointers would be appreciated.

    "Note all the settings on the functional Mac and then transfer them to the non-functional one."
    That'd be the problem.  I've checked and double checked the settings/configuration; even went over them with my wife reading one set and me the other - everything matches.  So, I'm making the assumption that we're missing the forest for the trees and it's something totally stupid like a swapped set of letters or an L for an I kind of thing.  In order to totally eliminate these kinds of S.U.E.'s, I'd like to move a copy of the files that are the actual config from the working machine to the non-functional machine.
    Since OSX is basically BSD, I'm kind of making the assumption that all the important stuff is stored in config files; I just have not been able to figure out which files and where they live.
    Keep in mind that the laptop went toes up without anyone making any changes so I'm not totally convinced the issue is a typo.  I've searched for other reasons a system would stop sending mail and am not getting any hits that are meaningful.  If anyone has any ideas, let me know.
    TIA

  • Your help, please...contacts received cryptic e-mails that I did not send

    Your help, please...
    Some of my contacts have received cryptic e-mails that I did not send.
    How do I "clean" my computer?
    Thank you!

    There's nothing wrong with your Mac. One of your PC friends/co-workers has had his address book compromised and the malware is sending out emails from his address book as if they came from the person who's name is in their address book.
    -mj

  • Mail receives but will not send email

    Mail receives but will not send email. This started about 2 weeks ago, I have a Time Capsule, but when i pick a date to restore the Restore button doesn't light up. Thanks for any help,

    OS X Mail: Troubleshooting sending and receiving email messages

  • Send mail with 2 attachments

    Hi all,
    I need to send an email with 2 attachments: 1 is a sapscript converted into PDF, and the other one is an Excel sheet.
    Is it possible?
    I think I almost have it, with function SO_NEW_DOCUMENT_ATT_SEND_API1, and table field pack_list-head_start, but I can see the PDF and not the Excel.
    Thanks in advance,
    Rafael Llabré

    This is possible, however for every attachment you need for example a new pack list. So the thing you do for ONE attachment has to be repeated for every new attachment.
    have a look at this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=10795451&messageID=4850757
    Edited by: Micky Oestreich on Apr 16, 2008 10:03 AM

  • SAP PI7.31 : Mail with multiple attachments - how to process via UDF

    Hi
    wondering how I can approach this problem.   I have to read an Email with any number of attachments  - it can have between 1 and 4 or maybe more of different types (CSV,XLS,PDF,ZIP).  I need to read this email and extract the attachments to a folder.
    Just to let you know I have done this OK for an email that I know only has 2 attachments ! Works perfectly - just no good for ?n? attachments !
       Mail Sender has AF_Modules/MultipartHeaderBean to add payload Attributes
       The message is sent to 2 Receivers
       Each Receiver File adapter then uses AF_Modules/DynamicConfigurationBean and AF_Modules/PayloadSwapBean
    Problem is that when I do not know how many attachments there are.  So I will have to write a Java UDF mapping, perhaps using the classTransformationInput.
    My question is : To create a Java UDF what should be structure of a sent Email message Type look like so I can feed that into a UDF to check what payload attachments there are etc ?.

    As long as you use java mapping, you can have any dummy structures for your interfaces.
    But, if you prefer to use graphical mapping with UDF, then you should have some valid structures for your mail and file interfaces. e.g., mail pack XSD for mail interface as metioned by Indrajit Sarkar
    and again the same structure for the file interface as well so that you can have one to one mapping an then make use of UDF code from the article. Use payload swap bean in the receiver file channel to replace xml payload with Zipped attachments and then finally use script to unzip this zip file.
    Rgds,
    Praveen Gujjeti

  • MAIL WITH SMALL ATTACHMENTS LIKE 1.00 MB ALSO DOESN'T GO

    WHEN I TRY TO SEND MAILS WITH ATTACHMENTS THEN ATTACHMENTS AS SMALL AS 1.00 MB IS ALSO NOT GOING. WHEN I LOG IN TO MY SERVICE PROVIDER SITE AND MAIL IT FROM THERE THEN THERE IS NO PROBLEM.

    Is that a Thunderbird support question? Firefox doesn't "do" email, but it will display email at the ISP website.

  • Sent Mail with Large Attachments

    Hello everyone,
    I've noticed that emails I send from Mail on my Mac (which have larger attachments) don't go into my Sent folder.
    There is no record of them being sent. However, I know they've been sent because I get replies to them.
    Emails with no attachments or small attachments go into the Sent folder fine though.
    Does anyone know how to fix this?
    Thanks a lot....

    meganano wrote:
    Yep. It's perfectly legit to not want to save copies of photos, audio files or contracts that I have on my computer when only a record is needed.
    So far, this is the most elegant solution I've found. http://www.betalogue.com/2012/11/13/lionmail-removeattachmentsfix/
    Fie on you, Apple!
    @meganano:
    Fie?  They probably won't understand . . . but, thanks for posting that link, seems easy enough to do . . . .  I'll check it out in a few days . . . working on getting another usually buggy linux system running on my MBPro . . . it's a better approach than saying "Fie" . . . .  : - )
    e.e.p.

  • Windows Mail can receive but not send until exiting application

    Hi, and thanks for taking time to read this as I&rsquo;m in need of your help.
    I have a Toshiba P200, Vista Home Premium, Tiscali as my ISP, Norton Internet Security for AV and firewall, and am accessing my broadband via Ethernet to a Belkin ADSL router (and occasionally a Siemens router) and I&rsquo;m experiencing some strange happenings with Windows Mail.
    In short I can receive mail with no problems, but when I send the mail it stays in the outbox despite the Send Immediate option being checked or pressing the Send/Receive button. When I exit Windows Mail the mail is sent straight away, and is in the Sent Mail folder when I restart Windows Mail.
    So why do I think there&rsquo;s a problem with the laptop. Well, I&rsquo;m fortunate enough to have a friend who has an non-Toshiba laptop, where all of the above can be replicated. Guess what, Windows Mail sends the mail exactly as it should (on my Tiscali account and on my network, through my router and ISP etc.), so I conclude that the only difference is that my laptop is a P200.
    I have called Tiscali who confirmed that all my Mail settings were OK, POP, SMTP etc, which I&rsquo;d expect (as they work on my friend&rsquo;s laptop), and they advised I contact Microsoft, which I did, and since the P200 has Vista pre-installed they say I have to contact Toshiba, and here I am.
    My P200 has been restored to factory settings, and I have tried to get this working without Norton IS, and no firewalls (Vista and router), but no luck.
    Any ideas would be much appreciated and if I find out by other means, I&rsquo;ll post back with outcome. If the answer is already out there, I apologise for being too dumb to locate it and beg your patience.
    Many thanks.

    Hi
    It is typical for support people. Every of them try to send the customers away and the reason should be by them. In my opinion Microsofts reaction is strange for me. They have designed operating system and they should be responsible for the functionality.
    I have Satellite A200 and Satellite P200D and I use Windows Mail on both of them successfully. My notebook is connected to WLAN router and router directly to the phone line. To be honest I have configured Windows Mail like you and all job were done in few minutes.
    It is not easy to say where the problem can be but I believe there is some problem with some settings on your notebook. Some of them block it somehow. To compare your, with friends notebook is also not the best because he can have completely different OS settings (antivir application, firewall settings).
    Try to disable all features who can block Windows hotmail to see if there is some difference.

Maybe you are looking for

  • Mac mini vs. imac

    Okay looking for some advice. I'm sure this has been discussed previously, for that I apologize. Need to replace my main computer ( currently a imac g5 ppc) because the screen went dark and its just old anyway. I have loved this imac so top on my lis

  • Transfer data from 10.4 G4 - Mac Mini 10.7

    I have followed all the instructions for using Migration Assistant. Firewire 400-800 and the ethernet connection. I can not get past The " looking for other computers ", wheel.  I never get the firewire Icon. However, if I unplug the G4 I do get the

  • Deploy multiple websites under basic or standard account and charge individually as per site usage.

    Hello Everyone, I want to host multiple website under one basic/standard account and charge the individual clients as per their site usage, so my question are: Can I host multiple websites under one basic/standard account? How can I see billing for e

  • I just want to unlock my iphone i want to use it in china

    i just want to unlock my iphone i want to use it in china who can help me to unlock the iphone 4  baseband 04.10.01 thank you

  • HDR Toning... Crashes Photoshop

    Just what the title says. I click on the menu option and the dialog frame pops up ("see-thru"), then a few seconds later I get the Windows error "This program has encountered....must be shutdown. Sorry for inconvenience...blah blah blah" I tried unin