gmail

Get contact list from gmail, yahoo, hotmail

…衆ロ難τιáo~ 提交于 2019-12-06 11:01:01
问题 I wish to write an API that can get the contacts list from Gmail, Yahoo and other e-mails. How can this be done? Are there already existing APIs for them or do I need to write PHP code to extract information? I need a referral system like DropBox has. Has anyone coded it themselves or is it available as open source? https://www.dropbox.com/referrals Please guide me in this regard. Any link or explanation will do the job. Thanks :) 回答1: Google has an API: http://code.google.com/intl/en/apis

GMAIL APP -: Google SMTP Error: 454 4.7.0 Too many login attempts, please try again later

十年热恋 提交于 2019-12-06 10:23:50
While it was possible to use Gmail/Google Apps as an SMTP server for scripted use or in any other Apps. I started getting error messages: SMTP Error: 454 4.7.0 Too many login attempts, please try again later. Sometimes you get, sometimes you don't get such error. The issue is because of Google Apps Security. You Can't use same E-mail ID with more than 2 Apps. as Gmail needs to sync it, and it is Obvious to receive such error. Even setting SPF/TXT/DKIM record is not enough for it. So try to use different E-Mail IDs for Different Apps. 来源: https://stackoverflow.com/questions/34921053/gmail-app

Google App Scripts Error Notification on Non-Existent Script

微笑、不失礼 提交于 2019-12-06 10:19:01
How do I turn off alerts that I keep getting for a script that doesn't exist anymore? I created a google apps script to monitor a gmail account, but it didn't work right and I deleted the script. I currently have zero scripts associates with my account, but I still get this email every day: Your script, Gmail Meter, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here. Details: Start Function Error Message Trigger End 1/28/15 1:16 AM

Action Mailer Configuration for Gmail

牧云@^-^@ 提交于 2019-12-06 10:02:59
问题 I'm trying to add e-mail delivery with Gmail SMTP to my app. I've already done the "less secure apps" way before but I don't want to use this option in this project. I've tried to look into Google's documentation or some gem to make it work, but to no avail. Everyone just sends some code (like below, which is usually the same I have) or tells me to try 'less secure app'. My current action mailer configuration on production.rb is: config.action_mailer.perform_caching = false config.action

Remove images from html the same as gmail would do for emails without images enabled

回眸只為那壹抹淺笑 提交于 2019-12-06 09:57:57
I am writing a simple HTML email design editor in PHP and also show a demo of how this will look. I think it would also be very useful to show the user how this will look in an email client such as gmail with images turned off. What is my best approach for this? Anybody know how this is done in gmail/hotmail etc? Do I simple remove img -> src and css background: url with a reg expression? I would like to remove the background parts from: background="url" used in tables and background-image:url(url); used inline css I found this question which has the same kind of idea, although I would like to

What could cause a message sent from Gmail SMTP using C# not to arrive - No exception is thrown

拈花ヽ惹草 提交于 2019-12-06 09:52:34
I am trying to send mail through my Google Apps email account. This is setup on my own domain and is all working fine through the web interface and through outlook. However, i'm trying to send an email from a webpage using C#, I get no exceptions and everything appears to go smoothly, but the emails never seem to arrive: MailMessage msg = new MailMessage("no-reply@xxxx.co.uk", "dan@xxxx.co.uk"); SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587); smtp.DeliveryMethod = SmtpDeliveryMethod.Network; smtp.Credentials = new NetworkCredential("no-reply@xxxx.co.uk", "xxxxxxxxx"); smtp.EnableSsl =

Send IMAP commands to GMail using C#

让人想犯罪 __ 提交于 2019-12-06 09:30:26
问题 I've been trying to access my GMail account to retrieve the unread emails from my email account. However, I only con perform login... Anything after that doesn't work. First of all I connect to the server, then send the login command and finally the examine command. The thing is that the responses that are receive refers only to the connection and to the login. After that, it just stops waiting for someting to read from the StreamReader. try { // create an instance of TcpClient TcpClient

Mac OS X 下用命令行发送邮件

左心房为你撑大大i 提交于 2019-12-06 09:14:19
msmtp 是个 smtp 客户端。如果只是用命令行发送邮件,并不需要能接受邮件,用它正好。用 Sendmail、Postfix 的话,就有些杀鸡用牛刀的感觉,而且它们配置起来真很让人痛苦。 安装 msmtp $ brew install msmtp # 如果没有 brew,请去 http://brew.sh/ 安装下 配置 ~/.mailrc <!-- lang: shell --> set sendmail=/usr/local/bin/msmtp ~/.msmtprc <!-- lang: shell --> # Use an external SMTP server with insecure authentication. # (manually choose an insecure authentication method.) # Note that the password contains blanks. defaults #################################################################### # A sample configuration using Gmail ###################################################################

(perl Net::SMTP) authentication failure using gmail smtp server

≯℡__Kan透↙ 提交于 2019-12-06 09:07:26
I have written a perl script to send email using the gmail's smtp server: smtp.gmail.com - use Net::SMTP; my $smtp = Net::SMTP->new('smtp.gmail.com', Port=> 587, Timeout => 20, Hello=>'user@gmail.com' ); print $smtp->domain,"\n"; $sender = "user@gmail.com"; $password = "mypassword"; $smtp->auth ( $sender, $password ) or die "could not authenticate\n"; $receiver = "user@gmail.com"; $subject = "my custom subject"; $smtp->mail($sender); $smtp->to($receiver); $smtp->data(); $smtp->datasend("To: <$reciever> \n"); $smtp->datasend("From: <$sender> \n"); $smtp->datasend("Content-Type: text/html \n");

Gmail API limitations for getting mails

我与影子孤独终老i 提交于 2019-12-06 08:59:23
As I understand currently google's API provides 10 requests per second to its API ( from their docs ), and it looks to be far from enough for comfortable work with mail. I need to get all emails' headers (or at least senders and recipients). Is there anything better than waiting numberOfMails / 10 seconds? I'm currently accessing API from client side JavaScript application, I'm thinking of distributing API calls for the same user over a number of machines/applications, but's still unclear if their limits apply to gmail user or registered application. Anyway, hope to get some ideas what to do