07-28-2007 02:57 PM
07-28-2007 04:41 PM - edited 07-28-2007 04:41 PM

Message Edited by Bill@NGC on 07-28-2007 02:44 PM
09-12-2008 12:52 PM - edited 09-12-2008 12:54 PM
I too got to wondering if it was possible to use the SMTP BCC function with the built-in VIs when I found this discussion thread.
I looked into both the v7.1 and v8.6 SMTP vis and they do not support BCC as delivered but it turns out that it is fairly trivial to modify a copy of one of the VIs to use a "BCC:" list rather than (or in addition to) a "To:" list.
From any of the upper-level SMTP VIs, work your way down to the SMTP header preparation/sending VI. It's called "SMTP Email Send Message Header.vi"
In it you will find a string constant "To:" that gets added to the recipient list to form a portion of the header.
If you replace the "To:" with a "Bcc:" then the system will do BCC-style mailings.
It's also possible to keep the "To:" list and add a BCC and /or CC list also.

Remember that, while you are tinkering, you are messing with vi lib "worker" vis so you should probably not be saving any changes you make unless you have made a copy of this portion of the vi lib hierarchy and are working on that copy.