Send Output result via gmail - selenium

Can someone please help me with the commands that send the output result to gmail account ?
I want to send the result "false" via gmail for e.g.
Best regards

Related

Mail Notification using Selenium

I have a doubt like ... Can we use mails in automation(selenium).For ex, I am submitting a form , can we use selenium
- to send email
- to verify whether email has been received by that recepient and can we process that through selenium
I have read like we should not automate with gmail as per aggreement.I am not sure about this .
It's possible. You can use Java Mail API to achieve this.
Otherwise use public email systems like Mailinator. By using the API, we can fetch email content. Please read API docs for more info.
Similar question asked before.

How to know if user has seen a message sent by my bot in Telegram?

I'm developing a Telegram bot, and I want to know whether a user, that has started a private chat with my bot, has seen a certain message sent by bot, and to know when has he seen it.
Is it possible to do so?
Thank you very much.
That's currently not possible.
I'm using this solution.
Create a channel specially for your bot
Let your robot send message from this channel to users, you can use forward method.
Now you can see how many users have seen your message
Telegram Bot API has limit functionality. There is absolutely no way to get message view count at the time of this comment.
Usually TDLib can be used instead of Telegram Bot. It is Telegram client library. You can use it directly or make it as services for BOT to call.
For example. use TdApi.GetMessage to get the message, and the returned message has field of interactionInfo which contains forwardCount or viewCount.
perhaps this answer help you :
in the end of your message place
link example : yoursite.com\checkvisit.php?id=1234
when user open message link automatic run for telegram ...
you can understand message was read
you must in checkvisit.php set to check db if id exist and not read set it to read
then id in db remove or disable
but this method simple - telegram must add 1 parameter to return this
sorry my english not good
it is not possible yet , you might want to search for Madeline bot

How do I forward gmail raw email to a web service?

I want to forward the raw email from my gmail to, say,
POST www.mywebsite.com/api/something?email={raw-email}
I feel like there ought to be an easy way to do this.. but my searches have turned up nothing. We'd prefer to use gmail, but if you know how I can do this with any mail server, that's helpful too.
Thanks!

PHP script to send and retrive sms from a website

I'm not sure where to begin, but got a case I need help from others where and if possible to solve.
Thing is, got a new alarm system at home, this system uses sms function so I can send a short code to my alarm asking for status if it`s ON or OFF, or i can turn it on/off from an sms.
Since both the sms number and code is strictly personal, I would not like to tell my carpenter the codes, but in the mean while he is working at my home, I can give him a login to my site, where he can see if the alarm is turned on or even turn it on/off by him self.
I would like to build me a website, that does the same.
Got a login to my site, when logged in, i would like the website to send an sms automatically, then retrieve the answer and display it on the website.
Is this even possible ? If so, anyone can past me in the right direction here ?
Thanks in advance =)
You can send an SMS from a website. Most mobile operators will gladly offer you an apropriate API.
For instance Deutsche Telekom has an API called "Developer Garden" that allows you to send SMS via a WebService and much more.
see here for an example: www.developergarden.com
Other providers may also offer such services.
you need an sms gateway ( we use these guys : http://inteltech.com.au/, but nearly any will do )
Your easiest option is to find one where you can insert SMS'es for sending via a URL, eg in our case the URL looks like this:
http://inteltech.com.au/secure-api/send.single.php?username=[user]&key=[longcode]&method=http&senderid=[id]&sms=[phonenumber]&message=[here's the message]
it's extremely simple to use. If your site handles the login otherwise, then you can use this for the rest.
Now, how to receive SMS'es is a bit tricker :)
But this provider, for example, offers you options to;
Send the reply as an email to a nominated email address.
Send the reply as an email to the original user who sent the message.
Send the reply as an SMS to a nominated mobile number.
POST the reply to your website or application . e.g. We can call a http/https request to your script
as you can see, both the email and the POST options are providing great ways to integrate.
I'd say if you don't handle incoming email already, then stick to the POST method.
voila :)

Record confirmation email

Using Selenium IDE(HTML), I'm recording an registering under one website, and a confirmation email will be sent when the sign up is successful.
This confirmation message will be sent to my gmail. I was recording to check in my gmail using Selenium-Ide but I can't record.So I want to know how to record in gmail using selenium?
Well where is the email going?
Gmail?
Yahoo?
Some other web page?
The above four questions is important! Because, let's say you want to check confirmation email to your gmail if so you need to go to gmail url and you need to record Login and assert things.
I will be show you a example with gmail.
I want to check in my gmail if so
command open
Target https://mail.google.com/
this one need to add to your test. Because of you need to go to new page so you need to use open command.
Have a look at PutsBox. You can send an email to whatever-you-want#putsbox.com, wait for a few seconds (SMTP stuff ins't instantaneous) then check your email via http://preview.putsbox.com/p/whatever-you-want/last.
This post tutorial shows some examples.