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
1
vote
0 answers

Reading eml file in java : base64 issue

I have problem while i ma trying to read eml file. My code is InputStream inMsg = new FileInputStream("D:\\Sample Project\\makhir.eml"); Message msg = new MimeMessage(session, inMsg); if(msg.isMimeType("multipart/*") ||…
Ashish Mishra
  • 31
  • 2
  • 4
1
vote
1 answer

How can I classify an email as internal in Outlook when sending it using JavaMail with Java Spring and Spring Boot?

How to add confidentiality using mime message . Message msg = new Message ( session) msg. Setfrom(….) msg.setReply(…) msg. Setsubject(…) …. I tried below and able to get in mail that “please treat this as private” . But this is not what ima trying…
Maddy
  • 11
  • 2
1
vote
0 answers

Creating Mime message for message body and single attachment in nodemailer

I'm trying to create Mime message for message body and single html attachment in nodemailer using the raw property and its not delivering well. Sometimes it displays only base64 or the message body html but the attachment doesn't show well or…
1
vote
0 answers

Are MIME headers case sensitive >

I have a small question, does the MIME headers have to be case sensitive ? for example Content-Type in the RFC 2045 (https://www.ietf.org/rfc/rfc2045.txt) its enclosed in double quotes.so does content type header in the multipart request body has to…
Starbucks Admin
  • 585
  • 1
  • 8
  • 21
1
vote
1 answer

How to send MIME email with attachments from Graph SDK? Preventing Graph API from Creating winmail.dat attachment

I'm using graph sdk from c# to send emails from a web app. The body is formatted as HTML. I'm attaching PDFs to the email. The recipients are receiving the email with winmail.dat and sometimes noname. It seems like the email is coming in as plain…
1
vote
1 answer

Cannot sent mail in Mimekit

While sending the mail from c# using the below code of MimeKit var message = new MimeMessage(); message.From.Add(new MailboxAddress(FromAddress, "Notification")); foreach (var address in Toaddress.Split(',')) { message.To.Add(new…
Rajesh
  • 1,600
  • 5
  • 33
  • 59
1
vote
1 answer

How to validate email message-id in google workspace (Gmail)

I noticed that sometimes when I send a mail to a Gmail account. Gmail reject the message-id and regenerate the id. You can identify this be by looking at the original message and seeing "SMTPIN_ADDED_BROKEN" string with in it. For…
Haim Raman
  • 11,508
  • 6
  • 44
  • 70
1
vote
1 answer

MimeKit Remove gif images from Emails

I'm trying to strip gif images from emails in order to save storage space in Outlook and our document management system. Say for example you've got an email approx 2MB's in size and the gif is 1MB. I'm expecting the result of the file size of the…
Netstrata
  • 75
  • 1
  • 7
1
vote
0 answers

PYTHON: How to import undelivered gmail emails with Diagnostic-Code and Final-Recipient

I'm newbie to gmail api calls. My goal is when an email failed to deliver to the target recipient, I'm trying to import Diagnostic-Code: and Final-Recipient: details.Below is the ultimate file what i'm trying to…
Jany
  • 11
  • 2
1
vote
1 answer

Sending InputStreamSource as attachment with mailGun API in java

I am trying to send an email with attachments, My attachments are stored in the AWS, I download them and store them in HashMap: Below is my code : when I send the Email the mail doesnot get delivered, I don't any error…
1
vote
0 answers

In gmail api get message, how do prevent getting the previous message chain when getting current message?

I am using gmail api to get latest messages. Unfortunately while fetching messages, it is also chaining previous message chain to the bottom. I want to prevent or remove that. Is there a way to do this? Message message =…
Anwesh Mohapatra
  • 107
  • 1
  • 10
1
vote
0 answers

ASP.NET MVC - Refused to execute script from site because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled

Bundling is not rendering the .js file names properly post hosting the site in production. Bundle Config File // esapi4js dependencies bundles.Add(new ScriptBundle("~/bundles/esapi4js").Include( …
1
vote
0 answers

signing soap attachment content only in Python

I have been trying to sign a soap attachment in the request in python and lately, I have managed to modify the code of signxml to reference the CID and build the reference node accordingly. Any yet, the server has not been able to verify the…
Isaacyip621
  • 31
  • 1
  • 5
1
vote
1 answer

How to exclude the signature and quoted parts from email message using MimeKit?

Is it possible to detect which parts of the email message are signature and previous messages quoted to this message for excluding those parts, using the MimeKit?
Rojan Gh.
  • 1,062
  • 1
  • 9
  • 32
1
vote
1 answer

Multiple To and Cc headers in MIME message sent through LotusScript

I'm building a LotusScript agent looping through a set of documents then - based on a given condition - create mail messages with formatted html text. The recipients will be mostly Non-Notes users (Outlook etc) that's why I want to make sure that…
Lothar Mueller
  • 2,528
  • 1
  • 16
  • 29