Click to See Complete Forum and Search --> : TFmail:Auto response
PittsburghRed
01-29-2007, 07:49 AM
These questions are buried in another thread and are unlikely to be noticed, so I am repeating here. I recently installed nms TFmail form on my website and it is working fine. BUT ...
No spam since I imposed the captcha. But another question .. actually two since you (Watts) seem familiar with TFmail.
When the email form results are returned, there appears at the bottom:"submit.x:53" and "submit.y:12" ... the actual numbers are different each time. What is this? Where did it come from? Why needed? Can I eliminate?
I would like to send a letter of welcome to the user via email as I did on the previous membership form. How to do it? Simply putting in some lines of sendmail code does not work ...TFmail is object oriented??? By the way, I hate perl.
PS I have asked these same questions on the nms support page but no response.:confused:
Charles
01-29-2007, 08:00 AM
Can I eliminate?That's more of a problem for you doctor and not something that we need to discuss here.
Those coordinates reflect where on the image the user clicked so that you can use the image as an image map should you choose.
How are you dealing with the humans incorrectly identified and non-human by your CAPTCHA?
PittsburghRed
01-29-2007, 08:20 AM
Aha... I see. And if I use the CAPTCHA as an image map, those coordinates will not appear? I'll try it.
I am assuming that only humans will read and enter the correct password that allows the php script to deliver the form. I should do something else?
And ...what is a "problem" for me? My dislike of perl? Or getting an auto-response to work? This forum has always been a tremendous help to me with many speedy replies and suggestions ... but with an occasional insult. Am I too sensitive?
Charles
01-29-2007, 08:55 AM
You've completely misread everything that I typed above. But do read http://www.w3.org/TR/turingtest/ .
Watts
01-29-2007, 01:30 PM
Charles was joking with you regarding "can I eliminate?" (as a bodily function). The issues with captcha is that programs can OCR the images and therefore defeat the purpose, and those with visual impairments (and I imagine other handicaps) can have trouble or be totally blocked from accessing your site. It's something you have to weigh. There are some alternatives such as providing other means (in addition or as opposed to captcha) for those with accessibility issues.
PittsburghRed
01-29-2007, 03:02 PM
I see ...a joke ... heehee.. I guess I don't have the current sense of humor. I didn't laugh in "Borat" either. Yes, I understand the handicap issue. My website is aimed at teachers and most of them are able bodied. And Charles, I will read. I can be very dense.
PittsburghRed
01-30-2007, 07:59 AM
The submit x/y are the coordinates of the SUBMIT BUTTON on the form? They have nothing to do with the captcha image which is on another page entirely.
TFmail is collecting the form input; why print out the coordinates of the users' click on the submit button? Charles ... what image did you have in mind that I can use as an image map? And I visited the link.
Watts ...TFmail is not your ordinary perl script; it seems to make use of object orientation and I'm not familiar with that aspect of perl, although I have a passable knowledge of java. Maybe I'll give up for now and do without an auto-response letter.
PittsburghRed
01-31-2007, 05:23 PM
Charles, Watts...
I have studied the script. TFmail provides a mechanism for email auto-confrmation. It works just like the Thank You page and Oops (missing fields.) These last two are presented through two template files which I replaced with my own versions. So ... what I need is a confirmation template which will be invoked by settings in the configuration file: confirmation_template, confirmation_subject, confirmation_email_from. I set these.
The error message was for incorrect syntax in the welcome template. The former two templates simply sent HTML immediately back to the user. Another template sends the form email back to us:
%% NMS email template file %%
NAPTA Membership Application {= by_submitter =}on {= date =}.
----------------------------------------------------------------------
{= FOREACH input_field =}
{= name =}: {= value =}
{= END =}
----------------------------------------------------------------------
What I need is a template that will designate the text of the welcome letter. The settings in the configuration file will take care of the actual sending details. So...what on earth do I insert in the template to have the actual text of the letter sent? For testing I'm just trying to send a single sentence. But I have no idea what syntax to wrap it in. Hence the error... What do you think?