View Single Post
  #2 (permalink)  
Old 12-01-2008, 3:25 PM
MattP MattP is offline
VB.NET Forum Idol
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Feb 2008
Location: USA
Posts: 877
Reputation: 500
MattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond repute
Default

Here's how to using Outlook Automation.

Code:
		Dim appOutlook As New Outlook.Application
		Dim mmOutlook As Outlook.MailItem = appOutlook.CreateItem(Outlook.OlItemType.olMailItem)

		With mmOutlook
			.To = "user@domain.com"
			.Subject = "Vote!"
			.Body = "Message Body"
			.VotingOptions = "Yes; No; Maybe So"
			.Send()
		End With

		mmOutlook = Nothing
		appOutlook = Nothing
I would advise that you send out an html email with links for each of the options.

Something like:

Code:
yoursite.com/vote.aspx?recipient=1234&vote=1
Your webapp can then do the insert/update on the database with the results and you'll only need to worry about users having to have html email capabilities.

Last edited by MattP; 12-01-2008 at 3:32 PM.
Reply With Quote