Good Day.
Is it possible for a chatbot to send an email (or run a script or pageurl that sends an email) invisibly (preferably) to the visitor when reaching some goal?
For example, the visitor asks a callback and after the chatbot receive his phone - this phone must be send to the person who will call the visitor.
Is it possible?
Yes I want to use PHP for this. But how can I send command to PHP file without clicking button and open this file?
Tried this:
<category>
<pattern>TESTSENDPHONE *</pattern>
<template>
SEND PHONE
<oob><url>http://website/send_email.php?message=<star /></url></oob>
</template>
</category>
not work.
Can a chatbot to send data to the Internet (any way - any language)? For example, using Javascript (AJAX), which is already used in chatbot, or any other language (method)?
I wrote a tutorial on something similar here which may help:
https://discover.bot/bot-talk/aiml-tutorial-survey-questions/
To send an email invisibly, you'll need to look at the mail function of PHP. This article should help:
https://tecadmin.net/send-email-using-php-script/
Alternatively, someone should be checking the bot conversation logs to manually pick out such details and contact your customers. You'll see the phone numbers etc in the logs.
Related
I work on an app that uses amazon ses to send email and we cannot figure out how to capture bounce messages (SES treats out of office as a bounce) in a useful way - useful meaning that I can capture the text of the out of office message and use the headers to connect it back to the email we sent that it is related to. I need to capture the text so that I can display the out of office message to users if they want to take action based on the info.
SNS topic notifications don't give you any of the email text. SES email feedback forwarding captures the text but overwrites our replyTo header which means I can't connect it back to anything. The only success I've had is using the "From" header like a replyTo, but this makes for an unattractive and suspicious looking address.
I assume this is possible, but am struggling to find much on the topic which makes me think I'm using the wrong language to look for an answer. Any insight is much appreciated!
My requirement is to get the email ID from the user in qualtrics and to invoke a webservice with email as a param at the end of the registration . The webservice will register the user in my site. Actually i am not getting how to get the piped text code for the email field(I created as a question for email). Also i couldn't see the option of GET/POST in the qualtrics webservice. Can anyone please help me how to generate a piped text code for the email question?
Under web service parameters you would have:
email = ${pipedTextField}
Where pipedTextField would be something like q://QID1/ChoiceTextEntryValue if it was a text question. An easy way to get the correct pipedTextField value is to create a temporary embedded data field and use the drop down to pick the piped text. Then copy that to your web service parameter field.
There is no GET/POST option. All web service calls are GET.
P.S. If my answer to your previous question about Qualtrics web service calls was helpful, please accept it.
I am working on django and sending emails to multiple users at once. in the given scenario it only tells me that if it has sent or not.
I want to display the report of same page that how many emails has sent to user successfully and how many not. more if i want to get details why email has failed to sent.
How would i do such things via SENDGRID APIs.
There are two options that I know of:
Connect to SendGrid Event Webhooks and start parsing events for every email to flag ones that were not sent. I believe you can configure SendGrid to only send certain events, so if you're interested in bounces you don't need to worry about handling all events.
The second option is to use a service like sendwithus which will connect to your SendGrid account on your behalf and track all bounces/opens/clicks for you and provide a simpler API/UI to view the data. I believe they do this via SendGrid's webhooks, so it's effectively the same solution but written for you.
Happy to elaborate on either, I've used both before.
My company is working with the amazon MWS api, and we are receiving a lot of messages from the customers about their orders.
Is there any way to get these messages using the web services and reply to them?
As #joshubrown pointed out correctly, there currently is no API to get customer messages or send replies. You can, however set up a separate mail account for that purpose, which (depending on your own server architecture) gives you a whole set of protocols like POP3, IMAP, SMTP or even MAPI. Regular emails sent to the "scrambled" customer email addresses will be relayed to the consumer and will shown up as replies in your Seller Central.
No, there isn't a public API for that.
How I was planning to do this (in the absence of an API) was to set up the email account (that would receive the emails from customers) such that it pipes the email content into a script. The script would then write the content to the database (or do whatever you want with it).
I'm using qmail for mail, and if you edit the .qmail file within an email account's folder you can set where to pipe the email content eg
| php /pathtoscript/emailHandlingScript.php
Other email systems will have a different syntax for this.
Then in your PHP code (if you're using PHP), you can grab the content from the stdin stream:
$fh = fopen('php://stdin')
I'll probably use PHP's mailparse functions (eg mailparse_msg_parse_file, mailparse_msg_get_part etc) to properly extract the data from the stream.
As #Hazzit points out, when you reply to the anonymised email address (eg qwugwquigduwqgiqwdgiuwqdg#amazon.co.uk), Amazon will pass it on to the customer.
I created users on my account, redirected mails and made a script to read and reply.
How can a Qt C++ app request the OS to send email with a specific subject, body and possibly an attachment(s) files? It should be dispatched using the configured default email client.
It looks like QDesktopServices::openUrl() will accept a mailto: URL. But specifying an attachment could be tricky.
I've written a small component that handles attachments too. It creates a temporary .eml file filled with the content that you provide to the Email class and opens the default email client with openInDefaultProgram(). The API should be self explaining, but if you have any problems, please don't hesitate to contact me :)
https://github.com/picaschaf/qt-email