Start e-mail client with link

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have e-mail addresses on a form, formatted as a hyperlink. How do I set it
up to start the user's e-mail program to send an e-mail? I am not sending
any info from the form, at least not yet. It is a contact info form.

TY,
Kelvin
 
If you have the addresses in a hyperlink field, they must include the
mailto: protocol indicator, e.g.

mailto:[email protected]

If you just have (e-mail address removed) it will be treated as

http://[email protected]

which won't work.

As an alternative, store the addresses in a text field and use something
like this in the Click or DoubleClick event handler of the textbox to
which the field is bound:

Application.FollowHyperlink "mailto:" & Me.XXX.Value

where XXX is the name of the textbox.
 
KLP.

KLP said:
I have e-mail addresses on a form, formatted as a hyperlink.
How do I set it up to start the user's e-mail program to send an e-mail?
I am not sending any info from the form, at least not yet.
It is a contact info form.

In a hyperlink field, enter something like: mailto:[email protected].
 
Back
Top