Hi Lutz, I agree completely - having the short message pop up is good instant feedback. And although the email is sent immediately, you never know if it might be delayed or blocked. I've made this argument with the customer, but I didn't think of the possibility of delayed or blocked email, which will undoubtedly happen.
In this case, the some of the recipients are going to be getting a lot of these emails, and are looking for minimizing the actions they need to take. We can't stop the web page from coming up, but we can start out by having it stay open, and let the user close it. We can give the users the option to have it automatically close after N seconds in the future (assuming window.close() or similar works going forward). It can also remind them to watch for the email and make sure it isn't caught in their spam folder. A good 2 cents! - Jim On Fri, Jul 21, 2017 at 3:30 AM, Epperlein, Lutz (agendo) via 4D_Tech < [email protected]> wrote: > Hi Jim, > > Sorry if this this is not a very helpful answer for you, but .. > > I think it isn't a very good idea to have a button (in an email or > whatever) the user have to press and nothing happens immediately. Some > seconds, minutes, hours later the user gets the answer, usually he doesn't > realize what's going on, I think. And opening and closing a browser window > immediately maybe will lead to calls to the IT department: "I think my > workstation is infected" > > A suggestion: The browser window will open with a short message, informing > the user that he will get an acknowledgment email later. The email is for > the records and contains additional information. > > But maybe I'm totally wrong with these advices because I don't know your > exact use case, the context and so on ... So these are only my 2 cents > > Regards > Lutz > > > > -----Original Message----- > > From: 4D_Tech [mailto:[email protected]] On Behalf Of Jim > Hays via > > 4D_Tech > > Sent: Thursday, July 20, 2017 8:33 PM > > To: 4D iNug Technical <[email protected]> > > Cc: Jim Hays <[email protected]> > > Subject: Put a button in an email that won't open a web page > > > > TL;DR: > > > > Click a button in a typical marketing email. It always opens a web page. > > Is there any way to have the button click send a message to a (web) > server > > without having a web page open? > > > > > > Details: > > > > Send an email with a button in it. > > The recipient clicks the button to confirm an agreement. > > The 4D Server then sends a followup email indicating the confirmation is > > received. > > > > The email is in HTML format. > > The button has an href that points back to the 4D web server. > > 4D server sends the confirmation received email. > > > > That's all working nicely. > > > > Our href looks like this: > > http://10.0.0.8:8080/confirm?539D36962A0A45478F0538EE894A4D > 5358CBB76FAED5 > > 9F44B32DEEA97B22F3B4 > > " > > > > Because we are doing a simple web call, the user's default browser opens > up > > with a web page. > > This is what we are trying to avoid. > > > > As far as I know, stuffing javascript into an html email is a big no-no. > > (We don't know what mail client the recipient will use.) > > > > > > Bonus if you read this far - some cool HTML email tools! > > https://mjml.io > > markup language to generate compatible html mail > > > > https://litmus.com > > test html in up to 70 mail clients > > > > > > Thanks for any ideas! > > > > Jim Hays > > ********************************************************************** > > 4D Internet Users Group (4D iNUG) > > FAQ: http://lists.4d.com/faqnug.html > > Archive: http://lists.4d.com/archives.html > > Options: http://lists.4d.com/mailman/options/4d_tech > > Unsub: mailto:[email protected] > > ********************************************************************** > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

