Emailing from a text field

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

Guest

I have a form that has a field for an email address (hyperlink). I put in
code as follows to send an email by doubleclicking on the email address;

Application.FollowHyperlink "MailTo:" & [ControlName]

The problem is it opens Outlook and our mandatory email client is Groupwise.
Is there any way to force it to open Groupwise rather than Outlook.
Thanks.
 
I have a form that has a field for an email address (hyperlink). I put in
code as follows to send an email by doubleclicking on the email address;

Application.FollowHyperlink "MailTo:" & [ControlName]

The problem is it opens Outlook and our mandatory email client is Groupwise.
Is there any way to force it to open Groupwise rather than Outlook.
Thanks.

1) Are you absolutely certain that Groupwise is your email client?
Start + Control Panel + Internet Options + Programs + E-mail

2) If the email address field datatype is Hyperlink (as you stated),
you cannot use the double-click event at all, because as soon as you
click in the field, the hyperlink is activated. You can do that, but
you must include the "MailTo:" along with the actual address in the
field, i.e. "mailto:[email protected]".

However if the address field is a Text datatype (which I recommend)
then use the Application.FollowHyperlink "MailTo:" & [ControlName] in
the double-click event.
 
Yes, I am sure Groupwise is my email client. I work work the State of
Michigan, Dept. of Corrections and we use Groupwise 6.5. However, the only
options in IE under email are Outlook and Hotmail. I suspect that IT has any
option to change that turned off. On the other issue, it is a text field and
the code I put in works but opens up Outlook which will not work on my
system. I will ask one of our IT guys if they can change the email client
for me under internet options since there does not appear to be any way to
point the address to Groupwise. Thanks.

fredg said:
I have a form that has a field for an email address (hyperlink). I put in
code as follows to send an email by doubleclicking on the email address;

Application.FollowHyperlink "MailTo:" & [ControlName]

The problem is it opens Outlook and our mandatory email client is Groupwise.
Is there any way to force it to open Groupwise rather than Outlook.
Thanks.

1) Are you absolutely certain that Groupwise is your email client?
Start + Control Panel + Internet Options + Programs + E-mail

2) If the email address field datatype is Hyperlink (as you stated),
you cannot use the double-click event at all, because as soon as you
click in the field, the hyperlink is activated. You can do that, but
you must include the "MailTo:" along with the actual address in the
field, i.e. "mailto:[email protected]".

However if the address field is a Text datatype (which I recommend)
then use the Application.FollowHyperlink "MailTo:" & [ControlName] in
the double-click event.
 
Back
Top