Jim,
I'd say the odds are good that your problem is the mail server input string, not the attachments array. For example, I now live in Tampa and can send mail successfully when I use the address of my current ISP's SMTP server (smtp-server.tampa.rr.com). But when I try the server I previously used in Texas (smtp-server.austin.rr.com), I get the exact same error that you reported. A more explicit error message would make troubleshooting easier, but the basic problem is that I'm trying to use an SMTP server that I no longer have access to (based on the IP address my ISP has assigned to me, presumably).
You can test this theory by configuring Outlook Express or Thunderbird or some other e-mail client to use the same outgoing SMTP server that you're trying to use in LabVIEW. If you can't send mail that way, it confirms that your mail server string is bad.
Then again, maybe the problem is that your SMTP server requires authentication, which isn't supported by the LabVIEW SMTP VIs. If that's the case, I recommend using the
OpenG ogic-smtp library, which I have successfully used with an SMTP server that requires authentication. You might try that library regardless, if you continue to have problems with the native SMTP VIs.
Good luck,
John