Announcement Announcement Module
Collapse
No announcement yet.
Problem receiving mails sent by JavaMailSender Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem receiving mails sent by JavaMailSender

    We are using JavaMailSender and MimeMessageHelper to send mail to customers.
    It works fine except for some of them.
    Between dashes below is an example of a mail received by some of our customers.
    Some of the recipients of this mail received it correctly, others not.

    --------------------------------------------------
    De : Anne DENGIS - PETIT [mailto:[email protected]]
    Envoye : Wednesday 13 October 2004 15:50
    A : =?Cp1252?Q?Martine_Michotte_=28Duch=EAne=29?=;
    =?Cp1252?Q?Y=2E_Parmentier_=28Gal=E8re=29?=; C. Devaux (Balteau IE);
    jean-louis Leonet; Jacques Pirlet (TCS Maintenance)
    Objet :
    =?Cp1252?B?QXVnbWVudGF0aW9uIGRlIGxhIGNhcGFjaXTpIGR 1IENvdW50cnkgSGFsbCDgI
    E91Z3LpZSA=?==?Cp1252?B?KEdJRDpPMjAwNDEwMTMwMzIp?=


    Ce message utilise un jeu de caracteres qui n'est pas pris en charge par le
    service Messagerie Internet. Pour visualiser le contenu du message original,
    ouvrez le message joint. Si le texte n'est pas affiche correctement,
    enregistrez la piece jointe sur le disque, et ouvrez-le avec une application
    capable d'afficher le jeu de caracteres original.
    --------------------------------------------------

    Translation of the last paragraph :
    This message uses a character set which is not dealt with by the service Messagerie Internet. To visualize the contents of the original message, open the joined message. If the text is not displayed correctly, record the enclosure on the disc, and open it with an application able to display the original character set.

    I don't thing it's a Spring problem but I can't see where the problem comes from.

    I don't specify any special encoding. I use MimeMessageHelper to add all the recipients and the attachments.

    Can someone help ?

    Thanks.

    Patrick

  • #2
    Can you tell us more about the retrieving of recipient name/address ?
    It seems like some were set using the CP1252 charset.

    And for the ones who received correctly their mail (maybe those whose name doesn't require encoding accents/...), can you send the source of the message itself ? If you got some recipient lucky enough not to bear outlook for receiving their mail, it is easy.
    At this point, we can see whether the issue if linked to the sending, the reception or eventually an intermediary. In any case, it is very unprobable that spring is in cause.

    Olivier

    Comment


    • #3
      It was an encoding problem.

      Thanks.

      Comment

      Working...
      X