I want to login in gmail account automatically. Then want to create a mail through contents of a text file. Then select Email addresses from Database one by one and send mail through GMail account and everything should be absolutely automatic.
I mean. I have a list of thousands of emails and I want to send all of them a personalized mail through GMail account. But I don't want to create 500 mails per day manually. I want to do this thing automatically. So I think, I should create a system which have following Algorithm.
1 Automatically login to GMail account.
2 Automatically compose a new mail.
3 Automatically select an email address from my database.
4 Automatically Paste content in composing mail.
5 Automatically click on the send button to send the mail
6 Again automatically follow steps 2 to 6 until all emails are not sent.
I can do all these things if I can control the Web Browser because without controlling the browser, I can't do all these things. I want to know, How can I achieve this and through which language?
Automated testing tools can do the trick. Try WatIn. WebLoad could also work. You can automate access to a site and the clicks with it. You should be able to leverage that to send out your emails.
Related
I've seen that html in emails can be a bit problematic because because the suport is not great, if I need to send emails for account confirmations, password changes etc, I need to be sure that the recipient sees the email correctly, are there any tags that are supported by the most email providers ?
Can I reliably use anchor tags, and style them inline, should I just send users emails with the confirmation link and tell them to copy paste it?
you can check it by copy-paste your web view in to different email service provider. Steps:
Open your email HTML in any browser.
press 'CTRL+A' and 'CTRL+C' or right click and copy option
Go to any Email service provider then got to COMPOSE
Paste your code.
It will give you view how it will see in email service provider. Do it with every email service provider.
Hope this will help :)
How do I schedule a task to generate a weekly report in ServiceNow and send as an email.
I want the same report to be sent to my SharePoint site automatically every week. How to integrate it ? Please help.
You should be able to setup Incoming email on a Document Library in SharePoint and email a scheduled report to it from ServiceNow.
This also depends on ServiceNow being able to send email to this address.
You may need ServiceNow to have a VPN to your network with SharePoint, and you need Incoming email to be configured on your SharePoint install.
If those are working, you can do something like the following.
SharePoint
Create a Document Library
Go to Library Settings
Open Incoming E-Mail Settings
Change Allow this document library to receive e-mail? to Yes
Give this an E-mail address: reports#mysharepoint.com
SharePoint Security
Consider how ServiceNow is sending email to you. If email is sent via their mail servers, you may need to set incoming email option
E-mail security policy to Accept e-mail messages from any sender
In this case, be mindful of what email can be delivered to your network. This may allow unwanted emails coming in.
If ServiceNow uses your mail servers, you may be able to grant access to the Document Library for the user that is delivering your email. If so you may be able to set this
E-mail security policy to Accept e-mail messages based on document library permissions
This is much more secure, but these things always depend on your environment and your needs.
ServiceNow
Go to Reports > View / Run
Open the report to be delivered
Click the dropdown on the Save button
Choose Schedule
Fill out the Schedule form
Click the Users lock
In Enter email address put in the email to send to the Document Library (ex: reports#mysharepoint.com)
Run: Weekly
Choose the Day of the week and the Time
Subject: My report
Right click the header and choose Save
Test this by clicking Execute Now within the Scheduled Report
Let's suppose I want to create a tracking time web app and one of the features allows the user to track the time spent sending mails. So, when receiving or sending an email, there would be an option for indicating how long it took the user to send or read that email. Then, from the website of my web app (mytrackingtimeapp.com), the users could create custom charts and reports for listing, for example, all the emails that took him more than 10 minutes to read and were sent in June.
If I had in a database of mine all the emails, this would be as simple as create a column for each email storing that value.
So my question is: would it be possible with the current Gmail API do so?
Is there a way to open the GMail mail editor populated with some data (subject, part of the body, recipients) from a script ? A script that is activated by a button or a menu item in the GMail UI.
I need this to:
automate some manual task
and to mimic email templates
I do not want to send the email from the script, I want the user to complete and review the email before sending.
Thanks !
Would it be okay if a user has to click a link?
http://www.askdavetaylor.com/can_i_have_a_mailto_link_specify_a_subject_and_body.html
This works for me, but I have Gmail handling mailto: links.
An alternate implementation would be to display a UI to the user showing the email preview, asking for a confirmation, then, upon confirmation, to send the email on behalf of the user. The drawback to this approach is that if the user needs to edit the email before sending, you will need to provide a UI with edit capabilities.
Another approach would be to create a draft email using Apps Script that the user can find in the UI, edit, and send.
I am creating a application with mail sending functionality. I am sending mail using MFMailComposeViewController. What I want to do is if there are multiple Mail accounts configured on user device then before sending mail it should ask for the sender email account. That from which user wants to send mail.
Is there any way to do this or this is provided by default. I am working on simulator so can't test right now.
Thanks,
First you need to set multiple accounts in your mail app. If you have multiple accounts there than while presenting MFMailComposer View there in from field it will allow you to choose your mail account from which you want to send mail. Its a default behaviour of Mail Composer.
Hope this helps :)