Save(Name, Path)

Saves the attachment to a specified folder.

Parameters
  • Name. Specifies the name of the file in which to save the attachment. The parameter is passed by reference and may be returned with a different value than the value sent to it.
  • Path. Specifies the full path to the folder in which to save the attachment.
Return value

Boolean:

  • True. Indicates that the save operation succeeded.
  • False. Indicates that the save operation failed.
Examples
Copy
AttItem.Save("MyAttachment.txt", "C:\Attachments");

Saves the attachment stored in the AttItem variable to the MyAttachment.txt file located in the Attachments folder.