|
|
|
| SendMail component.
|
| type
|
| TacSMTPAttachType = (atNormal, atEmbedded);
|
|
|
| property AttachType: TacSMTPAttachType;
|
| The AttachType property controls how the SendMail should envelop the attached files (listed in Attach property).
|
|
|
| There are two possible types of attachment:
|
| Value | Meaning
|
| atNormal | normal attachment. User will be able to save attached files to disk or execute attached files directly from message;
|
| atEmbedded | embed attached pictures to the body of message and "hide" them. Use this attachment type only for HTML-based message (when MsgContentType = ctHTML).
|
| Note: pictures will be embedded only if you're showing them in HTML-based message (use <img src="cid:picture.gif"> tags).
|
|
|
| <img src="cid:filename"> or
|
| <body background="cid:filename">
|
| Example:
|
| <body background="cid:background.jpg">
|
| <img src="cid:Banner.gif" width=468 height=60>
|
| </body>
|
| (Note: "background.jpg" and ""Banner.gif" files should be attached to the message).
|
| Attach and MsgContentType properties.
|