How to get Checkpoint via mail to work?

Post Reply
lovestjarna
Newbie
Posts: 18
Joined: Mon May 26, 2014 3:50 pm

How to get Checkpoint via mail to work?

Post by lovestjarna »

Im trying to get the Checkpoint via mail to work...

I have put in the checkpoint and added to folders after that - "Accept" and "Reject".

When getting the email I have chosen the plain text and built in. It gives me everything with Job identifier and what actions that could be used (the two above).



Returning email and having:

Job identifier: 5462U

Action: Reject



...doesnt do anything. Shouldn't it be automatic or do I have to check email manually to match? If it should be automatic - How can I check that Switch have checked the email?

And is it the default email address it should respond to?
freddyp
Advanced member
Posts: 413
Joined: Thu Feb 09, 2012 3:53 pm

How to get Checkpoint via mail to work?

Post by freddyp »

The mail account you have to check is the one that is being replied to. I prefer doing the "Checkpoint via mail" with an HTML because then you can "automate" the creation of the return mail with the correct unique ID and response text. Below is a template you can start from. Change the return mail address or it will not work. The text on the buttons will be replaced automatically with that of your outgoing connections.



Freddy





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Mail to Switch</title>

<style type="text/css">

.infotext {

font-family:'Trebuchet MS',Arial,sans-serif;

font-size:1em;

height:32px;

color:#0273b9;

width:100%;

text-align:left;

}

.responsebutton {

-webkit-box-shadow:rgba(0,0,0,0.2) 0 1px 0 0;

-moz-box-shadow:rgba(0,0,0,0.2) 0 1px 0 0;

box-shadow:rgba(0,0,0,0.2) 0 1px 0 0;

background-color:#0273b9;

color:white;

border-radius:5px;

-moz-border-radius:5px;

-webkit-border-radius:5px;

border:none;

font-family:'Trebuchet MS',Arial,sans-serif;

font-size:1.2em;

padding:20px 20px;

text-shadow:#FE6 0 1px 0;

text-decoration:none;

height:32px;

width:50%;

}

</style>

</head>

<body>

<div width=200px>

<p>

</p>

<p class="infotext">

Please send us your feedback on the attached file by clicking one of the buttons below

</p>

<p>

<a class=responsebutton href="mailto:yourmail@yourmail.com?subject=Response to Switch&body=Job identifier: [Job.UniqueNamePrefix] Action: [Switch.OutgoingName:Index=1]">[Switch.OutgoingName:Index=1]</a>

<a class=responsebutton href="mailto:yourmail@yourmail.com?subject=Response to Switch&body=Job identifier: [Job.UniqueNamePrefix] Action: [Switch.OutgoingName:Index=2]">[Switch.OutgoingName:Index=2]</a>

</p>

</div>

</body>

</html>

lovestjarna
Newbie
Posts: 18
Joined: Mon May 26, 2014 3:50 pm

How to get Checkpoint via mail to work?

Post by lovestjarna »

So there is no automatic check from Switch on the incoming email so that it could move the job to the selected folder?



Thanks for the HTML - Ill try that direct
freddyp
Advanced member
Posts: 413
Joined: Thu Feb 09, 2012 3:53 pm

How to get Checkpoint via mail to work?

Post by freddyp »

Yes there is. The "Checkpoint via mail" element will check the mail account that you configured in that element on a regular basis for incoming mails. There is a property to define the interval when this is done, and all the other properties that you also find in "Receive mail".



Note that this tool is configured separately from the "Receive mail" element and it is also not related to the mail configuration in the Preferences; that one is for outgoing mail.



Freddy
Post Reply