V
V
Vladislav2017-05-23 16:25:48
Email
Vladislav, 2017-05-23 16:25:48

What are the ways to send notifications from the site?

A poll (limesurvey) is placed on shared hosting with php support, at the end of which a person is asked for contact information (name, mail, phone number). I would like to send this data (and a couple of other answers from the survey) to myself immediately. Limesurvey can collect them into one long line of text, but not transfer them somewhere.
As an option, I would like to place a js script on the last screen that will send this data from the user's browser to some third-party service.
This is not necessary for mailings to those who responded (the recipient is one, conditional me, and will not change), namely, to notify that there is a new answer. The best option is sending by e-mail, a little worse - to a messenger like telegramm or via SMS.
I would not want to change the poll code (it will be difficult to explain how to update it later), putting a php file and accessing it is quite acceptable (but this needs protection from possible spam and I have no ideas at all here). php sendmail on the hosting seems to be prohibited, sending letters from yourself to yourself via smtp is an acceptable option.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Gadzhiev, 2017-05-23
@Sabin

so he himself answered: let the script send to the mail =)

I
Ivan, 2017-05-24
@trak_ivan

sendmessage and do everything for the created bot, where is the ID of the person to whom you are sending

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question