Emailing directly from Access with Send object

S

slickdock

Emailing directly from Access with Send object command is not
including default signature on stationary. If I email directly from
Outlook 2007, my default siganture appears. If I email through
msAccess 2002 with a command button that runs the send object command,
the default signature does not appear. I have to manually select a
signature.

Help!
Thank you!
 
T

Tony Toews [MVP]

Emailing directly from Access with Send object command is not
including default signature on stationary. If I email directly from
Outlook 2007, my default siganture appears. If I email through
msAccess 2002 with a command button that runs the send object command,
the default signature does not appear. I have to manually select a
signature.

That's a limitation of SendObject then. One of many such limitations.
The alternative is to use VBA code and automate Outlook. Although I'm
only assuming that would help. It might not as I seldom use Outlook
and have never used stationary.

See the Outlook specific links at the Access Email FAQ at my website.
http://www.granite.ab.ca/access/email/outlook.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
S

slickdock

That's a limitation of SendObject then. One of many such limitations.
The alternative is to use VBA code and automate Outlook.  Although I'm
only assuming that would help.  It might not as I seldom use Outlook
and have never used stationary.

See the Outlook specific links at the Access Email FAQ at my website.http://www.granite.ab.ca/access/email/outlook.htm

Tony
--
Tony Toews, Microsoft Access MVP
   Please respond only in the newsgroups so that others can
read the entire thread of messages.
   Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
   Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/

Thank you for the link. Unfortunately, it won't work for me, because
not all of my users have Outlook. Some have other email programs. So
that is why I use the Send Object command, since it will launch
whatever their default mail program happens to be. Any other
suggestions? Anyone?
 
T

Tony Toews [MVP]

Thank you for the link. Unfortunately, it won't work for me, because
not all of my users have Outlook. Some have other email programs. So
that is why I use the Send Object command, since it will launch
whatever their default mail program happens to be. Any other
suggestions? Anyone?

What you ask simply isn't possible using SendObject.

So you will need to find code to match each of your users software.
There are other software links at the Microsoft Access Email FAQ
http://www.granite.ab.ca/access/email.htm such as Novell Groupwise and
Lotus Notes.

Also you'll want to use late binding instead of a reference as your
users may have different versions of Outlook or the code will only
error out once you attempt to use Outlook. If you leave a reference
to Outlook or other software your code will start doing very
interesting things when installed at your users. If it runs at all
past the first form or two.

Late binding means you can safely remove the reference and only have
an error when the app executes lines of code in question. Rather than
erroring out while starting up the app and not allowing the users in
the app at all. Or when hitting a mid, left or trim function call.

This also is very useful when you don't know version of the external
application will reside on the target system. Or if your organization
is in the middle of moving from one version to another.

For more information including additional text and some detailed links
see the "Late Binding in Microsoft Access" page at
http://www.granite.ab.ca/access/latebinding.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
T

Tony Toews [MVP]

Thank you for the link. Unfortunately, it won't work for me, because
not all of my users have Outlook. Some have other email programs. So
that is why I use the Send Object command, since it will launch
whatever their default mail program happens to be. Any other
suggestions?

Another alternative is to see if Outlook is indeed installed and use
it with the signature and stationery. If not installed then use
SendObject.

Oh, you could try MAPI but I really, really doubt that will have a
stationery option. I have a page on MAPI as well.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
S

slickdock

Another alternative is to see if Outlook is indeed installed and use
it with the signature and stationery.  If not installed then use
SendObject.

Oh, you could try MAPI but I really, really doubt that will have a
stationery option.  I have a page on MAPI as well.

Tony
--
Tony Toews, Microsoft Access MVP
   Please respond only in the newsgroups so that others can
read the entire thread of messages.
   Microsoft Access Links, Hints, Tips & Accounting Systems athttp://www.granite.ab.ca/accsmstr.htm
   Tony's Microsoft Access Blog -http://msmvps.com/blogs/access/

Thank you. Since I'm not well versed in vba, can you tell me or point
me to an article that tells me if outlook is the default mail handler?
 
T

Tony Toews [MVP]

Thank you. Since I'm not well versed in vba, can you tell me or point
me to an article that tells me if outlook is the default mail handler?

Hmm, I have no idea how you do that. Trouble is Google has so
badly screwed up things that it's next to impossible to search for
usefully answers. And Live.com isn't ready yet either.

You could try at vbnet.mvps.org or msdn.microsoft.com.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 

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