スキップしてメイン コンテンツに移動

MailKitのGetMimeTypeでMIMEタイプに変換できる拡張子一覧

MailKitのMimeKit.MimeTypes.GetMimeTypeメソッドでMimeTypeに変換可能な拡張子を、以下の一覧にまとめました。(結構多いです)

拡張子 MimeType
m3dmf x-world/x-3dmf
323 text/h323
3dm x-world/x-3dmf
3g2 video/3gpp2
3gp video/3gpp
7z application/x-7z-compressed
aab application/x-authorware-bin
aac audio/aac
aam application/x-authorware-map
aas application/x-authorware-seg
abc text/vnd.abc
acgi text/html
acx application/internet-property-stream
afl video/animaflex
ai application/postscript
aif audio/aiff
aifc audio/aiff
aiff audio/aiff
aim application/x-aim
aip text/x-audiosoft-intra
ani application/x-navi-animation
aos application/x-nokia-9000-communicator-add-on-software
appcache text/cache-manifest
application application/x-ms-application
aps application/mime
art image/x-jg
asf video/x-ms-asf
asm text/x-asm
asp text/asp
asr video/x-ms-asf
asx application/x-mplayer2
atom application/atom+xml
au audio/x-au
avi video/avi
avs video/avs-video
axs application/olescript
bas text/plain
bcpio application/x-bcpio
bin application/octet-stream
bm image/bmp
bmp image/bmp
boo application/book
book application/book
boz application/x-bzip2
bsh application/x-bsh
bz2 application/x-bzip2
bz application/x-bzip
cat application/vnd.ms-pki.seccat
ccad application/clariscad
cco application/x-cocoa
cc text/plain
cdf application/cdf
cer application/pkix-cert
cha application/x-chat
chat application/x-chat
class application/x-java-applet
clp application/x-msclip
cmx image/x-cmx
cod image/cis-cod
coffee text/x-coffeescript
conf text/plain
cpio application/x-cpio
cpp text/plain
cpt application/x-cpt
crd application/x-mscardfile
crl application/pkix-crl
crt application/pkix-cert
csh application/x-csh
css text/css
c text/plain
c++ text/plain
cxx text/plain
dart application/dart
dcr application/x-director
deb application/x-deb
deepv application/x-deepv
def text/plain
deploy application/octet-stream
der application/x-x509-ca-cert
dib image/bmp
dif video/x-dv
dir application/x-director
disco text/xml
dll application/x-msdownload
dl video/dl
doc application/msword
docm application/vnd.ms-word.document.macroEnabled.12
docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
dot application/msword
dotm application/vnd.ms-word.template.macroEnabled.12
dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
dp application/commonground
drw application/drafting
dtd application/xml-dtd
dvi application/x-dvi
dv video/x-dv
dwf drawing/x-dwf (old)
dwg application/acad
dxf application/dxf
dxr application/x-director
el text/x-script.elisp
elc application/x-elc
eml message/rfc822
eot application/vnd.bw-fontobject
eps application/postscript
epub application/epub+zip
es application/x-esrehber
etx text/x-setext
evy application/envoy
exe application/octet-stream
f77 text/plain
f90 text/plain
fdf application/vnd.fdf
fif image/fif
flac audio/x-flac
fli video/fli
flo image/florian
flr x-world/x-vrml
flx text/vnd.fmi.flexstor
fmf video/x-atomic3d-feature
for text/plain
fpx image/vnd.fpx
frl application/freeloader
f text/plain
funk audio/make
g3 image/g3fax
gif image/gif
gl video/gl
gsd audio/x-gsm
gsm audio/x-gsm
gsp application/x-gsp
gss application/x-gss
gtar application/x-gtar
g text/plain
gz application/x-gzip
gzip application/x-gzip
hdf application/x-hdf
help application/x-helpfile
hgl application/vnd.hp-HPGL
hh text/plain
hlb text/x-script
hlp application/x-helpfile
hpg application/vnd.hp-HPGL
hpgl application/vnd.hp-HPGL
hqx application/binhex
hta application/hta
htc text/x-component
h text/plain
htmls text/html
html text/html
htm text/html
htt text/webviewhtml
htx text/html
ice x-conference/x-cooltalk
ico image/x-icon
ics text/calendar
idc text/plain
ief image/ief
iefs image/ief
iges application/iges
igs application/iges
iii application/x-iphone
ima application/x-ima
imap application/x-httpd-imap
inf application/inf
ins application/x-internett-signup
ip application/x-ip2
isp application/x-internet-signup
isu video/x-isvideo
it audio/it
iv application/x-inventor
ivf video/x-ivf
ivr i-world/i-vrml
ivy application/x-livescreen
jam audio/x-jam
jar application/java-archive
java text/plain
jav text/plain
jcm application/x-java-commerce
jfif image/jpeg
jfif-tbnl image/jpeg
jpeg image/jpeg
jpe image/jpeg
jpg image/jpeg
jps image/x-jps
js application/javascript
json application/json
jut image/jutvision
kar audio/midi
ksh text/x-script.ksh
la audio/nspaudio
lam audio/x-liveaudio
latex application/x-latex
list text/plain
lma audio/nspaudio
log text/plain
lsp application/x-lisp
lst text/plain
lsx text/x-la-asf
ltx application/x-latex
m13 application/x-msmediaview
m14 application/x-msmediaview
m1v video/mpeg
m2a audio/mpeg
m2v video/mpeg
m3u audio/x-mpequrl
m4a audio/mp4
m4v video/mp4
man application/x-troff-man
manifest application/x-ms-manifest
map application/x-navimap
mar text/plain
mbd application/mbedlet
mc$ application/x-magic-cap-package-1.0
mcd application/mcad
mcf image/vasa
mcp application/netmc
mdb application/x-msaccess
mesh model/mesh
me application/x-troff-me
mid audio/midi
midi audio/midi
mif application/x-mif
mjf audio/x-vnd.AudioExplosion.MjuiceMediaFile
mjpg video/x-motion-jpeg
mm application/base64
mme application/base64
mny application/x-msmoney
mod audio/mod
mov video/quicktime
movie video/x-sgi-movie
mp2 video/mpeg
mp3 audio/mpeg
mp4 video/mp4
mp4a audio/mp4
mp4v video/mp4
mpa audio/mpeg
mpc application/x-project
mpeg video/mpeg
mpe video/mpeg
mpga audio/mpeg
mpg video/mpeg
mpp application/vnd.ms-project
mpt application/x-project
mpv2 video/mpeg
mpv application/x-project
mpx application/x-project
mrc application/marc
ms application/x-troff-ms
msh model/mesh
m text/plain
mvb application/x-msmediaview
mv video/x-sgi-movie
my audio/make
mzz application/x-vnd.AudioExplosion.mzz
nap image/naplps
naplps image/naplps
nc application/x-netcdf
ncm application/vnd.nokia.configuration-message
niff image/x-niff
nif image/x-niff
nix application/x-mix-transfer
nsc application/x-conference
nvd application/x-navidoc
nws message/rfc822
oda application/oda
ods application/oleobject
oga audio/ogg
ogg audio/ogg
ogv video/ogg
ogx application/ogg
omc application/x-omc
omcd application/x-omcdatamaker
omcr application/x-omcregerator
opus audio/ogg
oxps application/oxps
p10 application/pkcs10
p12 application/pkcs-12
p7a application/x-pkcs7-signature
p7b application/x-pkcs7-certificates
p7c application/pkcs7-mime
p7m application/pkcs7-mime
p7r application/x-pkcs7-certreqresp
p7s application/pkcs7-signature
part application/pro_eng
pas text/pascal
pbm image/x-portable-bitmap
pcl application/x-pcl
pct image/x-pict
pcx image/x-pcx
pdb chemical/x-pdb
pdf application/pdf
pfunk audio/make
pfx application/x-pkcs12
pgm image/x-portable-graymap
pic image/pict
pict image/pict
pkg application/x-newton-compatible-pkg
pko application/vnd.ms-pki.pko
pl text/plain
plx application/x-PiXCLscript
pm4 application/x-pagemaker
pm5 application/x-pagemaker
pma application/x-perfmon
pmc application/x-perfmon
pm image/x-xpixmap
pml application/x-perfmon
pmr application/x-perfmon
pmw application/x-perfmon
png image/png
pnm application/x-portable-anymap
pot application/vnd.ms-powerpoint
potm application/vnd.ms-powerpoint.template.macroEnabled.12
potx application/vnd.openxmlformats-officedocument.presentationml.template
pov model/x-pov
ppa application/vnd.ms-powerpoint
ppam application/vnd.ms-powerpoint.addin.macroEnabled.12
ppm image/x-portable-pixmap
pps application/vnd.ms-powerpoint
ppsm application/vnd.ms-powerpoint.slideshow.macroEnabled.12
ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
ppt application/vnd.ms-powerpoint
pptm application/vnd.ms-powerpoint.presentation.macroEnabled.12
pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
ppz application/mspowerpoint
pre application/x-freelance
prf application/pics-rules
prt application/pro_eng
ps application/postscript
p text/x-pascal
pub application/x-mspublisher
pvu paleovu/x-pv
pwz application/vnd.ms-powerpoint
pyc applicaiton/x-bytecode.python
py text/x-script.phyton
qcp audio/vnd.qcelp
qd3d x-world/x-3dmf
qd3 x-world/x-3dmf
qif image/x-quicktime
qtc video/x-qtc
qtif image/x-quicktime
qti image/x-quicktime
qt video/quicktime
ra audio/x-pn-realaudio
ram audio/x-pn-realaudio
ras application/x-cmu-raster
rast image/cmu-raster
rexx text/x-script.rexx
rf image/vnd.rn-realflash
rgb image/x-rgb
rm application/vnd.rn-realmedia
rmi audio/mid
rmm audio/x-pn-realaudio
rmp audio/x-pn-realaudio
rng application/ringing-tones
rnx application/vnd.rn-realplayer
roff application/x-troff
rp image/vnd.rn-realpix
rpm audio/x-pn-realaudio-plugin
rss application/rss+xml
rtf text/richtext
rt text/richtext
rtx text/richtext
rv video/vnd.rn-realvideo
s3m audio/s3m
sbk application/x-tbook
scd application/x-msschedule
scm application/x-lotusscreencam
sct text/scriptlet
sdml text/plain
sdp application/sdp
sdr application/sounder
sea application/sea
set application/set
setpay application/set-payment-initiation
setreg application/set-registration-initiation
sgml text/sgml
sgm text/sgml
shar application/x-bsh
sh text/x-script.sh
shtml text/html
sid audio/x-psid
silo model/mesh
sit application/x-sit
skd application/x-koan
skm application/x-koan
skp application/x-koan
skt application/x-koan
sl application/x-seelogo
smi application/smil
smil application/smil
snd audio/basic
sol application/solids
spc application/x-pkcs7-certificates
spl application/futuresplash
spr application/x-sprite
sprite application/x-sprite
spx audio/ogg
src application/x-wais-source
ssi text/x-server-parsed-html
ssm application/streamingmedia
sst application/vnd.ms-pki.certstore
step application/step
s text/x-asm
stl application/sla
stm text/html
stp application/step
sv4cpio application/x-sv4cpio
sv4crc application/x-sv4crc
svf image/x-dwg
svg image/svg+xml
svr application/x-world
swf application/x-shockwave-flash
talk text/x-speech
t application/x-troff
tar application/x-tar
tbk application/toolbook
tcl text/x-script.tcl
tcsh text/x-script.tcsh
tex application/x-tex
texi application/x-texinfo
texinfo application/x-texinfo
text text/plain
tgz application/x-compressed
tiff image/tiff
tif image/tiff
tr application/x-troff
trm application/x-msterminal
ts text/x-typescript
tsi audio/tsp-audio
tsp audio/tsplayer
tsv text/tab-separated-values
ttf application/x-font-ttf
turbot image/florian
txt text/plain
uil text/x-uil
uls text/iuls
unis text/uri-list
uni text/uri-list
unv application/i-deas
uris text/uri-list
uri text/uri-list
ustar multipart/x-ustar
uue text/x-uuencode
uu text/x-uuencode
vcd application/x-cdlink
vcf text/vcard
vcard text/vcard
vcs text/x-vCalendar
vda application/vda
vdo video/vdo
vew application/groupwise
vivo video/vivo
viv video/vivo
vmd application/vocaltec-media-desc
vmf application/vocaltec-media-file
voc audio/voc
vos video/vosaic
vox audio/voxware
vqe audio/x-twinvq-plugin
vqf audio/x-twinvq
vql audio/x-twinvq-plugin
vrml application/x-vrml
vrt x-world/x-vrt
vsd application/x-visio
vst application/x-visio
vsw application/x-visio
w60 application/wordperfect6.0
w61 application/wordperfect6.1
w6w application/msword
wav audio/wav
wb1 application/x-qpro
wbmp image/vnd.wap.wbmp
wcm application/vnd.ms-works
wdb application/vnd.ms-works
web application/vnd.xara
webm video/webm
wiz application/msword
wk1 application/x-123
wks application/vnd.ms-works
wmf windows/metafile
wmlc application/vnd.wap.wmlc
wmlsc application/vnd.wap.wmlscriptc
wmls text/vnd.wap.wmlscript
wml text/vnd.wap.wml
wmp video/x-ms-wmp
wmv video/x-ms-wmv
wmx video/x-ms-wmx
woff application/x-woff
word application/msword
wp5 application/wordperfect
wp6 application/wordperfect
wp application/wordperfect
wpd application/wordperfect
wps application/vnd.ms-works
wq1 application/x-lotus
wri application/mswrite
wrl application/x-world
wrz model/vrml
wsc text/scriplet
wsdl text/xml
wsrc application/x-wais-source
wtk application/x-wintalk
wvx video/x-ms-wvx
x3d model/x3d+xml
x3db model/x3d+fastinfoset
x3dv model/x3d-vrml
xaf x-world/x-vrml
xaml application/xaml+xml
xap application/x-silverlight-app
xbap application/x-ms-xbap
xbm image/x-xbitmap
xdr video/x-amt-demorun
xgz xgl/drawing
xht application/xhtml+xml
xhtml application/xhtml+xml
xif image/vnd.xiff
xla application/vnd.ms-excel
xlam application/vnd.ms-excel.addin.macroEnabled.12
xl application/excel
xlb application/excel
xlc application/excel
xld application/excel
xlk application/excel
xll application/excel
xlm application/excel
xls application/vnd.ms-excel
xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12
xlsm application/vnd.ms-excel.sheet.macroEnabled.12
xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xlt application/vnd.ms-excel
xltm application/vnd.ms-excel.template.macroEnabled.12
xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
xlv application/excel
xlw application/excel
xm audio/xm
xml text/xml
xmz xgl/movie
xof x-world/x-vrml
xpi application/x-xpinstall
xpix application/x-vnd.ls-xpix
xpm image/xpm
xps application/vnd.ms-xpsdocument
x-png image/png
xsd text/xml
xsl text/xml
xslt text/xml
xsr video/x-amt-showrun
xwd image/x-xwd
xyz chemical/x-pdb
z application/x-compressed
zip application/zip
zsh text/x-script.zsh

MailKitの使い方は、こちらを参照

スポンサーリンク
スポンサーリンク
スポンサーリンク

コメント

  1. 🟢Hire the best and fastest HACKERS on the web today. We give you HACKING SERVICES better than any HACKING group you can find in the internet. Our HACKERS are available for 24/7, always ready to attend to you at any time of the day, anywhere in the world.

    🟢 There are no limits to what we can do. Don’t be surprised we say this. Hacking isn’t as difficult as it sounds, as so many HACKING equipments(softwares, virus, spyware, Trojan) are made available in the dark web and this has made HACKING very easy to perform. There are different varieties of Hacking Service we offer, such a as-:

    ▪️Phone📱📲 Hack, cloning & Tracking
    ▪️Computer 💻 Hacking
    ▪️Emails 📧 & Social Media account Hacks/password recovery
    ▪️Tracking/Finging People
    ▪️Raising Money 💰 using (Bitcoin Mining, Money Flip e.t.c)
    ▪️Tracking Scammers and Spammers.
    ▪️Recovery of deleted files e.t.c

    🟢If you need hacking services, PYTHONAX are the group you should contact. We have a strong policy that covers our Clients Privacy. We do not ask our Clients Targets and intention for any job given to us, we simply do our job and provide a strong security to Clients so that our services can’t be traced to them.

    🟠Payment for our services will only be collected after Customers have certified and confirmed the completion of their job. For no reason do we collect upfront for services. But note that Customers will have to pay for Hacking Equipments if necessary before a job would be done.

    🔴Beware of FRAUDSTERS claiming to be HACKERS and ripping people of their money, they saying things and share false testimonies to Attract people and Lure you to them. They are everywhere in the internet and could even be here in this site, be careful of them. We have come across so many of this FRAUDSTERS Victims and some have been lucky to get back what was falsely taken from them.

    Below are list of our emails you can contact if you need our services
    Email-:
    pythonaxhacks@gmail.com
    pythonaxservices@gmail.com

    PYTHONAX.
    2020 © All Right Reserved.


    返信削除

コメントを投稿

このブログの人気の投稿

axiosの使い方まとめ (GET/POST/例外処理)

axiosの使い方まとめ (GET/POST/例外処理)最近何かとよく使うJavaScriptでAJAX通信を行うaxiosについて、簡単に使い方をまとめました。GETリクエストをaxiosで送るまずはGETリクエストをaxiosで送る方法です。const res =await axios.get('/users') console.log(res.data)分割代入の記法を使うと、以下のようにも書けますconst{data}=await axios.get('/users') console.log(data)クエリパラメータ (URLパラメータ)を指定クエリパラメータを指定する方法は2つあります。1つ目は、axios.getに指定するURLに直接記述する方法です。axios.get('/user?id=123')2つめは、axios.getの第2引数に、オプション指定する方法です。axios.get('/user',{ params:{ id:123}})POSTリクエストをaxiosで送る次はPOSTリクエストをaxiosで送る方法です。JSON形式でPOSTするJSON形式でPOSTする場合は、axios.postの第2引数に、送信するデータをJavaScriptオブジェクトで指定します。const res =await axios.post('/user',{ id:123, name:'Yamada Tarou'})application/x-www-form-urlencoded形式でPOSTするapplication/x-www-form-urlencoded形式でPOSTする場合は、URLSearchParamsを使います。var params =newURLSearchParams() params.append('id',123) params.append('name','Yamada Tarou')const res =await axios.post('/user', params)axios でファイルをアップロードする画像などのファイルを、axiosでアッ…

[VB, C#] Windows 8, Window 10 で ImeModeが制御できない問題を解決する

[VB, C#] Windows 8, Window 10 で ImeModeが制御できない問題を解決するタイトルの通りですが、Windows 8 以降では Windows Form アプリケーションで、コントロールの ImeMode に Katakana や KatakanaHalf を設定しても、カタカナになってくれません。なぜ ImeMode が効かないのか?Windows 8 以降、IME Mode の切り替えは、ユーザー単位で切り替わるようになった為、アプリから IME Mode 制御が出来ないようになりました。
(IME をON にした場合、常に ひらがな モードになます)※ Windows 7までは、IME Modeの切り替えはアプリ単位で行われていた為、問題なくアプリから IME制御が行えました。対処方法Windows 8 以降、IMEの制御は、InputScope クラスの利用が推奨されています。
しかし、InputScope クラスは、WPF、Windows ストアアプリでしか使えない為、Windows Formアプリでは使用できません。
(Windows Form はもう使うな!という事でしょうか (涙) )結論としては、コントールパネルの設定で、IMEの制御をユーザ単位から アプリ単位に変更する事ができます。
これで、Windows Formアプリでも 従来通りIMEの制御を行う事が出来ます。おわりにこの方法だと、アプリをインストールする端末すべてに設定が必要となり、とっても面倒です。。。
しかし、今の所これしか方法がない状態です。
これからは Windows Formではなく、WPFや Windows ストアアプリで作れという事ですかね (^^;)

MailKitの使い方! エンコーディング指定や添付ファイをメールで送信する方法[C#/VB Tips]

MailKitの使い方! エンコーディング指定や添付ファイをメールで送信する方法[C#/VB Tips]MailKitを使ってメールを送るサンプルコードです。(C#)UTF8/iso-2022-jpのエンコーディング指定、GMail/YahooのSMTPサーバで送るなど、4つのサンプルコードでMailKitの使い方を紹介します。MailKitって何?2017年に.NET標準のSystem.Net.Mail.SmtpClientが廃止予定となり、Microsoftより今後はオープンソースライブラリである、MailKitに置き換えるとアナウンスがありました。既にSmtpClientは非推奨になっており、今後は廃止されていきます。現在、SmtpClientを使用したソースコードには、Visual StudioからMailKitを使うよう警告が出るようになっています。さっそく、MailKitを使ってメールを送信するサンプルコードを作っていきます。UTF8でメールを送信文字エンコーディングを、UTF8でメールを送信するサンプルコードです。
MailKitは、デフォルトの文字エンコーディングがUTF8なっている為、シンプルなコードでメールを送信する事ができます。var host ="<smtp server name>"; var port =25;// or 587using(var smtp =new MailKit.Net.Smtp.SmtpClient()){//SMTPサーバに接続する smtp.Connect(host, port, MailKit.Security.SecureSocketOptions.Auto);//認証が必要な場合は、以下のコメントを解除//smtp.Authenticate("<id>", "<password>");//送信するメールを作成する var mail =new MimeKit.MimeMessage(); var builder =new MimeKit.BodyBuilder(); mail.From.Add(new MimeKit.MailboxAddress("",&quo…