MailItem send method question

J

John Smith

I have a form right now that is a MailItem that uses the item.Send method,
right now it sends to the "Default Account' whatever that is... and I want
to be able to specify the account in code. Is that possible? Can anyone
point me in the right direction on this? I was searching for accounts and
anything I could in the docs but couldn't find anything on it.



Thanks
 
J

John Smith

I guess no one has an asnwer to this? Basicly can you program "accounts"
into forms, or are thoes one of the things microsfot "forgot" to add.
 
H

Hollis D. Paul

I have a form right now that is a MailItem that uses the item.Send method,
right now it sends to the "Default Account' whatever that is... and I want
to be able to specify the account in code. Is that possible? Can anyone
point me in the right direction on this? I was searching for accounts and
anything I could in the docs but couldn't find anything on it.
The default account is the folder for that type of item in your mail delivery
location. Assuming you are using Outlook 2003, you can send your items to
the email address of any Exchange folder--you just have to get the mail
address from the Exchange system, and then put that in the to field before
you start the design mode. After you already have the design, you go back
into design mode, paste it into the text property of the control, and
republish the form.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2600
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top