RE: [AutoIt]SMTP mail function with multi-attachment support 02-29-2012, 02:42 AM
#5
(02-29-2012, 01:21 AM)Strikethrough Wrote: I have a question, are all values in the function mandatory?
in autoit any parameters within brackets are NOT mandatory.
ie:
Code:
_CompSMTPmail($Username, $Password, $From, $To, $Subject, $Body, $smtp, $port[, $attachments = Chr(0])You see that the [, $attachments = Chr(0] parameter is within the brackets. You can use the function without this, but the rest ARE mandatory.



![[+]](https://sinister.li/images/modern/collapse_collapsed.png)