This topic is locked

Send email with buttons to return and email with different subject

6/5/2019 4:09:24 AM
PHPRunner General questions
P
PaulM author

I would like to send an email that has a series of buttons in it to reply to the email with the subject 'Accept', 'Request another Quote', 'Reject' and put them in to a colored block or picture(if possible)
I can send the email OK its just the return bit that I'm struggling with.
Any help would be great.

admin 6/5/2019

You definitely need to send an HTML if you need to display some buttons and images. But I'm kind of struggle trying to understand what is the actual question here. You can design your HTML page outside of PHPRunner and then use HTML code to send an email.
Example #2 explains how to send an HTML email:

https://xlinesoft.com/phprunner/docs/runner_mail_function.htm

woodey2002 6/7/2019

I wonder will some aspects of this cool plugin help you https://xlinesoft.com/emailreader
Cheers,

James

D
david22585 6/7/2019

So you want to have an e-mail sent with 3 options for the end user to select one from, with the 3 options being Accept, Request Another Quote, or Reject, correct? If so, what I would do is create a edit page with a read only value of your selection and have the link pass the value to that page. When the page loads, have it say something like "Please confirm that you with to (Accept/Reject/Request Another Quote) with a submit button. This way the record will be edited from the value passed from the e-mail.

P
PaulM author 6/7/2019



You definitely need to send an HTML if you need to display some buttons and images. But I'm kind of struggle trying to understand what is the actual question here. You can design your HTML page outside of PHPRunner and then use HTML code to send an email.
Example #2 explains how to send an HTML email:

https://xlinesoft.com/phprunner/docs/runner_mail_function.htm


I would like to know how to add a button into a mail that when clicked prepares an email with the return address and the subject of 'Accept' another button which has the subject of 'Request another Quote' and a third button that sets up the email with the subject of 'Reject'. I've been trying various ways but cannot fathom out how to do it. Any help would be great

P
PaulM author 6/7/2019



I wonder will some aspects of this cool plugin help you https://xlinesoft.com/emailreader
Cheers,

James


Thanks James but I want the recipient of my mail to click on 'Accept', 'Request another Quote' or 'Reject' which will then set up a return mail with Accept, Request another quote or Reject in the subject.

lefty 6/9/2019



Thanks James but I want the recipient of my mail to click on 'Accept', 'Request another Quote' or 'Reject' which will then set up a return mail with Accept, Request another quote or Reject in the subject.


You need to an email template to start with to send the emails with a buttons . Either custom or use this link it's free trial . Click Here. Make buttons depending on values you need Accept , Request , Quote or Reject. The value of your buttons needs to be setup differently for each button . You need to use placeholders see this topic from

Sergey awhile ago. Click Here . for first sending the form use the first link to at topico.ico to make the form ,
but the hard part is the return button , something like for Accept ; would have to hold the values of the original email and return to your database/user with the results of the values . ( Make sure this is SSL wildcard email as you want it to be secure ) I will try to provide a callback button parameters to the buttons when I can find last time I have done this. Will advise.
a little bit more complicated are the parameters to callback to your site with the results. I have only got to work to send users to a url with fields filled in . The hardest part is getting them logged in from the email form.
Buttons
Sample Code : <a style="background: rgb(110, 16, 27); margin: 0px; color: rgb(255, 255, 255); text-transform: none; line-height: 120%; font-family: Ubuntu, Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; text-decoration: none;" href="https://www.mywebsitebutton.com/output_demo/login.php"; target="_blank">Login</a>
Advanced Button Code :
<a style="background: rgb(110, 16, 27); margin: 0px; color: rgb(255, 255, 255); text-transform: none; line-height: 120%; font-family: Ubuntu, Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 13px; font-weight: normal; text-decoration: none;" href="https://www.mywebsitebutton.com/output_demo/login.php?YOURFIELDUSERNAME=YOURPARAMETIER=YOURSECONDPARMETER"; target="_blank">Accept</a>
The problem some of us had on this forum in the past is login over URL . If you don't have a login then it is not that difficult but a security risk. You would need some sort of token to send along , that would require some serious custom programming. It would be better just to make the buttons and email template then send them to a url of your choice , once logged in it would send them to the correct page.