PC Review


Reply
Thread Tools Rate Thread

Add Voting button to Email sent through Access Vba

 
 
New Member
Join Date: Jan 2011
Posts: 1
 
      26th Jan 2011
Hi
I am sending a email through Access VBA. i want to add the voting button to the email and click yes for the security pop up when mail getting generated.

I am Using the below coding:

Function SendEmails()

Dim MySet As ADODB.Recordset

Set MySet = New ADODB.Recordset

MySet.Open "qryEmail", CurrentProject.Connection, adOpenStatic

Do Until MySet.EOF

qemail.SetFocus
[Forms]![Form3].[qemail].Text = MySet![Email]

DoCmd.SendObject acQuery, "Messages_Sent", "MicrosoftExcelBiff8(*.xls)", [Forms]![Form3].[qemail], "", "", "INCOMMING MESSAGES - CONFIRMATION", "Hi" & vbNewLine & vbNewLine & "We have yesterday forwarded the following message, which has/have been acknowledged" & vbNewLine & vbNewLine & "As an additional control the relevant reporting line please confirm that you have received and acted/responded as per the instructions/requests" , False, ""

MySet.MoveNext

Loop

End Function


the email address is picked from the query (qryEmail).

Thanks for the help....

Remoj
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Email Help: Select custom voting button options VBA sam Microsoft Outlook VBA Programming 0 11th Jan 2010 07:40 PM
Outlook Email Help: selecting Voting button option from excel VBA sam Microsoft Excel Programming 12 11th Jan 2010 04:06 PM
Can I set up a database from email voting button responses SimmoG Microsoft Outlook Discussion 0 9th Mar 2009 03:32 PM
Voting button cause form error in email template Marxyana Microsoft Outlook Form Programming 3 8th Oct 2008 09:19 PM
Email voting button/tracking question amy29 Microsoft Outlook Discussion 1 10th Sep 2008 02:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:44 AM.