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
2 answers

Spring 3 MVC: Display java mimemessage emails as html

I did some searching around, and while I could find plenty of good posts on how to send emails in Java, I couldn't quite find a good jumping off point for displaying them. Here's the deal, my Spring 3 web-app has just received an object of…
darkpbj
  • 2,892
  • 4
  • 22
  • 32
0
votes
1 answer

Spring MimeMessageHelper: AddressException when adding multiple CC

I need to add multiple CC addresses to my mail message, but I keep getting the following exception: javax.mail.internet.AddressException: Illegal Address (email@email.com;email@email.com,15) Here is my code: final String ccAddress = (String)…
dmoss18
  • 867
  • 1
  • 12
  • 25
0
votes
2 answers

Anybody compiled mimetic for iOS

I want to create a mime / multipart parser for IMAP messages. I got few links which says mimetic can do this, but I am unable to compile it for iOS. Any help would be greatly appreciated.
Pankaj
  • 76
  • 4
0
votes
1 answer

Embedding inline image in email and referring it thru cid?

i am sending the inline image with email with mime message. Here is the brief code for the same. This is working fine. My question is i am not setting the MimeMessage content-type as multipart/related (Also not setting multipart subtype as…
M Sach
  • 33,416
  • 76
  • 221
  • 314
0
votes
1 answer

Mime 7bit encoding and UnsupportedEncodingException

I have implemented an approach, but I am not sure whether it is the a correct one or could give me problems in the future. Giving this piece of email: Date: Mon, 17 Sep 2012 04:14:36 +0200 Content-Type: text/plain; charset="utf-7" …
Blanca Hdez
  • 3,513
  • 19
  • 71
  • 93
0
votes
1 answer

How to decode the attachment file in [MIME] java mail

I am unable to decode the attachment. It something like =?utf-8?B?MS5qcGc= which is encoded. I need to decode that attachment. The java code i am using to decode private static String decodeName(String name) throws Exception { if (name == null ||…
Akshay
  • 187
  • 1
  • 2
  • 14
-1
votes
1 answer

Error: cannot convert from "string" to "MimeKit.MimeMessage"

I want to send a email public readonly IMjmlServices _mjmlServices; bodyBuilder.HtmlBody += $""; bodyBuilder.TextBody += $"This is some plain…
-1
votes
1 answer

Convert or Parse Java Pojo to MimeMessage

Following code for you reference. Convert Pojo to MimeMessage in Java Am trying to sent Email Using Javax Mail Following code am used ,It's not converting InputStream to MimeMessage. All Mimemessage Attributes was null. public class MailMessage { …
-1
votes
1 answer

javax.mail.BodyPart getfileName returns null

I am trying to read Content Type with javax.mail.Multipart multipart = (MimeMultipart) mimeMessage.getContent(); //javax.mail.internet.MimeMessage BodyPart bodyPart = multipart.getBodyPart(index); as the content type breaks into two line, it…
sst
  • 21
  • 1
  • 5
-1
votes
1 answer

How to embed image (absolute path) in an HTML e-mail?

I am trying to add Image with its absolute path to HTML email. When I give the image path src in the email body it is not working in outlook. is there any better way to add an image with its absolute path?
ujwal
  • 11
  • 3
-1
votes
1 answer

How read the body content from multi part data using java?

I am new to multi part data. I need to parse and read body content of multi part data. Following below is my multi part data. To be specific my data is embedded inside a soap message, not sure if it's relevant. Using Java I intend to parse and get…
Vinod Jayachandran
  • 3,726
  • 8
  • 51
  • 88
-2
votes
1 answer

Conversion from MimeMessage to byte array

I need to convert MimeMessage into byte array, but while converting some characters are not coded correctly. Code lookis like this: // message is MimeMessage ByteArrayOutputStream baos = new ByteArrayOutputStream(); message.writeTo(baos); byte[]…
Marek
  • 457
  • 8
  • 17
-2
votes
1 answer

Java Mail Api MimeMessage and Multipart is not able to detect attachment if Mail comes from office O365?

Below is the code snippet i am trying Properties props = new Properties(); Session session = Session.getDefaultInstance(props, null); try { MimeMessage mimeMessage = new…
1 2 3
16
17