sending e-mails from access

Zibinette

New Member
Joined
Feb 4, 2003
Messages
2
Hi, another question from a helpless access user.
Does anyone know how to program a button that will allow me to send an e-mail to a client with info regarding his file. I'm guessing that the personalized message would probably end up being a WORD document containing the info I want to send.
thanks again and hope to read some helpful messages soon !!!
Z.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Dim olkapps As Outlook.Application
Dim olknamespaces As Outlook.NameSpace
Dim objmailitems As Outlook.MailItem

Set olkapps = New Outlook.Application
Set olknamespaces = GetNamespace("MAPI")
Set objmailitems = olkapps.CreateItem(olMailItem)
With objmailitems
.To = "Recipients Name"
.Subject = "Subject Title"
.Body = "Text In Here"
.Importance = olImportanceHigh
.Attachments = "C:Your File"
.Send
End With
Set olkapps = Nothing
Set olknamespaces = Nothing
Set objmailitems = Nothing
This message was edited by Nero on 2003-02-06 11:05
 
Upvote 0
Alternatively you could go to Macros and from the drop down list select Send Object. The arguments section at the bottom of the screeen are pretty easy to follow...Even for me!!
Then create a button and attach the macro to it
This message was edited by Wuddle on 2003-02-09 07:35
 
Upvote 0

Forum statistics

Threads
1,221,499
Messages
6,160,164
Members
451,628
Latest member
Bale626

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top