Sending an Email From Access

R

rose lentz

All I want to do is click on an email address from an
Access form and have the user's email software open up
with the email address populated in the "To" line.
 
R

Richard

All I want to do is click on an email address from an
Access form and have the user's email software open up
with the email address populated in the "To" line.



Look up DoCmd.SendObject in help.

Richard

Its a good job Einstein never had to fill out one of these Government Grant applications or we never would have found out what e equalled. The West Wing
 
F

fredg

All I want to do is click on an email address from an
Access form and have the user's email software open up
with the email address populated in the "To" line.

I would suggest the double-click, not click event.
In the address control's double click event:

Application.FollowHyperlink "Mailto:" & [AddressControl]
 
S

Sam Hobbs

I know this is old and you might not even see this, but if I understand your
question, you can make the email address a hyperlink and have Access do most
everything for you. Hyperlinks usualy have "http://" but for an email
address you would use "mailto:" instead. When doing that, there are a few
other fields you can specify, including the subject. However the total size
is limited and the limitation depends on the client (the user's) email
software. You are likely to be able to use at least 128 characters.
 

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