Automating SendMail() from Word 2003

N

Nuyttens Xavier

Hi,

I wrote software to automate Word documents from my application. When users
finished editing a document, they'll send it to email via Word's email
functions. However, they have to fill out the address and subject themselves
now. Is there an option to do this when I open the document ? This is was I
would like to do :
1. I open and merge the document from my software
2. I add an email address and a subject from my database
3. They review and edit the document
4. They Send the document through email : the address and subject is
used from (2)

I know there are other options to solve this, like automation Outlook, but I
would like to look into this scenario first.

Outlook 2003, Word 2003

Thanks in advance
Xavier, CPS
 
C

Cindy M -WordMVP-

Hi Nuyttens,

Word VBA can do this, but you have to work through the security questioning.
See MailEnvelope in the Word VBA Help.
I wrote software to automate Word documents from my application. When users
finished editing a document, they'll send it to email via Word's email
functions. However, they have to fill out the address and subject themselves
now. Is there an option to do this when I open the document ? This is was I
would like to do :
1. I open and merge the document from my software
2. I add an email address and a subject from my database
3. They review and edit the document
4. They Send the document through email : the address and subject is
used from (2)

I know there are other options to solve this, like automation Outlook, but I
would like to look into this scenario first.

Outlook 2003, Word 2003

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
N

Nuyttens Xavier

Thanks Cindy, this seems to work fine if you mail the document directly,
however, is it doesn't work when you send is as an attachment, is there an
property for that also ?

thankx
Xavier, CPS
 
C

Cindy M -WordMVP-

Hi Nuyttens,
it doesn't work when you send is as an attachment, is there an
property for that also ?
Not that I'm aware of, but then, this isn't my area of expertise.
The best place to get help for this kind of thing would be a
word.vba newsgroup. If you've looked around you, here, you'll
have noticed that this group is really for end-users, not macro
questions :)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8
2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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