Questions tagged [mime]

Multipurpose Internet Mail Extensions (MIME) is an Internet standard that extends the format of email to support text in character sets other than ASCII, non-text attachments, message bodies with multiple parts, and header information in non-ASCII character sets

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

I tried downloading a file using its mime type in react js but when the pdf gets downloaded it has no content just the correct no. of pages

This is the function to download it getting the mime type along with other values from the api call for each document in the parent element const downloadDocument = (handleString, mimeType, ...
Sukhjinder Soni's user avatar
0 votes
1 answer
51 views

I want to render HTML as well as plain text in the email

I am getting email with attachment of html. I am expecting that my email has html and plain text both rendered without any attachment # Create the MIME multipart message msg = MIMEMultipart("...
Satyam Gupta's user avatar
0 votes
0 answers
11 views

Python MimeMultipart() Emails Attaching MIMEText as attachment rather than HTML email body text

I've wrote some code below that queries MySQL, Puts it into a Dataframe using Pandas, Gets the Top 5 rows and then puts this information into an Email using MimeMultipart. In my email from my ...
ZachtPy's user avatar
0 votes
0 answers
90 views

My Github TypeScript website is not showing because the server responded with a MIME type of "application/octet-stream"

I am trying to build a website using TypeScript, Vite and Node. My website runs locally but I'm getting the error when trying to open it as a Github hosted page. The full error: /src/main.tsx:1 Failed ...
Alicja S's user avatar
3 votes
2 answers
77 views

Coding of images in Blink archive

I have a Blink archive (in mht format) saved from Chrome browser. I'm trying to convert the section Content-Type: image/jpeg Content-Transfer-Encoding: binary Content-Location: https://some_url ÿØÿà^@...
xralf's user avatar
  • 3,362
0 votes
0 answers
41 views

Copying Multiple Data Types to Clipboard in React JS

I am trying to copy an image and text to the clipboard. Works fine on safari but not on chrome. handleCopy = () => { const { imgSrc } = this.props; try { // Convert ...
Benjamin Falkner's user avatar
0 votes
0 answers
31 views

How to prevent Outlook from automatically rename of attachment files without extensions into ".dat" files while opening the EML file?

I am trying to create programmatically in C# an EML file as a template for user to send some files using outlook. Unfortunately, by specification, the file that should be sent, has no extension in the ...
Alexej Puchovski's user avatar
0 votes
0 answers
123 views

On website load: ReferenceError: process is not defined

I've just installed my Debian 11 server from OVH. I installed NodeJS 18.16.1 and cloned my project. I get no error when I run the npm install, but when I start my vue3 project with vite, it gives me ...
Brice Mabillard's user avatar
0 votes
2 answers
59 views

Sending MIME multipart message with Send-mailmessage

Simple question but so far I can't figure out. Is it possible to send an email multipart MIME message with send-mailmessage powershell cmdlet ? Purpose is to embed inline images. Thank you
Civette's user avatar
  • 386
0 votes
0 answers
52 views

Vite Webpage showing blank after deploying to netlify

My code works fine and I pushed it to github. But wheni deployed it to netlify, the webpage was showing black and i get Error: /src/main.jsx:1 Failed to load module script: Expected a JavaScript ...
Faith 's user avatar
1 vote
0 answers
32 views

Print unmarshalled MIME request parts using Camel routes (XML)

I am working with Camel Routes (XML) to process a MIME request that contains attachments. I have successfully unmarshalled the request using . However, when I log the body of the unmarshalled request, ...
Subash Chandran's user avatar
0 votes
1 answer
32 views

Find the position of an attachment using MimeKit

I have a MIME email message that I am parsing using MimeKit. I am able to load in the message and get all the attachment entities like so: MimeMessage mimeMessage = MimeMessage.Load(decodedDataStream);...
Milos's user avatar
  • 167
0 votes
1 answer
32 views

Mass sending of scheduled emails with date

Basically, I have 300 email addresses which I have to send an email on the person's birthday. It's kind of a happy birthday email. I have the data in an excel and I get python to read it and also send ...
Francisco Rodriguez's user avatar
0 votes
1 answer
68 views

How do i check if user is in one distribution list and already get an mail in Python

I am sending a MIMEMultipart mail to Outlook distribution lists (group mail adress) using SMTP server. My recipients are a few distribution list (collective email address): mail = MIMEMultipart() mail[...
asdf1234's user avatar
1 vote
1 answer
57 views

How to increase the length of the header in Email::MIME?

I am using Email::MIME to generate an e-mail. I am able to generate a header using: $email->header_str_set('some-label', @my-array); To problem is that, if the output is longer than 70 characters, ...
FJCF's user avatar
  • 11
0 votes
1 answer
46 views

invalid email [python] [DKIM signature]

I'm developing an email service in Python and using the dkimpy library to sign emails with DKIM. However, I'm encountering an issue where the generated DKIM signature is being reported as invalid ...
lou habert's user avatar
0 votes
1 answer
70 views

An attempt was made to access a socket in a way forbidden by its access permissions 139.162.44.23:587

var email = new MimeMessage(); email.From.Add(new MailboxAddress("CMPL", "superuser@cmplin.com")); email.To.Add(new MailboxAddress("", cu.Email.ToString())); email.Cc....
chandrashekhar naik's user avatar
0 votes
0 answers
56 views

Image carousel or gallery in React Native

I am trying to use webpack to compile an exsiting React Native project to make it available on Web platform. There is a package named react-native-snap-carousel that doesn't work well on web platform. ...
Zhipeng's user avatar
-4 votes
0 answers
84 views

Why am I getting an error on my PC when the same code runs without problem on my laptop?

I have been trying to make a website using python (flask) as the backend with javascript on the client side. It genrealy works, but the problem is when i start it on my main PC i get the following ...
Ignitz's user avatar
  • 13
2 votes
1 answer
84 views

How to send emails from multiple senders using SMTP in Python?

Trying to send out emails via SMTP from multiple people, and I feel like it'll save time if I don't have to quit the server and log back in for each person. This is the block I currently have: s = ...
phinnjs's user avatar
  • 31
0 votes
0 answers
38 views

Package MIME returning wrong extension

All file images are returning jpeg. How to solve this and get the correct MIME type. Flutter doctor - no issues Flutter 3.7.7 pubspec.yaml ... image_picker: ^0.8.7+5 mime: ^1.0.4 ... Future<void&...
Rod Rodrigues's user avatar
0 votes
0 answers
25 views

How can I get the body of a SOAP MIME response?

I cannot get the XML body from the following MIME encapsulated SOAP response message: ------=_Part_2569448_1112730193.1684247686615 Content-Type: application/xop+xml; charset=utf-8; type="...
Robbert's user avatar
  • 1,270
0 votes
0 answers
29 views

Create a mime file on Mac

I'm sorry to bother you but I'm going crazy. I'm a simple Mac user and absolutely not a coding master. At all... I try to open markdown files in Firefox but it doesn't work. I understand it's not ...
GGB_C_'s user avatar
  • 11
0 votes
0 answers
55 views

How to generate file that can be saved as draft in Outlook, preferably at huge quantity

Hey fellow programmers :) I am currently doing a web application that generates email for users and I am stuck mail app connection. So basically I want to generate emails for users at large quantity ...
CC Kevin's user avatar
0 votes
1 answer
51 views

PHP Mail function with Multi language

I am unable to send emails in some languages. I tried adding content-type with UTF-8. Asi tried encoding the $body = utf8_encode($_POST['sendmessage']; but it still doesn't work. When I try sending ...
Karthik Malla's user avatar
0 votes
1 answer
90 views

How to extract a file out of an MTOM-Reader (XmlDictionaryReader)?

I have the following MTOM-Response with an MIME-Attachment: MIME-Version:1.0 Content-Type:multipart/related;boundary=MIMEBoundary_dd50b80e-d2bc-4843-9b47-b22d83e3c51;type="application/xop+xml&...
Max von der Mühle's user avatar
1 vote
1 answer
82 views

Backend protocol for loading embedded images in an email?

I am just trying to understand how this works. Say I receive an marketing email from a brand or business and that email contains one or more embedded images. What protocol is used for those images ...
Polorboy's user avatar
0 votes
0 answers
47 views

Can Mailgun personalize emails sent to mailing list from a webmail or gmail or office 365

Mailgun has a good support for Personalization/Merge using API and SMTP but as a non-tech savy person, I am trying to send achieve the same objective of sending personalized email campaign/newsletters ...
tom cleverly's user avatar
0 votes
0 answers
88 views

MIME error when deploying a static Vue App on a Hostinger subdomain

I am a serverside Noob and I am currently developing a VUE application, somewhere in the app I use a props "id" into a router params in order to go to a product/details/1 (here my "id&...
JEFFERRRRR's user avatar
0 votes
1 answer
31 views

What is the specification for "attribute/value notation" mentioned in RFC 2046?

I'm looking for the rules on how to correctly parse MIME type strings. Note that this is required for use outside of email (in this case AMQP). In RFC 2046 it refers to "attribute/value notation&...
Philip Couling's user avatar
0 votes
1 answer
66 views

CSS stylesheet not applying to html

I am creating a website using Django (https://www.djangoproject.com/). I am trying to apply a css stylesheet to my html but its not working. This is the code: <link rel="stylesheet" type=&...
Desi Paneer's user avatar
0 votes
1 answer
94 views

Django css and javascript app not served in production

I have a django project which in development mode css are loaded just fine but not in production. In my settings.py file I've set these trhee variables STATIC_ROOT = BASE_DIR / 'staticfiles/' ...
user3347778's user avatar
0 votes
0 answers
117 views

C# parse headers with sections of the parameters

How we can parse Headers with sections of the parameters (see rfc2231(https://datatracker.ietf.org/doc/html/rfc2231)). For example: Content-Type: application/vnd.openxmlformats-officedocument....
GeorgiyEihler's user avatar
0 votes
0 answers
10 views

No mime type could be found/ ajaxworkdeskwindowsave.jsp. To resolve this add a mime-type mapping to the application web.xml

Facing the attached mime type error in production. How to add new mime type to resolve this issue.
Apurva's user avatar
  • 1
1 vote
2 answers
1k views

How to fix server responded with a MIME type of "text/plain"?

I have a frontend app that is using module federation architecture. It contains one shell application and 3 micro-frontends. I built container for each of these 4 apps. When I run these containers and ...
Kimi95's user avatar
  • 55
0 votes
1 answer
80 views

Drop Mime data (csv file) into QTableView with custom QSqlTableModel is not working

I'm using a QTableView along with a superclassed QSqlTableModel to display a sqlite table into Qt and inserting new records dropping a csv file. I have followed the doc and came up with the example ...
Buzz's user avatar
  • 1,132
0 votes
1 answer
100 views

Python email.mime sometimes sends body text as attachments

I am working with the python email.mime library to generate emails for monitoring system status across a number of locations. I attach data to the body of the email as described in examples and ...
matt's user avatar
  • 45
0 votes
0 answers
84 views

Unable to send email using python smtplib

I am trying to add signature in an email using python, but I am getting error everytime I try to run the code. The code is - def addsign(sign_path, subject,msg,mailto): mail = MIMEMultipart("...
Sharvari Mittal's user avatar
0 votes
0 answers
60 views

keeping file extension when sending attachment in smtp email with python

Hi I am trying to send a png attachment in an email with python through the smtp and the MIME module. However when I recieve the email the file comes through but it doesn't keeps it file extension of ....
yoni halbe's user avatar
0 votes
0 answers
21 views

How To Send Email Via Python With CSV File Attached [duplicate]

I am able to send emails with attachments such as images but unable to do so with csv files. I am pretty new to Python and unsure what to do next. import os from email.mime.multipart import ...
Iyoodigie's user avatar
0 votes
0 answers
49 views

Excel file is shown as file corrupted while trying to send it as an attachment using AWS Pinpoint service using node

I'm using Amazon pinpoint service to send an email with attachment with the help of following articles. Article-1, Article-2 It is working fine while sending pdf as the attachment but I'm facing some ...
VISHNU PRAKASH's user avatar
0 votes
0 answers
41 views

Mime - Where can I find where images in emails are stored?

I'm currently sending reply emails via SMTP using SendGrid to emails I receive. I save the emails I get as .msg and load them as MimeMessage. I add some text as a reply but if the emails have images, ...
Yash Narang's user avatar
0 votes
0 answers
26 views

MIME checking is enabled

I have linked all Javascript files like this with HTML and all that is working, but when I started linking file 25, it is not getting linked and error is telling MIME checking is enabled. I tried ...
Rahul Chouhan's user avatar
0 votes
0 answers
32 views

NodeJS MimeParser missing message content in some messages

I've got an old archive of Yahoo! Groups messages I'm trying to parse into a DB to make them viewable outside of their native JSON format. I'm easily processing the JSON files in Node and loading all ...
Compy's user avatar
  • 1,167
0 votes
2 answers
240 views

Why is my MIME multipart email inline image showing up as an attachment called ATT00001?

I'm trying to create a MIME email from scratch with text and html alternatives and an inline image in the html. I get the email, and I see the html alternative in my mail client, but the inline image ...
Steve Maring's user avatar
0 votes
1 answer
56 views

How to get the data from word file along with the image and send email via SMTP in Python

I am using python and below is the image from word file that i need to get to send email via SMTP. So far i am able to get ONLY text and send it with a success but not the image. I have tried many ...
Hasan Abdul Ghaffar's user avatar
0 votes
0 answers
98 views

Camel Java - MIME Message with Signature file as attachment - gives incorrect base64 encoded value

I a trying to send a MIME Multipart message using Camel Java. The MIME message has a Signature file as an attachment. In the final MIME message (source), the signature file is encoded incorrectly. ...
Poorni Arjun's user avatar
0 votes
0 answers
31 views

MediaStore query for non-MIME type files by file type(ex: m4b)

I want to query for non-MIME type by file type, in particular audible and apple audiobooks with file types like aa, aax and m4b. Tried querying by audiobook genre but MediaStore does not classify this ...
NUGA's user avatar
  • 185
0 votes
0 answers
153 views

SOLUTION: Error: “http://localhost:3000/style.css” was blocked due to MIME type (“text/html”) using Express

I'm learning Express and I had a problem with the stylesheet. The console was printing an error related to X-Content-Type-Options: nosniff. After a long search through MDN, I came to an efficient(...
MariferVL's user avatar
1 vote
0 answers
3k views

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

Hi I am new to React and recently built my app which was working fine locally but when my colleagues deployed it on the azure , we are facing this issue. I tried looking for answers in stackoverflow ...
Revanth Adiga's user avatar

1
2 3 4 5
41