Greenback
asked on
Setting "To" property when creating a custom form
I'm creating a custom form and want to set the recipient myself without the user seeing it or being able to change it.
I've been playing around with the different objects and the like in the vbscript accompanying the form and am hoping someone can point me in the right direction.
thanks.
I've been playing around with the different objects and the like in the vbscript accompanying the form and am hoping someone can point me in the right direction.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad to help.
I have to ask why a "B" grade? If my answer didn't meet your satisfactory, I wish you would have at least let me know so that I could collaborate and provide you with a more better solution to meet your needs. I feel like I have been blind sided!
I use the "." as merily a reference that "Receipits" is a collection of the mailitem object, or in your case if you have the form open, it is a collection of the item you have open.
I have to ask why a "B" grade? If my answer didn't meet your satisfactory, I wish you would have at least let me know so that I could collaborate and provide you with a more better solution to meet your needs. I feel like I have been blind sided!
I use the "." as merily a reference that "Receipits" is a collection of the mailitem object, or in your case if you have the form open, it is a collection of the item you have open.
ASKER
Recipients.Add("blah@blah.
The "." appears to be used when creating a new mailitem and setting the recipient then.
Thanks again.