Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Setting "To" property when creating a custom form

Posted on 2003-03-06
Medium Priority
Last Modified: 2010-04-07
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.

Question by:Greenback
  • 2
LVL 10

Accepted Solution

aeklund earned 150 total points
ID: 8084378
Use the .Receipients.Add ("blah@blah.com") method of the Mailitem object...

Author Comment

ID: 8089038
For the record, to add recipients to a form that is already open, there is no "." before Recipients.


The "." appears to be used when creating a new mailitem and setting the recipient then.

Thanks again.
LVL 10

Expert Comment

ID: 8089066
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.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
As a Microsoft Exchange user, you must have known the importance of an Offline storage table (OST) file. It is nothing new for an Outlook user to be dependent on a .ost file during a server break down or a problematic Internet connection. In such a…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question