2,041 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
106
views
Off by one byte; Need extra CR in base64 encoded MIME string for sending email attachment [closed]
I've got everything working excepting 1 byte! The PNG header has a 0x0d on the 5th byte. When I use this base64 function, it somehow strips that. When I receive the attachment, I can view it on a ...
0
votes
0
answers
76
views
How to sign an e-mail with PGP/MIME in Java?
In my Java program, I want to send e-mails signed with an OpenPGP key in PGP/MIME format as defined in RFC 3156. For this, I use PGPainless’ SOP and Angus Mail.
Technically, signing plain text works ...
0
votes
1
answer
98
views
c++ mapi IConverterSession MIMEToMAPI() is not working
Hi I am trying to use MAPI to convert the contents of an EML file to IMESSAGE data. I implemented the IConverterSession as follows, I didn't get any FAILED(hr) errors anywhere, but when I check the ...
0
votes
0
answers
52
views
Handle octed-stream response pdf in Java
I am calling the soap Api.
I am calling using HttpsURLConnection
Code for making api call:
HttpsURLConnection connection = (HttpsURLConnection) new URL(soapEndpointUrl).openConnection();
...
0
votes
0
answers
42
views
Microsoft Graph Api send MIME
We are migrating a Java application from EWS to the Graph API.
In the old application (with Exchange), we added MSIP(microsoft information protection) labels to the headers that did not start with X- /...
0
votes
2
answers
498
views
Jest unit test in Angular app is throwing "Jest encountered an unexpected token" error
I'm receiving email messages from a local mail server and I need to be able to parse them in JavaScript. The @ProtonMail/jsmimeparser library is working flawlessly which is a huge relief. However, it'...
0
votes
1
answer
1k
views
MIME type issue with nginx and pdf files
So I wanted to create a web application in angular that, amongst other things, shows pdf files to the user. The pdf files are stored in a database, and are retreived by and sent to the user with a ...
0
votes
0
answers
37
views
Android parsing of bMessage for MIME message
We are trying to figure out how to properly format a put BMSG when sending it to an Android devices so it will push it onwards to the receivers.
The type of BMSG we are attempting is TYPE=MMS and when ...
0
votes
1
answer
79
views
Send template e-mail (.msg) through SMTP with inline images
I have an e-mail (newsletter) as .msg file which I would like to send through SMTP via Python.
I have trouble embedding the images of the original e-mail in the e-mail which I sent via SMTP. They keep ...
1
vote
1
answer
71
views
Parsing broken multipart/mixed email
I'm trying to use perl Email::MIME to capture the multipart/mixed portion of an email into a buffer. I have a script that I've been using for a long time that is now having a problem with a particular ...
0
votes
1
answer
120
views
How to Convert MimeMessage to String for Microsoft Graph
I have the following Java Code that tries to create a MIME message and send it to Microsoft graph. I have tried following several examples (see comments in code) but I still get an error. My code is:
...
1
vote
2
answers
41
views
Return text error message when browser expecting a .XLS or other binary file
My Flask server generates an HTML file containing an anchor tag resembling this:
<a href="https://example.com/href_without_extension" download="excelfile.xls">
Download ...
0
votes
1
answer
62
views
Different Servers deliver different MIME type from .NET 4.7.1 API endpoint
I have a .NET 4.7.1 back end where I'm calling an API endpoint and expecting a text/html response. On one server I get the expected text/html, but on a different server (both running same version of ...
1
vote
0
answers
140
views
A MIME type of "text/html"
I deployed my app to render and it worked fine for one day but after that I’ve got and error in console.
Failed to load module script: Expected a JavaScript module script but the server responded ...
0
votes
1
answer
631
views
What is the difference between multipart/mixed, multipart/related and multipart/alternative?
Email headers specify the email's content type as one of:
Content-Type: multipart/mixed
Content-Type: multipart/related
Content-Type: multipart/alternative
I understand that multipart/alternative is ...