| o=new("mailattachment",file$,name$)   A mail attachment object represents a file attachment to an email.  It is typically used as a child object of a message, as part of the attachments collection of a mailmessage object.  When creating a mail attachment, you can supply a file and optional name, where the name is used by the recipient as a suggested file name.  The file content itself is stored in a work file while the object exists.     
| charset$ | The character set of the attachment, usually for text-oriented attachments. |  
| content$ | The binary content of the attachment. |  
| contentid$ | The content ID, used with generating a MIME attachment for sending email.  By specifying a content ID, an HTML message body can reference the attachment with a "cid:contentID" reference, such as in a src= value of an HTML <img> tag. |  
| encoding | 1 for base64 encoding, 2 for quoted-printable encoding |  
| filename$ | When set, loads the specified file into the attachment. |  
| name$ | The name used for MIME encoded headers, typically a suggested file name. |  
| type$ | The MIME type of the attachment, such as text/plain or application/pdf. |       
| loadfile(filename$ [,type$ [,encoding [,name$ [,charset$ [,contentid$]]]]]) | Loads the specified file into the attachment, optionally specifying additional parameters. |  
| setcontent(value$ [,type$ [,encoding [,name$ [,charset$ [,contentid$]]]]]) | Loads the provide content value into the attachment, optionally specifying additional parameters. |  |