Reading outlook popup email - python

In a website I am testing using python, we have a "contact us" button,
that should pop up an outlook email window ready to be sent.
Its body should contain a certain text.
Users should have outlook installed.
I want 3 things, but dont know how:
To wait for the outlook email window to pop up
Read the content
Close the email window
Read about win32com.client, but not sure how
to use it in this case

Related

Use the fingerprint browser and Python Selenium to register a Discord account, the account is disabled

I use Python Selenium proxy ip, the fingerprint browser is adspower and I want to automate the creation of Discord account, when I use Selenium to complete the first registration page to fill in the email, password and other information and click the submit button, the robot verification code behind, and the mobile phone number are all filled in manually by myself. But when I reached the last step of verifying my email, I was forced to log out as soon as I logged in, indicating that the account was unavailable, why is this?
I tried changing the proxy IP using a different country's mobile number. I use ActionChains, but I get that the account is disabled, I don't know what happened?
I hope that the Discord account that I can register through the code will not be disabled

Python Telegram Bot open URL/join another Telegram Group after pressing telegram.KeyoardButton

do someone know if there is a way to open a URL when someone write /start or some command.
I already tried with requests, but it hasnt worked.
Thanks!
You can redirect users to other groups/chats by providing them with an invite link or the username of the group/channel in the #username format. If you want that to happen on the press of a button, you can use InlineKeyboardButton by passing the invite link directly to the button, i.e. InlineKeyboardButton(text='some_text', url='http://t.me/…'). The URL will open (i.e. redirect the user to the target chat), when the button is clicked.

Recieving emails from my website through flask?

I have an email form on my webpage where the goal is for users to be able to send my account an email. They give me their email but is there a way to send a message from their email to my email without their password. All i'm seeing online is code to send out emails through flask not recieve. What work arounds do you guys suggest where I can have users send me an email through my website.
I am pretty sure that this is not possible.
Otherwise you would have "access" on their account and could write mails to everyone you want.
A solution would be to save the message in the database and if you need it, you can send the message to you, with all the needed information, by your own mail adresse (like AKA commented).

Can I fit my selenium script into python gui application?

Suppose I want to make automation software for GMAIL using selenium in Python
I have made email id textbox , password textbox, from ,to,subject,body text box and send button . if i am clicking on send button it should fetch data from text boxes and process auto login and send mail to the respective person..
Is it possible to do that using selenium and tkinter in Python? please tell me.

How can I see emails sent with Python's smtplib in my Outlook Sent Items folder?

I am using hosted exchange Microsoft Office 365 email and I have a Python script that sends email with smtplib. It is working very well. But there is one issue, how can I get the emails to show up in my Outlook Sent Items?
You can send a copy of that email to yourself, with some header that tag the email was sent by yourself, then get another script (using IMAP library maybe) to move the email to the Outlook Sent folder

Categories

Resources