Questions tagged [mime-message]

For questions regarding a Message that is specified in the Internet standard Multipurpose Internet Mail Extensions (MIME).

A Message specified in the Internet standard Multipurpose Internet Mail Extensions (MIME).

RFCs specifying the MIME standard:

  • RFC2045 – Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
  • RFC2046 – Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
  • RFC2047 – MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
  • RFC4289 – Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures
  • RFC2049 – Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples
  • RFC4288 – Media Type Specifications and Registration Procedures
254 questions
0
votes
1 answer

How to add accented characters to the "to" field of MimeMessageHelper?

I am sending emails with the Spring MimeMessageHelper, which uses the JavaMail API in the background. I would like to have an option to input the recipient's name like this: private static void setTo(final EmailDTO emailDTO, MimeMessageHelper…
Peter
  • 715
  • 1
  • 12
  • 23
0
votes
1 answer

Parsing multi-part message, body only

I used OpenPop.NET for parsing Email (MIME) messages, stored in a database. Most of the messages are being parsed well, but in some of them the message body isn't getting parsed. I get the body as a multi-part formatted text, like this: This is a…
Ido Gal
  • 528
  • 10
  • 26
0
votes
2 answers

Unable to parse Java MIME mail message

I'm creating java MIMEMessage object from input stream. It is getting constructed properly without any problem. I'm also able to fetch body and attachments. But the problem is, when I receive some emails with some different formating, like from…
sumitarora
  • 580
  • 4
  • 18
0
votes
0 answers

How send subject using PHPMailer

I use PHPMailer class. I've written a test email like this: $mail = new PHPMailer(); $mail->SMTPDebug = 2; $mail->Username = "username"; $mail->Password = "aaa"; $mail->SetFrom('mail',…
akkloshank
  • 53
  • 1
  • 2
  • 9
0
votes
2 answers

Sending a .xls as an attachment perl using Email::MIME

Here is the code for sending a email: use Email::MIME; use IO::All; my @parts = ( Email::MIME->create( attributes => { filename => "report.xls", content_type =>…
Aman Deep Gautam
  • 8,091
  • 21
  • 74
  • 130
0
votes
1 answer

Parse Exception in javax.mail MimeMessage

I have found my very same error in https://forums.oracle.com/thread/2449918 According to the answer, the email is just wrong. My question is, is there any idea about how to handle the problem? As in the question says, if I try to send:…
Blanca Hdez
  • 3,513
  • 19
  • 71
  • 93
0
votes
1 answer

JavaMail MimeMultiPart doesn't send whole content

I've been stuck with a strange problem for a while now and I really don't see anything wrong in my code. I'm trying to send an email with java where I attach an image to the message. First I have the message with plain text, and then the image by…
user2099024
  • 1,452
  • 4
  • 16
  • 26
0
votes
1 answer

In Mimemessage how to make setContent method should also change value returned by getRawInputStream method

I have the Mimemessage object already. I tried to append some content to the existing content. Using message.getContent() method, i have content object. Then i set setContent using msg.setContent(appendContent, contenttype). Afterwards, i called…
Roshan
  • 2,019
  • 8
  • 36
  • 56
0
votes
1 answer

Javax.mail changes mime headers

I need to specify a particular headers to a MimeMessage. MimeMessage mMessage = new MimeMessage(session); ... mMessage.setRecipients(Message.RecipientType.TO, tosAddr); mMessage.setHeader("MIME-Version", "1.0"); mMessage.setHeader("Content-Type",…
Tobia
  • 9,165
  • 28
  • 114
  • 219
0
votes
2 answers

MimeMessage emails - create a "in-reply" email

Currently , I'm recieving emails with my server(imap through spring framework) the messages i recieve are of type MimeMessage. lets say i now got a new email (X) I would like to create a new MimeMessage (Y) that in it's body it will say that this…
Urbanleg
  • 6,252
  • 16
  • 76
  • 139
0
votes
2 answers

How to trim off the user signature from Email in MimeMessage java

I am having a java application which processes a gmail inbox for some user replies, processes these replies and put them into database. I am currently facing a problem where I want to identify the user signatures in the email content, trim them off…
Nisha Goyal
  • 37
  • 3
  • 10
0
votes
1 answer

how to return multipart-MIME type message

client code.... HttpPost httpPost = new HttpPost(); MultipartEntity multipartEntity = new MultipartEntity(); FormBodyPart xmlPart = new FormBodyPart("soap-req", new StringBody(returnXml(), "text/xml",…
0
votes
1 answer

Issue loading Mvc 4 view in Iframe? Not displaying the model properties in IFrame

I have this following requirement. Need to display the html Body of the Mime message in IFrame View