• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3445
  • Last Modified:

Email Template for Party Invitation with [accept] and [decline] button

How can I create a party invitation email template with [accept] and [decline] button so that I can email this e-invitation card via outlook to my customer and they can just click the [accept] or [decline] button and their response will be automatically emailed back to my email.
0
Timhkg
Asked:
Timhkg
  • 7
  • 5
1 Solution
 
YiHateuCommented:
You can just create a new message and under options select use voting buttons

Depending on your version of Outlook these options may be in different locations.  Which version are you using?
0
 
TimhkgAuthor Commented:
I am using outlook 2003, but I prefer to have something like the attached jpg
party-invitation.jpg
0
 
TimhkgAuthor Commented:
I am cope with the web design part, but does not know how to create the script behind the [accept] and [decline] button so that by clicking either one of them, it will send back the [clicked answer] to the sender's email address. I will actually prefer to be able to assign one email address for clicking [accept] and another email address for clicking [decline].
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
David LeeCommented:
Hi, Timhkg.

This is possible, but quite in the way you want.  You can assign a mailto hyperlink to each button, that creates a pre-addressed response indicating their choice.  However, you can't actually send the message.  It'll display on the screen and the user will have to click the Send button.  The format of a mailto link is

mailto:someone@company.com?Subject=Cocktail Party Attendance&Body=Accept
0
 
TimhkgAuthor Commented:
the invitation email that I received, after clicking the [accept] button, a message window [Thank you] pop up and that is all. I found this way is much better.  [BlueDevilFan] 's solution to me is somehow only entirely automatic although I will have to do so if no other expert can give me better solution. However, I try to check the html source behind this email, it says something likce:

 href="http://www.mallesons.com/email/respond.php?key=1wi-83idis-3y297fa-x7cnhs&r=accept"><b><font
  color=black><span style='color:black;border:solid #009DD9 1.0pt;padding:5.0pt;
  background:white;font-weight:bold;text-decoration:none'>Accept</span></font></b></a>
  <a
  href="http://www.mallesons.com/email/respond.php?key=1wi-83idis-3y297fa-x7cnhs&r=decline"><b><font
  color=black><span style='color:black;border:solid #009DD9 1.0pt;padding:5.0pt;

I don't know if this extra info I just found will help the experts here to help me out. thanks a lot in advance
0
 
David LeeCommented:
The hyperlink in what you posted is calling a web page and passing it the response.  This is a better solution so long as you don't mind the email being generated by what appears to be a third-party web site.  If you want the response to be generated at the client's computer, then I gave you the link you need.  You can edit the message subject and body as you see fit.
0
 
TimhkgAuthor Commented:
can you give me a complete script of these 2 different solution so I will try out both way and see if it works for me, thanks in advance
0
 
David LeeCommented:
I don't know what you mean by "a complete script".  You cannot put script in an Outlook email.  I gave the text of the hyperlink above.  All you have to do is create the message or open the message template and insert a hyperlink in each of the buttons.
0
 
TimhkgAuthor Commented:
the hyperlink in which I post  belongs to one of my clients and what I am trying to find is a solution similar to this one. In other words, how could I setup this similar link/service in my own website so that I can use similar link in my emails. I would accept your previous answer as well but would really prefer to find out how to do the same as my client
0
 
David LeeCommented:
Ahhhh, now I understand.  That would involve creating a web page that does the emailing for you, or compiles the results for you.  I can post a solution using Microsoft ASP (Active Server Page) technology and a freely available email component called vbSendMail.  Do you have a web server that supports ASP technology?
0
 
TimhkgAuthor Commented:
we are hosting our website under windows platform, but do not know whether it means it can support asp technology or not, how will I know, I just know our home page start with index.asp
0
 
TimhkgAuthor Commented:
we do not own the windows web server but share with other companies. it means one windows web server hosted several domain names.
0
 
David LeeCommented:
I understand.  Since your home page ends with .asp I assume they support ASP technology.  The code below should get the job done.  You'll have to download and install the vbSendMail component on the web server.  Here a link to it: http://www.freevbcode.com/ShowCode.Asp?ID=109  If the hosting company doesn't allow you to install a component, then you'll have to talk to them about what they have available for sending messages.  Once you know that, then you'll have to adjust the code accordingly.  If you can use the page as is, then the links will be something like this:

http://myhost.com/mysite/mypagename.asp?Event=SomeEventName&From=SomeEmailAddressOrName&Response=Accept
http://myhost.com/mysite/mypagename.asp?Event=SomeEventName&From=SomeEmailAddressOrName&Response=Decline

This allows you to use the same page for other events and to know who is sending the response.  Of course that means you'll have to send individual messages with the links in each message customized for that recipient.
<%
    Dim varEvent, varFrom, varResponse, objMail
    varEvent = Request.Querystring("Event")
    varFrom = Request.Querystring("From")
    varResponse = Request.Querystring("Response")
    set objMail = new vbSendMail.clsSendMail
    'Edit the server name on the next line'
    objMail.SMTPHost = "yourSMTPmailserver.company.com"
    'Edit the sender address on the next line as desired'
    objMail.From = "no-response@company.com"
    'Edit the display name on the next line as desired'
    objMail.FromDisplayName = "Event Response System"
    'Edit the recipient address on the next line as desired'
    objMail.Recipient = "someone@company.com"
    'Edit the display name on the next line as desired'
    objMail.RecipientDisplayName = "Some Name"
    'Edit the address on the next line as desired'
    objMail.ReplyToAddress = "no-response@company.com"
    'Edit the subject on the next line as desired'
    objMail.Subject = "Event Response"
    'Edit the message body on the next three lines as desired'
    objMail.Message = "Event: " & varEvent & vbCrLf _
                    & "From: " & varFrom & vbCrLf _
                    & "Response: " & varResponse
    objMail.Send
    set objMail = nothing
%>

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now