mime
What would a regex for common file name extensions for images look like?
I am starting on making so images turns out as small thumbnails. But I need a regular expression to check if it contains *.jpg, *.jpeg, .*png, *.gif[详细]
2023-01-24 14:51 分类:问答Get python getaddresses() to decode encoded-word encoding
msg = \\ \"\"\"To: =?ISO-8859-1?Q?Caren_K=F8lter?= <ck@example.dk>, bob@example.com Cc: \"James =?ISO-8859-1?Q?K=F8lter?=\" <jk@example.dk>[详细]
2023-01-24 09:28 分类:问答Register a filetype association with xdg-mime under Linux
I\'m trying to 开发者_C百科get xdg-open to run mplayer to open WMV files. The manual says to register the filetype with xdg-mime to a mime type, then to register a .desktop file to open the mime type[详细]
2023-01-24 02:51 分类:问答Trouble with perl Email::MIME
I\'m having trouble using the Email:MIME module in perl. It\'s probably because I\'m using it wrong, but finding examples for using it is difficult. I\'m pretty sure I\'m supposed to be using a scalar[详细]
2023-01-24 00:55 分类:问答How to create an email with embedded images that is compatible with the most mail clients
We have created a system that allows embedding an image in an outgoing email. Here is the original message our system creates. This example contains an image attachment and an embedded image.[详细]
2023-01-22 10:24 分类:问答Is there a maximum reasonable file size to attach to a MIME email with PHP?
I run PHP on IIS6.I have some PHP that successfully sends a 1KB image as an attachment on an email.When I try and attach a 500KB PDF however (having changed the Content-Type), it hangs and after a few[详细]
2023-01-22 05:04 分类:问答Perl/MIME encoded text trouble
I have a MIME-encoded messages (in Maildir), that are having both base64-encoded headers (solved by lurking for related question ( Decode an UTF8 email header ), decode(\'MIME-Header\', $val), main bo[详细]
2023-01-21 21:20 分类:问答How to pull html encoding from email data using PHP
I\'m working with emails and want to display the html in the browser, I\'m not sure how to deal with the encoding.I want to extract the html to display it in the html browser.The way I plan on doing t[详细]
2023-01-20 07:33 分类:问答Extract content from a file with mime multipart
I have a file that contain a tiff image and a document xml in a multipart mime document. I would extract the image from this file.[详细]
2023-01-19 20:05 分类:问答Basic C# Mime Decoding
Is there a clean way of handling multi-part MIME data in C#. After a call to a closed application (I have no access to change it) I get a MIME reponse like the one below.Doe开发者_JAVA技巧s C# provid[详细]
2023-01-19 04:05 分类:问答