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

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
  • Header information in non-ASCII character sets

MIME is specified in six linked RFC memoranda: RFC 2045, RFC 2046, RFC 2047, RFC 4288, RFC 4289 and RFC 2049, which together define the specifications. File name encoding is defined in .

2019 questions
0
votes
1 answer

ripMIME not working when using variable as file name

I need to extract an attachment that I receive every day via email, on a linux server. I'm using ripMIME for this task and have a script like this: theFile=$(ls -t * | head -n 1) ripmime -i $theFile -d /home/myDirectory/ First line assigns the name…
Sergio
  • 658
  • 1
  • 9
  • 22
0
votes
3 answers

Get file type not using the file extension c#

I know this has been asked before, but neither of the solutions worked for me. I want to know if the file uploaded to my server (via a .ashx) is of type .xlsx, .xls or .csv. I tried using the magic numbers listed here, but if I for example change…
0
votes
1 answer

How to Know the MIME type of file manually? in my case type is showing "FILE" and don't have extension

Need to know the MIME Types of file without program file name don't have any extension
0
votes
0 answers

How to Handle single and Multiple Email ID fetched from Database in Python

I have a scenario where I have Extract Emails from Database and send mails to the respective Users. The values fetched from the database can be of Single Email Id or Multiple Email Id. I have written the following code and its throwing me an error…
Ishan
  • 61
  • 3
  • 10
0
votes
3 answers

html page hanging when posting file upload

I'm trying to add a file upload script in php to a website I'm designing. I've used an online example (I know it's not secure and I plan on making it secure, I just want the basic functionality working first). Basically what's happening is that when…
twistedpixel
  • 1,212
  • 4
  • 14
  • 33
0
votes
1 answer

SyntaxError in MIMEText and sqlite

This code send a notification about new article which is stored in database specified earlier in my program (this is element of RSS feeder). def send_notification(article_title, article_url): smtp_server=smtplib.SMTP('smtp.gmail.com', 587) …
jpatrick
  • 103
  • 3
0
votes
0 answers

PUT/Edit MIME email content with microsoft graph

Graph API allows me to get the MIME content of email calling following graph api request: GET https://graph.microsoft.com/beta/me/messages//$value . Is there a plan to support PUT operation to allow changing of contents of email this way? Thank you.
marek_lani
  • 3,895
  • 4
  • 29
  • 50
0
votes
2 answers

Emails are not getting trigerred to CC recipients

I have developed a python code to send mails to the selected users. Mails are getting delivered to "TO" recipients but not to "CC" recipients. There can be 100s of CC recipients and those information will be hardcoded. Please help me in identifying…
Ishan
  • 61
  • 3
  • 10
0
votes
1 answer

Include external js in enduro.js CMS

I'm trying to use enduro.js but i need to include an external js file to my index.hbs putting a script tag after body, just like a normal html file. This just says me in chrome console Refused to…
marco burrometo
  • 1,055
  • 3
  • 16
  • 33
0
votes
1 answer

Generating an email with an Excel XLSX attachment

The following Perl program gives an access denied error at line 44 when I try to print either the entire string or the encoded portion. If I print just the header using $msg->print_header(\*STDOUT). What I am trying to do is generate a text file…
samash
  • 23
  • 1
  • 1
  • 6
0
votes
2 answers

Get MIME type of a local file in PHP5 without a PECL extension?

mime_content_type() is deprecated. How can I find the MIME type of a local file using PHP5 but without using this deprecated method or the PECL fileinfo extension? Edit: That's what I was afraid of. It's unfortunate that they deprecated a built-in…
org 0100h
0
votes
0 answers

Does it exist MIME Headers Decoder (RFC 2047) for ruby?

I have encoded header (part for example: =?UTF-8?B?ZXIgQXNzZXJ0aW9uIElzc3Vlcjwvc2FtbDpJc3N1ZQ==?= =?UTF-8?B?cj48ZHNpZzpTaWduYXR1cmUgeG1sbnM6ZHNpZz0iaA==?=) How can i decode it to normal view with ruby? (er Assertion Issuer Base64.decode64 - does…
K. Alex
  • 13
  • 4
0
votes
1 answer

Sending multi-part email using smtplib in Python3 but second part not displayed

I'm using the following demo code to send multi-part html email in Python3. But weirdly, the first part, namely the plain text, is not displayed in the received email but only the second part, the html content, is displayed. Can anyone help? Thank…
Nathan
  • 174
  • 2
  • 7
0
votes
1 answer

get the attachment (raw MIME) from s3 bucket in aws lambda

Could someone please help me with downloading the attachment( raw MIME) saved to s3 bucket from aws SES. So , I am saving the incoming mails into a s3 bucket , and in case of an attachment it just shows a raw MIME , something like Content-Type:…
lazarus
  • 677
  • 1
  • 13
  • 27
0
votes
1 answer

CRLF in the quoted-printable MIME message

I have a multipart MIME message where one part looks like ------=_Part_901_990681075.1528833507 Content-Disposition: attachment; filename="metadata.txt" Content-ID: 3314a2d3-6092-48c3-93d9-a45648b6582b@localhost Content-Type: text/plain;…
JackTheKnife
  • 3,795
  • 8
  • 57
  • 117
1 2 3
99
100