per page, with , order by , clip by
Results of 1 - 10 of about 21 for maintype (0.004 sec.)
email.contentmanager: Managing MIME Content — Python 3.14.8 ドキュメント 12143
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.contentmanager : Managing MIME Content ... the handler, look for the following keys in the registry, stopping with the first one found: 完全な MIME 型を表す文字列 ( maintype/subtype ) maintype を表す文字列 空の文字列 If none of these keys produce a handler, raise a KeyError for the full MIME typ ... e. set_content ( msg , obj , * args , ** kw ) ¶ If the maintype is multipart , raise a TypeError ; otherwise look up a handler function based on the type of obj (see next paragraph), cal ... ion=None , filename=None , cid=None , params=None , headers=None ) ¶ email.contentmanager. set_content ( msg , <'bytes'> , maintype , subtype , cte="base64" , disposition=None , filename=None , cid=None , params=None , headers=None ) email.contentmanager ...
https://man.mtool.work/python/3.14/library/email.contentmanager.html
email.contentmanager: Managing MIME Content — Python 3.14.8 ドキュメント 12042
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.contentmanager : Managing MIME Content ... the handler, look for the following keys in the registry, stopping with the first one found: 完全な MIME 型を表す文字列 ( maintype/subtype ) maintype を表す文字列 空の文字列 If none of these keys produce a handler, raise a KeyError for the full MIME typ ... e. set_content ( msg , obj , * args , ** kw ) ¶ If the maintype is multipart , raise a TypeError ; otherwise look up a handler function based on the type of obj (see next paragraph), cal ... ion=None , filename=None , cid=None , params=None , headers=None ) ¶ email.contentmanager. set_content ( msg , <'bytes'> , maintype , subtype , cte="base64" , disposition=None , filename=None , cid=None , params=None , headers=None ) email.contentmanager ...
https://man.mtool.work/python/3.14/library/email.contentmanager.html
email.iterators: イテレータ — Python 3.14.8 ドキュメント 10266
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ ... せん。 オプション引数 decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり、それらの中で指定されたMIME 形式 maintyp ... ようなパートのみを返します。 subtype は省略可能であることに注意してください。これが省略された場合、サブパートの MIME 形式は maintype のみがチェックされます。じつは maintype も省略可能で、その場合にはデフォルトは text です。 つまり、デフォルトでは typed_su ... fault が真の場合、デフォルトの型も出力します。 関連キーワード text message plain email msg iterators サブパート rfc すべて maintype イテレータ level iterator ペイロード subtype 省略 場合 over object Message 前のトピックへ email.utils : Miscellaneous util ...
https://man.mtool.work/python/3.14/library/email.iterators.html
email.iterators: イテレータ — Python 3.14.8 ドキュメント 10266
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.iterators : イテレータ テーマ 自動 ライ ... せん。 オプション引数 decode は、 Message.get_payload にそのまま渡されます。 email.iterators. typed_subpart_iterator ( msg , maintype = 'text' , subtype = None ) ¶ このイテレータは msg 中のすべてのサブパートをたどり、それらの中で指定されたMIME 形式 maintyp ... ようなパートのみを返します。 subtype は省略可能であることに注意してください。これが省略された場合、サブパートの MIME 形式は maintype のみがチェックされます。じつは maintype も省略可能で、その場合にはデフォルトは text です。 つまり、デフォルトでは typed_su ... ます。 include_default が真の場合、デフォルトの型も出力します。 関連キーワード text message plain email iterators サブパート maintype イテレータ level iterator ペイロード subtype 省略 over Message decode ヘッダ メッセージ typed subpart None structure defau ...
https://man.mtool.work/python/3.14/library/email.iterators.html
email: 使用例 — Python 3.14.8 ドキュメント 9082
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em ... ess it. for file in pngfiles : with open ( file , 'rb' ) as fp : img_data = fp . read () msg . add_attachment ( img_data , maintype = 'image' , subtype = 'png' ) # Send the email via our own SMTP server. with smtplib . SMTP ( 'localhost' ) as s : s . sen ... ould be made, or the file is encoded (compressed), so # use a generic bag-of-bits type. ctype = 'application/octet-stream' maintype , subtype = ctype . split ( '/' , 1 ) with open ( path , 'rb' ) as fp : msg . add_attachment ( fp . read (), maintype = ma ... cept FileExistsError : pass counter = 1 for part in msg . walk (): # multipart/* are just containers if part . get_content_maintype () == 'multipart' : continue # Applications should really sanitize the given filename so that an # email message can't be ...
https://man.mtool.work/python/3.14/library/email.examples.html
email: 使用例 — Python 3.14.8 ドキュメント 9082
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email : 使用例 テーマ 自動 ライト ダーク | em ... ess it. for file in pngfiles : with open ( file , 'rb' ) as fp : img_data = fp . read () msg . add_attachment ( img_data , maintype = 'image' , subtype = 'png' ) # Send the email via our own SMTP server. with smtplib . SMTP ( 'localhost' ) as s : s . sen ... ould be made, or the file is encoded (compressed), so # use a generic bag-of-bits type. ctype = 'application/octet-stream' maintype , subtype = ctype . split ( '/' , 1 ) with open ( path , 'rb' ) as fp : msg . add_attachment ( fp . read (), maintype = ma ... cept FileExistsError : pass counter = 1 for part in msg . walk (): # multipart/* are just containers if part . get_content_maintype () == 'multipart' : continue # Applications should really sanitize the given filename so that an # email message can't be ...
https://man.mtool.work/python/3.14/library/email.examples.html
email.message.Message: compat32 API を使用した電子メールメッセージの表現 — Pyth... 8964
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.message.Message : compat32 API を使用し ... be a CTE encoded binary payload). (Note that is_multipart() returning True does not necessarily mean that "msg.get_content_maintype() == 'multipart'" will return the True . For example, is_multipart will return True when the Message is of type message/rf ... KeyError が発生します。 get_content_type ( ) ¶ そのメッセージの content-type を返します。返された文字列は強制的に小文字で maintype/subtype の形式に変換されます。メッセージ中に Content-Type ヘッダがない場合、デフォルトの content-type は get_default_type( ... が適切でない content-type 書式だった場合、 RFC 2045 はそれのデフォルトを text/plain として扱うよう定めています。 get_content_maintype ( ) ¶ そのメッセージの主 content-type を返します。これは get_content_type() によって返される文字列の maintype 部分です。 g ...
https://man.mtool.work/python/3.14/library/email.compat32-message.html
email.mime: Creating email and MIME objects from scratch — Python 3.14.8 ドキュ... 8964
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.mime : Creating email and MIME objects ... るようにするためにいくつかの便利なサブクラスを提供しています。 以下がそのサブクラスです: class email.mime.base. MIMEBase ( _maintype , _subtype , * , policy = compat32 , ** _params ) ¶ モジュール: email.mime.base これはすべての Message の MIME 用サブクラス ... ふつうはしないでしょう。 MIMEBase は単により特化された MIME 用サブクラスのための便宜的な基底クラスとして提供されています。 _maintype は Content-Type の主形式 (maintype) であり ( text や image など)、 _subtype は Content-Type の副形式 (subtype) です ( plai ... れます。 If policy is specified, (defaults to the compat32 policy) it will be passed to Message . MIMEBase クラスはつねに ( _maintype 、 _subtype 、および _params にもとづいた) Content-Type ヘッダと、 MIME-Version ヘッダ (必ず 1.0 に設定される) を追加します ...
https://man.mtool.work/python/3.14/library/email.mime.html
email.message.Message: compat32 API を使用した電子メールメッセージの表現 — Pyth... 8964
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.message.Message : compat32 API を使用し ... be a CTE encoded binary payload). (Note that is_multipart() returning True does not necessarily mean that "msg.get_content_maintype() == 'multipart'" will return the True . For example, is_multipart will return True when the Message is of type message/rf ... KeyError が発生します。 get_content_type ( ) ¶ そのメッセージの content-type を返します。返された文字列は強制的に小文字で maintype/subtype の形式に変換されます。メッセージ中に Content-Type ヘッダがない場合、デフォルトの content-type は get_default_type( ... が適切でない content-type 書式だった場合、 RFC 2045 はそれのデフォルトを text/plain として扱うよう定めています。 get_content_maintype ( ) ¶ そのメッセージの主 content-type を返します。これは get_content_type() によって返される文字列の maintype 部分です。 g ...
https://man.mtool.work/python/3.14/library/email.compat32-message.html
email.mime: Creating email and MIME objects from scratch — Python 3.14.8 ドキュ... 8964
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » email --- 電子メールと MIME 処理のためのパッケージ » email.mime : Creating email and MIME objects ... るようにするためにいくつかの便利なサブクラスを提供しています。 以下がそのサブクラスです: class email.mime.base. MIMEBase ( _maintype , _subtype , * , policy = compat32 , ** _params ) ¶ モジュール: email.mime.base これはすべての Message の MIME 用サブクラス ... ふつうはしないでしょう。 MIMEBase は単により特化された MIME 用サブクラスのための便宜的な基底クラスとして提供されています。 _maintype は Content-Type の主形式 (maintype) であり ( text や image など)、 _subtype は Content-Type の副形式 (subtype) です ( plai ... れます。 If policy is specified, (defaults to the compat32 policy) it will be passed to Message . MIMEBase クラスはつねに ( _maintype 、 _subtype 、および _params にもとづいた) Content-Type ヘッダと、 MIME-Version ヘッダ (必ず 1.0 に設定される) を追加します ...
https://man.mtool.work/python/3.14/library/email.mime.html
PREV 1 2 3 NEXT