Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 30013

Is there any option to create reply events/task while sending mail? [closed]

$
0
0

I thought of using Spring amqp as a message broker for sending mails. Once I send mail I should get a reply whether it is 'Done' or 'Postponed' or 'Aware'. Here in this situation replys are predefined. So I thought we can send with some popup suggestions of these options. So that it will be helpful for receivers. Once they click corresponding options from the list it will trigger mail.

For above scenario @StephenC helped me by suggesting add html buttons in mail.

So I have included HTML form elements with buttons, but while receiver replying back by clicking those buttons new browser page is getting opened. I tried with javascript to restrict, But no use. Please suggest a method to overcome this situation

Below is the content I am adding in mail text, in below condition it will work fine but new page will be opened, I dont want that to happen.

email.setMessage("<form method='get' action='http://localhost:8080/ReplyMailOk/"+email.getTo()+"/"+email.getFrom()+"/OK'><input type='button' id='btn1' name='OK' value='OK'/></form>")

Viewing all articles
Browse latest Browse all 30013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>