JavaMail - files aren't sent

Maybe someone can help me - I have a little program that uses JavaMail mail to send mails. Everything is ok but there are a few users that doesn't get mails with attachments (which were sent by JavaMail). They can get the same attachments, if they are sent from another mail application (like outlook).
Does someone has an idea why is it happen?

Maybe there are headers that I must set? I guess that
the remote machine filter suspect mails. I tried to
think of a reason - why did it succeed with another
mail programs and failed with JavaMail.
The only idea I have is the headers (maybe something
in these headers cause the remote server to treate
these mails as affected or as spam). One possibility occured to me: Are you calling both setFrom() on the message and setting the mail.from property for the Session? It seems to me I had some problems when I was doing only one or the other, rather than both. I don't think it was the same problem your having, but I do know I stumbled across mail.from rather late in the game and things went more smoothly after that.
Also, is the JavaMail using the same outbound SMTP server as the mail client that's able to send with attachments?
What I'd suggest is that you ask those people who are having trouble to send you the full headers of the mail that gets through successfully and also of the mail that came through without attachments--or if they're not getting any at all, then look at the headers of some of your mail that did get through.
Ultimately, it's just a stream of bytes sent from one server to another, so if the server is the same, then there must be something different about the bytes you're sending vs. the bytes that the receiving server likes.

Similar Messages

  • JavaMail - mail with files isn't sent to specific recipient

    Maybe someone have an idea for me. I use java mail in order to send mails. It worked perfect until today. There is a specific recipient that doesn't get mails with files. At the beginning I was sure that there is a problem in the side of the recipient (probabely security ptoblem), but the same recipient got mail with the same files when I sent them using another application of mail.
    Are there any ideas where is the problem?

    I would check the logs for you smtp server and see if it got that far. That may be able to tell you where the email went after it got sent.
    Paul

  • I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

    I am trying to softproof an image using a CMYK .icc file. I sent an image from LR 5 to PS CC 2014, opened the Camera Raw FIlter, but the hyperlink to access workflow is not showing up in the CR dialogue box... Any ideas why this might be?

  • It is necessary to create one header data for each file to be sent to CDFS.

    hi GUYS
    my sce anrio is FILE-XI-PROXY
    REQUIREMENT IS
    SOURCE FILE                      TARGET FILE WILL BE
    H1                                             H1                        H1                    H1
    I1                                               I1                         I2                      I3
    I2                                                F1                        F1                    F1
    I3                                           
    F1
    It is necessary to create one header data for each file to be sent to TARGET. Each file will be related to only one SAP Company Code.
    Thanks
    NAG

    aa

  • I can not print a pdf file that was sent in an email.  I get the error message that adobe could not

    I can not print a pdf file that was sent in an email.  I get an adobe error message that it can not print with an ok to check and when i do I get another adobe error message that says I did not select a page to print. I have downloaded the latest adobe download.  I forwarded the email to my husband and he printed the document just fine.

    This first question which comes to mind is how do you display the pdf file in the browser?
    For this the browser uses a plug in (e.g. adobe reader) which already has the ability to print the pdf file. Depending on the version of your plug in, printing is started differently.
    Timo
    Ps: which jdev version do you use?

  • How can I see that a file has been sent for workflow?

    How can I see that a file has been sent for workflow?
    During the workflow phase, the file is locked for workflow. But when the file has been approved (or denied) it will have the same status as it did before the workflow process (unless you trigger the workflow by changing its location).
    You can see the workflow history in the "My Request" view, but this way of determining whether a file has been approved seems complicated.
    Best regards
    Magnus

    Hi,
    Thanks for the transaction code, but my question is not answered yet.
    For example, I use STMS_IMPORT in the Development environement to see the list of the transport that has been made in that environement.
    I now have a list of these transports, with a status. But I wanna know if that transport that has been created in the Development environement has been moved to the Sandbox environement.
    STMS_IMPORT shows me only the list of transports that has been created in that environement. It doesn't tell me if a transport in DVL has been moved in the QAS, SANDBOX or PRODUCTION environment.
    Thanks again,
    Julien

  • My Mac Mail program no longer stores any files in my Sent folder.  When I try to send an e-mail it just spins.  What's up?

    My Mac Mail program no longer stores any files in my Sent folder.  Moreover, the sent folder (off to the left) contains a highlighted "1" as if something is in there.
    When I try to send an e-mail message, it simply spins.
    This is new behavior for my Laptop of three years.  Usually, I have lots of messages in my Sent folder and can easily send e-mail.
    I see no discussion forum for "Mail" or for "e-mail" so I raise this question here.
    I would appreciate any help anyone might offer. 
    Thanks.
    norman from akron

    Thank you for your reply.  Turns out, re-started my Macbook later and the problem disappeared.  Could this have helped?

  • Creation of Password for the Zip file which are sent thru email

    Dear Experts,
                          how to create a password for the zip file which is sent via email through a abap program.
                                    OR
    how to create a password in abap for a zip file.
    Thanks...
    Vishal
    Edited by: vishal_reddy786 on Jun 22, 2010 7:31 AM

    UNSOLVED

  • How do i edit a PDF file that was sent to me in an email?

    How do i edit a PDF file that was sent to me in an email?

    Depends on the extent of the edits. You will need Acrobat in any case. If the edits or minor, you can use the text edit tool. For major edits, you need to request the original file be sent or see if you can Save As a DOC or related file type. PDFs are not really structured for editing and you are asking for a lot of grief if you want to do much. Exporting is the best way, or even better simply asking the author for the original (non-PDF type).

  • I cannot download a pdf file that was sent to me.

    I cannot download a pdf file that was sent to me.

    Sent from where? By whom? It may not be a PDF at all, just a virus in disguise. That aside, we need some system info at least...
    Mylenium

  • How to set name of file to be sent through mail

    hi ,
    i am using FM  'SO_DOCUMENT_SEND_API1'  for sending some file.
    now my question is how to set  the name of file to be sent?
    thanks

    Hi Rahul
    Check this link
    Sending E-Mail from ABAP - Version 610 and Higher - BCS Interface
    Re: How to send mail to with in SAP !!
    Regards,
    Syf
    Edited by: syfulla shaik on Dec 22, 2008 10:44 AM

  • Is there a way to recover a file that was sent to trash

    I moved some files and then sent some files to trash, appently i sent to trash valuable to files. I went into time machine, and apparently my files have grown too large for my 3 terabit back up drive, and when i went in there was only one back up. it is dated at a period after i sent a file to trash but before i cleaned out the trash.
    I have been told that time machine does not back up trash so that is a dead end.
    My next thought was to consider looking at the file from where i the trashed files lived before i sent them to Trash. In my PC prior life there was an undelete function, i have been told by Apple support there is no similar function.
    Any ideas how i can recover 2,000 photos that i have been working on?

    If the files are in the Trash the locate them in Trash and right click them and select Put Back. If you haven't been backing up and you really did lose them then you are able to learn why backing up is vital. Time Machine does not backup the Trash however  you can easily use Time Machine to navigate to where the files where prior to being trashed and restore them. If you have Time Machine do that.
    BTW you may also benefit from using redundant backup. Many of us on these forums will use a redundant system. For example I use both Time Machine and on another external HD I create a bootable clone using SuperDuper. This is valuable because backups can fail too and Time Machine isn't bootable. Here are some additional strategies from a Mac World article Backup Plan I.

  • HT4915 How to I completely delete my music in iCoud so I can start over with new play lists? I get the message that my files aren't  music files. Can I see what is in my iCloud file?

    How to I completely delete my music in iCoud so I can start over with new play lists? I get the message that my files aren't music files. Can I see what is in my iCloud file?

    Thank you Csound1, ok I guess I did manage to delete it but now when I copy new mp3 files they come as mpeg and iCoud won't accept them? Why? Do I have to convert them all now or can I set it somewhere to take them as mp3's. Appreciate the help. Have a great day! Cheers Steve

  • Trying to convert my powerpoint to DVD.  2 of my itunes files aren't compatible or supported by my converter.  How can I change itunes to media player?

    hmmmmm....never done this before. Lost.  Anyone out there?
    Trying to convert my powerpoint to DVD.  2 of my itunes files aren't compatible or supported by my converter.  How can I change itunes to media player?

    Qcurly,
    Probably your menu bar is hidden.  To reveal it, click the triangle by the half-shaded box at upper left and click on Show Menu Bar (as piictured).  This will reveal the menu bar with File, Edit, View, etc.

  • Font Info in External CSS Files aren't being recognized or utilized

    I'm a front-end web developer. After I upgraded to the new Firefox, I checked two of my websites that I built.
    The font information in my CSS external files aren't being recognized so the fonts are coming in at the wrong sizes (that is...really LARGE). (However, it is recognizing placement of absolute positioned images.)

    Sounds like you did not properly define your site. Start
    there.
    Walt
    "Prizzbone" <[email protected]> wrote in
    message
    news:g8vn0c$qs7$[email protected]..
    >I have uploaded files both with FTP and site won't
    display CSS or images,
    >or
    > pretty much anything except the index. I can view all
    files if I look at
    > them
    > independently. It works fine in DW, and I have tried
    putting all files in
    > one
    > folder on the server, I don't know if my settings in DW
    are wrong. I
    > would
    > prefer not to have to upload my files all individually,
    any help would be
    > great, thanks.
    >

Maybe you are looking for