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

How to Add and Remove MIME attachments correctly

I am adding MIME attachments to a document like this try{ var d = database.getView("Main").getFirstDocument() var it = d.getFirstItem("Body") var att:NotesEmbeddedObject = it.getEmbeddedObject("mydoc.docx") var streamDOC:NotesStream…
Thomas Adrian
  • 3,543
  • 6
  • 32
  • 62
0
votes
1 answer

How to Add and Remove attachments using MIME

I am trying to remove an attachment that was previously added using MIME. this is my code try{ var d = database.getView("Main").getFirstDocument() var it = d.getFirstItem("Body") var att:NotesEmbeddedObject =…
Thomas Adrian
  • 3,543
  • 6
  • 32
  • 62
0
votes
1 answer

uploading two files in one POST request to rails server

I have a flex app that wants to upload two images to a rails server in the same POST request. I think I'm creating the data part of the POST request okay, but I'm not sure. When I print the params that came in on the rails side, I only see one…
unsorted
  • 3,114
  • 3
  • 29
  • 39
0
votes
0 answers

how config to show MIME Types in IIS?

How to show MIME Types because my IIS server didn't have MIME type like this. and what must i do. Because i need that to get image from URL then i hit the path and i got the image in other platform. Problem is: There is not MIME Types in my iis…
Christopher
  • 69
  • 1
  • 12
0
votes
2 answers

Attach a MimeMessage to another MimeMessage

I have a MimeMessage A and would like to add another MimeMessage B as an attachment. My (not working) attempt: MimeBodyPart mimeBodyPart = new MimeBodyPart(); mimeBodyPart.setContent(base64mimeMessage,…
slowcar
  • 314
  • 2
  • 13
0
votes
2 answers

Why is email displaying mime boundary in body/

I am trying to send an email via PHP mail() with attachments. The attachments come through OK and the content of the body is there but I also see the mime boundary and content type rather than the email being HTML …
Steve
  • 1,371
  • 1
  • 16
  • 38
0
votes
0 answers

Problem with JavaMail when create text/html to send

When you sent an email with html the email has inside: = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09 = 09…
0
votes
2 answers

save file with MIME header to file

I must be missing something. I am downloading a file and want to save it as its type. I know this is supposed to end up as jpg, in this case. When I save the byte array to a file I get the…
Gina Marano
  • 1,773
  • 4
  • 22
  • 42
0
votes
1 answer

Adding inline image in gmail api results in empty image

I'm trying to send inline image in email using the below function: def create_message_without_attachment (sender, to, subject, message_text_html, message_text_plain,image): message = MIMEMultipart() message['Subject'] = subject message['From'] =…
saeedar
  • 305
  • 2
  • 19
0
votes
2 answers

Is there any method to deduct content type from File

Possible Duplicate: Getting A File's Mime Type In Java have a File, is there a way to deduct its content type like application/xml etc?
user496949
  • 83,087
  • 147
  • 309
  • 426
0
votes
0 answers

Adding href link to image attachment while sending email through python smtplib

I'm sending images as attachments using smtplib, and attaching them as email.mime.base.MIMEBase objects. These images show up inline with the email body. I want these images to be clickable. Is it possible to add hrefs to each of these…
Prateek Dewan
  • 1,587
  • 3
  • 16
  • 29
0
votes
2 answers

Laravel validate iOS recorded voice

I have put some mime type validation on my Laravel controller to validate received file from mobile applications: 'file' => 'required_without:body|file|mimes:png,jpg,jpeg,mp3,mp4,pdf,doc,docx,m4a' This validation rule is OK for most of files, but…
Ali Farhoudi
  • 5,350
  • 7
  • 26
  • 44
0
votes
0 answers

Can't upload wmv, mpg, and asf file

With php file like below to upload video files from local drive to the application that I'm currently developping, (before being played at html, so html coding has nothing to do with it.) I can successfully upload mp4, mov, flv, and avi, but I can…
user27240
  • 49
  • 10
0
votes
1 answer

Embedding attached data in MIME, to the HTML portion of the email. Not linking to the attached file

I have generated this MIME data, that is sent through aws-ses. Here in the entire MIME data Content-Type: multipart/mixed;boundary=T4nu9J8b From: To: Subject: Your Image --T4nu9J8b Content-Type:…
Flyn Sequeira
  • 718
  • 2
  • 9
  • 25
0
votes
1 answer

To convert from avi file to mp4 file by ffmpeg command in php

The ffmpeg command in php below creates mp4 file from avi file without deleting the original avi file meaning that,for example, there are two files, 1221222.avi and 1221222.mp4 exist in the directry after all. ('for i in /xxxxx/xxxxxx/*.avi; do…
user27240
  • 49
  • 10