Solved

Send Mail with voting buttons via Access

Posted on 2000-05-11
9
641 Views
Last Modified: 2008-02-01
How do I send Mail including voting buttons with Access
0
Comment
Question by:TDK031400
  • 5
  • 4
9 Comments
 
LVL 1

Expert Comment

by:Viesturs
ID: 2801052
If you have instaled Outlook 8 or 9
(i don't know about Express) then you can use code, but before , when module is open, select Tools/References and check Microsoft Outlook X.0 Object Library.

Dim olapp As New Outlook.Application
Dim olMail As Outlook.MailItem
Set olMail = olapp.CreateItem(olMailItem)
olMail.Subject = "Important"
olMail.To = "Email@Adress.com"
olMail.Body = "This is text"
olMail.Attachments.Add File_Name
'olMail.Importance = olImportanceHigh

olMail.Display
'olMail.Send

Set olMail = Nothing
Set olapp = Nothing
0
 

Author Comment

by:TDK031400
ID: 2801082
Outlook 8
I know how to send the basic email but how would I use voting buttons?
0
 
LVL 1

Expert Comment

by:Viesturs
ID: 2803734
Then try add lines to code before sending

olMail.VotingOptions = "Text1"
olMail.VotingResponse = "Text2"
 
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 1

Accepted Solution

by:
Viesturs earned 20 total points
ID: 2803787
If you wish more buttons then:

olMail.VotingOptions = "Accept;Reject;Abstain"



0
 

Author Comment

by:TDK031400
ID: 2803820
Thank you Viesturs, that works.
I have another question:-
Is it possible to insert information from Access(98) into custom fields on a custom form in Outlook(98)?
0
 
LVL 1

Expert Comment

by:Viesturs
ID: 2804721
Sorry, but i work more with Access than Outlook. I think if you can to create custom form in Outlook then is possible to insert data from Access. But you right, this is another question. :)

Regards
0
 
LVL 1

Expert Comment

by:Viesturs
ID: 2867617
Why so long delay?
0
 

Author Comment

by:TDK031400
ID: 2867656
Comment accepted as answer
0
 

Author Comment

by:TDK031400
ID: 2867657
Sorry for delay, I forgot.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question