Add an embedded attachment file to current email.
[Syntax] C++: HRESULT AddInline( BSTR strFile, BSTR* pVal ) Visual Basic: AddInline( strFile As String ) As String C#: string AddInline( string strFile )
strFile
File or URL to be added.
Return Values
If this method succeeds, the return value is the Content-ID generated automatically by this method; otherwise the return value is null.
In some cases, the e-mail body includes a hyper-link which refers to a picture. In order to embed the picture in current email, you can use AddInline/AddInlineEx method. First developer can use AddInline/AddInlineEx method to add a picture to an e-mail, then change the hyper-link so that it points to <img src="cid:Content-ID">. This Content-ID is returned by this method.
ImportMailEx method provides a way to import html with embedded pictures to email easily.
See Also
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.