Attach a binary stream to current email with customized file name.
[Syntax] C++: HRESULT AddAttachment1( BSTR FileName, VARIANT Stream, long* pVal ) Visual Basic: AddAttachment1( FileName As String, Stream As Variant ) As Long C#: long AddAttachment1( string FileName, byte[] Stream )
FileName
File name to be displayed in current email.
Stream
Binary stream of file content, it should be a byte array.
Return Values
If this method succeeds, the return value is zero; otherwise the return value is non-zero.
See Also
2001-2007 © Copyright AdminSystem Software Limited. All rights reserved.