I'm really sorry if I posted this already. I'm new to the site, and as my Q doesn't seem to have appeared I think maybe I just previewed it and didn't actually post it.
I want to send e-mails from inside an Access application. I've been experimenting and so far the following does sort-of work!
When I click the button an Outlook new message appears, with the address neatly filled in. (I can get multiple addresses in, too, and a subject line, so that's all fine). BUT Outlook 2007 (horrible thing!) is not my default e-mail program ... That's BT Yahoo! Mail (nice thing!)
Is there a reasonably simple way of getting Access to go for the default e-mail program instead of Outlook (or is this just Microsoft being awkward?!) Apart from my preferences, I want the DB to be portable to any other machine running a reasonably recent version of the Microsoft opsy.
I want to send e-mails from inside an Access application. I've been experimenting and so far the following does sort-of work!
Code:
'address is a field containing an e-mail address
Private Sub Send_Click()
Dim ctl As CommandButton
Set ctl = Me.Send
With ctl
.HyperlinkAddress = "mailto:" & address & "#"
End With
End Sub
Is there a reasonably simple way of getting Access to go for the default e-mail program instead of Outlook (or is this just Microsoft being awkward?!) Apart from my preferences, I want the DB to be portable to any other machine running a reasonably recent version of the Microsoft opsy.
Comment