Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルが添付された indy 10 と delphi 7 を使用して電子メールを受信するにはどうすればよいですか?
添付ファイルはコレクションにTIdAttachmentオブジェクトとして保存されますTIdMessage.MessageParts。
TIdAttachment
TIdMessage.MessageParts
あなたのコードは正常に動作していますが、「s」が定義している「begin-end」セクションを修正する必要があります。「FileName」が空の場合、プログラムは保存をスキップする必要があります。おそらくこの線を切って「終わり」がぶら下がっています。