Add a single attachment file to the email
Namespace: DotNetNuke.Services.MailAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public void AddAttachment( string localPath ) |
Visual Basic |
---|
Public Sub AddAttachment ( localPath As String ) |
Parameters
- localPath
- Type: System..::..String
path to file to attach
Remarks
only local stored files can be added with a path