FAQ Database Discussion Community


How to access Windows Phone folders from a Gmail Wrapper App

windows,webview,windows-runtime,gmail,phone
I have created a Gmail Wrapper Windows Phone 8.1 (WinRT) application using Webview. When I try to compose an Email and try to add attachments, file picker is not displayed and nothing happens. However when I use the Internet Explorer and login to the same Gmail account and click on...

Email not being sent using gmail info

c#,asp.net,gmail
ok, so i have been trying to sort this for about 3 hours but to no avail. I have made a simple contact us form. All it needs to do is send the message to my gmail account. It's not sending anything and neither is it giving any error. I...

Constantly getting an email: Cannot read property “0” from undefined

javascript,google-apps-script,gmail
I am constantly getting emails from "me" with this in it: Cannot read property "0" from undefined. I think it has something to do with Google Apps script because it started when I tried to code something. (for details: I was trying to code a "Contact Us Form" for my...

Emails very delayed getting from mandrill to gmail

email,gmail,mandrill
For the past 4 months we have been seeing large delays when sending emails through mandrill to gmail addresses. Sometimes it takes 15 minutes but other times it can be up to an hour. When i check the mandrill outbound section shortly after the email is sent it shows the...

How to programmatically confirm Gmail autoforwarding verification?

email,gmail,gmail-imap
To manually do this, the user will click the verification link in the email sent by Gmail. I wonder how to easily automate this? Does Google provides an API to do this? And without needing to ask the user's permission first. I know that this is possible since I tried...

Send HTML code to gmail

javascript,jquery,html,email,gmail
I am writing this code so that when someone wants to send an email using Gmail then they can just use the link template and an automatic email is prepared, so the function is: var sendGmail = function(opts){ var str = 'http://mail.google.com/mail/?view=cm&fs=1'+ '&to=' + opts.to + '&su=' + opts.subject +...

Script for Gmail label to Sheets

google-apps-script,gmail
I am trying to make a script that takes an email within a certain label and puts it into google sheets. Im using this function at the moment: function getMessagesWithLabel() { var destArray = new Array(); var threads = GmailApp.getUserLabelByName('Facebook').getThreads(0,10); for(var n in threads){ var msg = threads[n].getMessages(); var destArrayRow...

Edit or forward an existing mail into Gmail Compose Window

url,google-chrome-extension,gmail
I have a Chrome extension which adds new functionalities to the Gmail interface. I'm trying to create email "templates" which have a default header, footer and signature (using html, images & css). I want to open these templates in order to edit and send them, just filling the actual content...

I cannot send mail with SwiftMailer or PHPMailer from Localhost using gmail

email,gmail,localhost,phpmailer,swiftmailer
I have recently been unable to send out mails through php on localhost. I use PHPMailer and SwiftMailer in different parts of the application. With SwiftMailer I get this: Connection could not be established with host smtp.gmail.com [ #0] With PHPMailer, the message is: SMTP Error: Could not connect to...

mail.send() feature in web2py for bounced email/ email address that doesnt exist

python,email,gmail,web2py
So I made a small app that sends emails from web2py, connected to the gmail smtp server. The problem here is that it always gives me a success message! Even when the email-id is invalid. I have tested the bounce back feature of gmail by sending mails from gmail to...

MIME::Lite - Cannot send mail [SMTP auth() command not supported on smtp.gmail.com]

perl,email,smtp,gmail,send
use MIME::Lite; use warnings; use MIME::Base64; use Authen::SASL; use MIME::Lite; use MIME::Base64; use Authen::SASL; use warnings; use Net::SMTP::TLS; use Data::Dumper; use MIME::Lite; $to = '[email protected]'; $cc = '[email protected]'; $from = '[email protected]'; $subject = 'Test Email'; $message = 'email'; $msg = MIME::Lite->new( From => $from, To => $to, Cc =>...

VB.NET SMTP gmail not working

vb.net,smtp,gmail
i keep getting this error message any solutions ? "smtp server requires a secure connection or the client was not authenticated 5.5.1" Public Sub SendCode() GenerateCode() Dim Mail As New MailMessage Dim SMTPServer As New SmtpClient("smtp.gmail.com") Try SMTPServer.Credentials = New _ Net.NetworkCredential("[email protected]", "password") Mail.From = New MailAddress("[email protected]") Mail.To.Add("[email protected]") Mail.Subject =...

Apps Script GmailApp archiving not working

google-apps-script,gmail,gmail-api
I have a function which I wish to tie to a daily time trigger in Google Apps Script. The function is supposed to take all e-mails in my Inbox marked as read that are older than 14 days and archive them. Here is the code, which I got from here...

Permisssion denied while attaching apk file with GMail app android

android,gmail,android-contentprovider,permission-denied,android-permissions
I have a requirement to send a apk file through share Intent and I have also implemented without any hassle. But the problem arises only while sending apk via GMail, I am getting permission denied while i try to attach. I really dont know what is happening with GMail. Kindly...

How can I programmatically determine the time a Gmail label was applied to a message?

gmail,gmail-api
How can I programmatically determine the date/time a message in Gmail had a label applied to it?

Wrong sender mail address

java,email,smtp,gmail
Hi I'm trying to send email, but i constantly get wrong sender email address, it is basically the same address of the account I'm receiving mail. In code and debug looks like I'm sending address OK, but when I receive mail it comes with wrong address. I've tried with several...

Laravel 4 Mail Connection could not be established with host smtp.gmail.org

email,laravel,smtp,gmail
I always getting an error when sending an email. I already openned the open_ssl on php.ini . Currently i am using "guzzlehttp/guzzle": "~4.0" for the mail. Here's my mail.php settings : 'driver' => 'smtp', 'host' => 'smtp.gmail.org', 'port' => 587, 'from' => array('address' => '[email protected]', 'name' => 'tonight'), 'encryption' =>...

how does PHP know the real email of the host or server?

php,email,outlook,gmail
As you know there are a lot of websites (Just search on Google) that will send fake email(!), and sending fake email is really easy (As you know). PHP Example: $to = "[email protected]"; $from = "[email protected]"; $subject = "subject"; $message = "this is the message body"; $headers = "From: $from";...

Is is possible to specify my own Message-Id email header when sending using Mandrill?

node.js,email,gmail,mandrill,messageid
I am sending emails using Mandrill and I want to set the Message-ID myself. I see now an ID like this: Message-Id: <[email protected]1.mandrillapp.com> What I am trying to do is to find out why Gmail does not group messages sent from Mandrill into conversations. Maybe this has to do with...

Gmail API: Get list of messages labelled with a specific label in php

php,email,gmail,google-api-php-client,gmail-api
THE SITUATION I am setting up Gmail API for my app. I need to import all the emails labelled with a specific label, for example TRASH, SPAM, SENT, UNREAD, STARRED etc.. I am able to get the inbox emails list and single message info. And i can get the list...

google-apps-script to edit gmail subject line

paypal,google-apps-script,gmail
Here is the problem, and you can search and find lots of people who complain about it: Let's say you sell something (e.g. run a small business selling on the internet) and you use PayPal to accept payments. PayPal sends every single notification of a payment with the exact same...

Sent emails with Action Mailer

ruby,ruby-on-rails-3,gmail,actionmailer
I am trying to send an email to [email protected] with Action Mailer (Ruby on Rails). The method sendactivation is correctly executed and the message "Email sent" is displayed. However, I never receive any email. Actually, the output "Test" is never printed. My webapp is hosted on Heroku Cedar-10. class UsersController...

Unable to send email using Action Mailer in production

ruby-on-rails,heroku,gmail,actionmailer,mandrill
I'm having some trouble sending email using ActionMailer with Gmail. I've attempted to use Mandrill but it's still not sending. When testing ActionMailer with gmail it works in development only but in production there seems to be an issue. I've tried multiple solutions but nothing seems to be working. I've...

How to real-time monitor the emails?

api,google-apps-script,gmail,quota
Good day! I want to offer the implementation of google apps to my company. Also we have a need to reply on messages, that we recieve through our web-site in 10 minutes time limit. For this purpose our big team of sales managers a handling emails when they have a...

Gmail API PHP Client Library - How do you create a draft email with an attachment using the PHP client library?

php,gmail,gmail-api
I'm using Google's PHP client library to send calls to Gmail's API. Using those resources, I can create draft emails. But I can't for the life of me figure out how to use the client library to create draft emails with attachments. I've been reading everything I can find online...

Connection could not be established with host smtp.gmail.com [Operation timed out #60]

php,laravel,gmail,laravel-5
I can't sent out any email in my local environment. I keep getting : _ .env file. MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 [email protected] MAIL_PASSWORD=***** Note : Surprisingly - I have the same setting in my production server, and it works perfectly. Any hints / suggestions ?...

How does Gmail's inbox show a track order button in the end of a subject line for e-commerce mails

gmail,gmail-api
A track order button is appended to the end of a subject line in Gmail's inbox. How do they do it?

SMTP error while using PHPMailer for gmail even after connecting to gmail SMTP

php,gmail,phpmailer
I am trying to send mails from my "gmail" account using PHPMailer, operating from localhost. I am getting an error like this in my browser: Connection: opening to ssl://smtp.gmail.com:587, timeout=300, options=array () SMTP ERROR: Failed to connect to server: (0) SMTP connect() failed. Mailer Error: SMTP connect() failed The php...

How to check if a Gmail label has a nested sub-label?

google-apps-script,gmail
Using Google Apps Script, is there a function to check if a Gmail label has nested sub-labels? If a label has one or more sub-labels I want to exclude them from a code sequence.

images inside gmail email not being displayed

caching,proxy,gmail
I know gmail and hotmail have introduced their own image proxies. I have sent email with simple img tag with src src="http://www.zong360office.com/assets/images/logo/product-logo.png" and gmail converts it like this src="https://ci3.googleusercontent.com/proxy/PCxvUIqBvaJWn_7H8deiQhdJD1QKV_pU5n1JhrPh3xaXMLMzcdSBYCo6-tjs69AYy858H4j5ShIRjw0UrH_VWMtCxC0zIT-Gi4j_dlQv9uRZjzGWFWA=s0-d-e1-ft#http://www.zong360office.com/assets/images/logo/product-logo.png" Original URL is the direct URL to the image. In the attached image, you can see the request...

What's wrong with my Python attempt at sending mail via SMTP through Gmail? The SSL wrapper doesn't seem to work

python,email,ssl,smtp,gmail
I have the following pretty simple Python code, derived from here: import ssl import base64 from socket import * cc = socket(AF_INET, SOCK_STREAM) cc.connect(("smtp.gmail.com", 587)) cc.send('helo tester.com\r\n') cc.send('starttls\r\n') scc = ssl.wrap_socket(cc, ssl_version=ssl.PROTOCOL_SSLv23) scc.send('AUTH LOGIN\r\n') scc.send(base64.b64encode('myBase64EncodedUsernameAndPassword==')+'\r\n') scc.send However upon running it I get: Traceback (most recent call last): File "Untitled 2.py",...

JavaScript Error - Missing Variable Name [closed]

javascript,google-apps-script,gmail
I am new to coding, and I decided to make a Google apps script to make a new function in my Gmail. What I wanted to create is a script that automatically unstars messages if I was the last to reply. I mainly made the code by copy/pasting pieces of...

Send mail using gmail from php in localhost

php,gmail,phpmailer
im already know how to use phpmailer but i cant send mail wich are using gmail (i have in phpmailer all the configuration done like port, server name, etc) becouse it are using OAuth 2.0 and i already get my clien id an all that but im getting this error:...

Gmail's Unsubscribe Link and Feedback Loop

email,dns,gmail
I want to use Gmail's new feature: Unsubscribe Link and Feedback Loop I add all header but this is not work for me....

How to send to BCC address when using PHPMailer to format MIME message for Gmail API?

php,gmail,phpmailer,mime,bcc
I am using PHPMailer to build an email message. I am using PHPMailer only for MIME message formatting, not sending. I then extract the raw message from the PHPMailer object before passing it on to the Gmail API for processing. //Create a new PHPMailer instance $mail = new PHPMailer; //Tell...

Read emails from pop account

outlook,gmail
I am trying to read my Gmail messages from a client or device that supports POP, like Microsoft Outlook, so I tried to do that, and I used standard configuration instructions, but when I tried to test Account Settings it shows me an error that test message can not be...

Registration of web Application on google developer console

java,api,gmail,google-oauth
Here, are the steps of registration, I have doubts regarding step 3, 4, 5: When you create your application, you register it using the Google Developers Console. Google then provides information you'll need later, such as a client ID and a client secret. Activate the Google Calendar API in the...

PHPMailer not sending e-mail through Gmail, returns blank page

php,email,gmail,phpmailer,send
I am trying to set up a contact form at the bottom of my page. I am using PHPMailer and trying to receive emails at my gmail account. Every time I submit the form, my url changes to url/email.php and I get a blank page. What am I doing wrong?...

Send email from c#

c#,gmail
I installed on a server windows server 2008 service SmarterMail. Configured interface and works perfectly. I created a software in .net c # here's the code: MailMessage mail = new MailMessage(); mail.From = new MailAddress("[email protected]", "Prova"); foreach (string recips in email) { mail.To.Add(recips); } mail.Subject = "PRova"; mail.BodyEncoding = System.Text.Encoding.UTF8;...

Generate and send iCal event to outlook

c#,outlook,gmail,icalendar
Im using DDay.iCal (1.0.2.575, from nuget) to generate a email event. Im using the following code to generate the event: iCalendar iCal = new iCalendar { Method = "PUBLISH", Version = "2.0" }; //REQUEST for update Event calendarEvent = iCal.Create<Event>(); calendarEvent.Summary = "Test"; calendarEvent.Start = new iCalDateTime(new DateTime(2015, 7, 1,...

How to send mail with Python

python,python-3.x,gmail
I am trying to send a simple mail with python import smtplib server = smtplib.SMTP('smtp.gmail.com', 587) server.ehlo() server.starttls() server.login("[email protected]", "mypassword") msg = "Hello world" server.sendmail("[email protected]", "[email protected]", msg) server.quit() But I get this err: server.login("[email protected]", "psw") File "C:\Python\lib\smtplib.py", line 652, in login raise SMTPAuthenticationError(code, resp) smtplib.SMTPAuthenticationError: (534, b'5.7.14...

Gmail as JavaMail SMTP server

java,email,smtp,gmail
I have been working with the JavaMail API with Gmail as my host and have a general understanding of how it can be used to send emails. But there are two lines of code that still confuse me. message.setFrom(new InternetAddress(USERNAME)); API says that this is used to "Set the "From"...

How to change the subject info of gmail into chinese character?

php,gmail,imap
I got a string =?GB2312?B?zbO8xtGnu/m0ocq10bXP7sS/?= with $overview[0]->subject; in imap_fetch_overview function . How to change the subject info of gmail into chinese character?...

Advanced gmail search for received emails only

email,google-api,gmail,gmail-api,incoming-mail
I'm using the Google gmail API to get emails from peoples gmail account. I filter for emails containing the word "CompanyName" which have a pdf as an attachment. using the following search query: CompanyName filename:pdf. I now want to further specify this by only getting emails that were received, instead...

Email piping gmail and outlook replied mail

php,email,outlook,gmail
How to fetch the text content of replied mail from gmail and outlook without original message and mail provided automated text Like OUTLOOK: From: [email protected] To: [email protected] Subject: test reply Date: Thu, 21 May 2015 05:34:42 +0000 GMAIL: On 20 May 2015 at 17:52, New User wrote: Also remove user...

How can I decode the content of the email?

email,gmail,gmail-api
I have received an email: Dear xxx, Thank you. You have just ordered the ultimate treat for your taste buds. Your yummy, lip smacking delight is being prepared with utmost love and attention at your own neighbouring Pizza Hut – Bengaluru - Airport Road.... but when I say "show original"...

How to disable mail modification in iOS Gmail app

ios,css,mobile,gmail,media-queries
The question is: is a possible to disable gmail app on iOS modification to screen fit. Any media-queries or style changes not working. This feature is crashing my mails and i need to fix this somehow. Can any body help?

PHPMailer using gmail

php,email,gmail
I'm trying to send emails using PHPMailer and Gmail. It worked fine on PHP 5.5 but when I updated to php 5.6 I get this error (tls on port 587): stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed If I try using ssl on...

How to automatically get new mails from gmail account using java?

java,email,gmail
I know my question is more likely to be discussed rather than really answered (because it's very large), but I need some elements and "advices" to really get started, sorry for that. So I've got a java program which has to analyse some URLs, I've finished this part. For the...

Whenever i try for gmail login integration in app every time i run it shows same error [closed]

java,android,gmail,gmail-api
Whenever i try for gmail login integration in app every time i run it shows same error "Unable to execute dex: Java heap space" and "Conversion to Dalvik format failed: Unable to execute dex: Java heap space" and asks "Do you want to exit workbench" Please provide me some solution.Thanks...

Why does Gmail change id elements of some elements?

html,selenium,gmail
This is an element from Gmail, exactly the "Compose" button. Look the id, it is ":il" when i don't have unread messages. <div id=":il" class="aic"> <div class="z0"> <div class="T-I J-J5-Ji T-I-KE L3" tabindex="0" role="button" style="-moz-user-select: none;" gh="cm">COMPOSE</div> </div> </div> Now I just sent an email to myself, and log off...

Sending email with google SMTP in .NET

c#,.net,email,gmail
I'm trying to send a couple of emails using google SMTP server. I've been researching how to and have found plenty of articles on stackoverflow and other resources where people successfuly send email - I haven't been able to do so. Here's the code I've been using trying to contact...

Sending E-Mail from contact form with the visitors sender address

php,email,gmail
I've built a contact form in which a sites visitor enters a message, subject and his own email address. The email then is sent to a fixed gmail address. I'd like the receiver of the mail to be able to just click on answering in order to respond. Therefore I...

Reading email from gmail is not working

java,email,gmail,javamail
I am using Java Mail API along with the following code to read email from my gmail account. import java.util.Properties; import javax.mail.Folder; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.NoSuchProviderException; import javax.mail.Session; import javax.mail.Store; public class CheckMails { public static void check(String host, String storeType, String user, String password) { try {...

ActionMailer not sending email

ruby-on-rails,ruby,ruby-on-rails-4,gmail,actionmailer
I'm trying to create an mailer in my rails application. I believe I have everything configured correctly but I am not receiving the email. app/lib/tasks/email/daily_summary.rake namespace :email do desc 'Send Daily Summary Email' task :send_daily_summary, [] => :environment do DailyMailer.summary_email(ENV['GROUP_MAIL_ADDRESS']) end end app/views/daily_mailer/summary_email.html.erb <% if @new_apps.count >= 1 %> <h1>...

Gmail API: Insufficient Permission

php,email,google-api,gmail,gmail-api
THE SITUATION: I am testing the Gmail API for my app. I have tested some requests and they are working fine. For example get messages, get user history, get draft list etc.. Basically all the read only requests are working fine. I have instead some issues related with permission with...

Import email Subject into a Google spreadsheet using sample code

google-apps-script,gmail
I'm trying to make code work that I found on a Stackoverflow post @Serge insas posted the following code function getMessagesWithLabel() { var destArray = new Array(); var threads = GmailApp.getUserLabelByName('Facebook').getThreads(1,10); for(var n in threads){ var msg = threads[n].getMessages(); var destArrayRow = new Array(); destArrayRow.push('thread has '+threads[n].getMessageCount()+' messages'); for(var m...

javamail-1.4.5 error at parsing gmail message received via imap

java,gmail,javamail,imap
I'm using javamail-1.4.5 for getting messages from gmail (imap). If Content-Disposition has an unquoted parameters, method getDisposition fails. message part: Content-Transfer-Encoding: 7bit Content-Type: message/rfc822 Content-Disposition: attachment; creation-date=Wed, 11 Feb 2015 10:23:48 GMT; modification-date=Wed, 11 Feb 2015 10:23:48 GMT exception: javax.mail.internet.ParseException: Expected ';', got "," at javax.mail.internet.ParameterList.<init>(ParameterList.java:289) at...

gmail messages with same subject - delete all but most recent

javascript,email,gmail
I am looking for a script that will process Gmail messages with the same subject, e.g. "Alert from XYZ", by deleting all but the most recent. Normally, Gmail will thread emails of the same subject and sender, but these alert emails I get do not work that way. For as...

My email is not sent when use gmail smtp server?

email,smtp,gmail
I am using gmail smtp server on my website to send email when users register but currently I can not send emails all information is correct. How can I fix this issue? I am using php mailer function send() { $mail = new PHPMailer(); $mail->CharSet = 'UTF-8'; $mail->IsSMTP(); $mail->SMTPAuth =...

Copy/paste table into gmail

r,gmail,rstudio
This is probably an easy answer, but I can't find anything online about it. Is there an easy way to copy/paste a table from the R console to an email message?

Connection Error STMP python

python,smtp,gmail
I've been using python for a bit now and have been using the email function without any errors in the past but on the latest program I have made I've been getting this error: Traceback (most recent call last): File "daemon.py", line 62, in <module> scraper.run() File "c:\cfsresd\scraper.py", line 48,...

How to copy email from Gmail to my server using PHP IMAP?

php,gmail,imap
How can I copy email from Gmail to my server's /home/email directory after connecting to a Gmail mailbox using PHP's IMAP functionality? I want to retrieve every email as a file in MIME format and I want to download the complete MIME file with PHP, not just the body or...

Lravel Mail not sending — Connection could not be established with host smtp.gmail.com [Connection timed out #110]

php,email,laravel-4,gmail
I just developed a laravel web application with mail system. i got error like Connection could not be established with host smtp.gmail.com [Connection timed out #110] controller Mail::send('timesheet/emailtemplate',array('data'=>$query),function($message) { $message->to('[email protected]')->cc('[email protected]')->subject('Work Report on - '); }); email template file : emailtemplate.blade.php <h2>hai</h2> mail.php (config) 'driver' => 'smtp', 'host' => 'smtp.gmail.com', 'port'...

Invoice Receipts in Gmail for Answers In Search

gmail,google-schemas
I was creating code at google scripts https://goo.gl/pKUc7D to test order / invoice reciept markup from Google's own documentation at https://developers.google.com/gmail/markup/reference/order It did not work. I could be missing something? The structured data testing tool gave me green checks for everything in the script textarea. I'm going to github the...

PHP IMAP - Can't identify boxes

php,gmail,imap,imap-open
I'm creating a PHP application to save in my database all the email messages from an email account. When I connect to a gmail account and use the imap_list() function, I get these boxes: array { [0]=> "{imap.gmail.com:993/ssl}INBOX" [1]=> "{imap.gmail.com:993/ssl}[Gmail]/Caixote do Lixo" [2]=> "{imap.gmail.com:993/ssl}[Gmail]/Com estrela" [3]=> "{imap.gmail.com:993/ssl}[Gmail]/Correio enviado" [4]=> "{imap.gmail.com:993/ssl}[Gmail]/Importante"...

Gamil logged me in when i give my email address without dot or with dot?

gmail
i don't know whether to ask this question in stack overflow is appropriate or not. I am sorry if the question not fulfilling the rules. My Google mail account is [email protected] My question is that before login when i am entering the mail address without the dot mean like this...

Which heroku email add-ons support gmail?

ruby-on-rails,email,heroku,smtp,gmail
I am trying to send emails from my app. I have tried sendgrid before but for some reason it was not sending email for gmail. Here is my configuration. config.app_domain = 'unstarv.herokuapp.com' # Email config.action_mailer.delivery_method = :smtp config.action_mailer.perform_deliveries = true config.action_mailer.default_url_options = { host: config.app_domain } config.action_mailer.smtp_settings = { address:...

php - Gmail doesn't accept emails that contains links

php,email,gmail,phpmailer
I am using PHPmailer to send emails that contain activation codes to the people who have signed up on my website. Everything worked fine with Yahoo! but not with Gmail. There is no errors in my PHP script. Everything looked okay. I tried to remove all the links from the...

Sending email Intent with EXTRA_STREAM crashes with GMail

android,email,gmail,send,email-attachments
I'm trying to send an email from my app with attachment. When the chooser pops up, if I tap on GMail, GMail crashes; if I tap on the default email client of my device, it works perfectly. The attachment is a jpeg taken from the external sd.Here the code: filelocation...

Gmail unsubscribe link does not appear

email,gmail,unsubscribe
In Gmail when you have an email from a newslist, you get a 'unsubscribe' link next to the email address, like this: Google+ <[email protected]> Unsubscribe There is header named List-Unsubscribe: which identifies the url or email. In gmail I can see original of email to see headers: Received-SPF: pass (google.com:...

Add self signed certificate using PHPMailer on Gmail account

php,gmail,phpmailer
Is it possible to use self signed or dedicated certificates on a Gmail account with the library PHPMailer? How to do this? And is this a secure option?

Gmail atom feed stopped working lately?

python,gmail,feed,atom
I have always used the following python 2.7.8 script to visualize the feed of my Gmail inbox. Lately, like a week ago or less, it stopped working and now returns HTTPError: HTTP Error 401: Unauthorized without me having modified it in any way. import urllib2 user='validusernamehere' passwd='validpasswordhere' auth_handler = urllib2.HTTPBasicAuthHandler()...

SendEmail script Google spreadsheets - multiple options

google-apps-script,google-spreadsheet,gmail
I'm trying to send out an email from google spreadsheets with multiple options: if I type first attachments and then htlmBody in the code, like below, the email goes out with the correct body content and structure but the two attachments don't appear MailApp.sendEmail(recipient, subject,{attachments:[blob,blob1]} ,{htmlBody:html}); While if I type...

Why does receiving a Mandrill email take so long (sometimes)?

email,smtp,gmail,email-integration,mandrill
I use Mandrill for sending emails via SMTP, however, sometimes it can take a long time, as in 30-60minutes, before I receive my email. If I look into the Outbound-list, it lists my emails as 'delivered', yet I often have to wait quite a bit before I actually see it...

Simulate click on GMail div button with JS

javascript,click,gmail,simulate
I want to simulate click on GMail COMPOSE button using JS without JQuery. Here is button: <div class="T-I J-J5-Ji T-I-KE L3" role="button" tabindex="0" gh="cm" style="-webkit-user-select: none;">COMPOSE</div> Here is my js: var element = document.getElementsByClassName('T-I-KE')[0]; element.click(); Result:undefined in all browsers Image: http://i.imgur.com/4IX9DZX.png Already tried that: var event = document.createEvent("MouseEvent"); event.initEvent("click",true,true); var...

Get “From” and “To” addresses with Gmail API

php,email,gmail,gmail-api
I use Gmail API for retrieving messages from Gmail account and storing them in my DB. I want to store To/From email addresses for each message. Each message contains headers array and within this array there are two fields like "From" and "To". However they also contain contact name, not...

Check if email is hosted by gmail in PHP [closed]

php,gmail
I need to check if given email if hosted by google.com or googlemail.com Right now I check if it ends on @gmail.com or @googlemail.com, but this method doesn't work for all the emails, since google provides it's functionality for external services, and their emails can end on something like @abc.edu...

error no 10061 in django when sending mail

python,html,django,gmail,sendmail
I already use 10061 server. My code is like, setting.py: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' views.py: def trying(request): message = request.POST.get('message', '') if message: try: send_mail("Testing", message, "[email protected]",['[email protected]']) except BadHeaderError: return HttpResponse('Invalid header found.') return HttpResponse('Send Successfully...1') else: # In reality we'd use a form class # to get proper validation errors....

Modifying a draft without downloading attachments

gmail,gmail-api
I have a draft saved on my Gmail account, containing an attachment. At a later stage, I realise that I have to add some text to the mail, via the Gmail API. At an even later stage, I decide to send the draft. From what I've found, the only way...

Error on sending email using gmail. The SMTP server requires a secure connection or the client was not authenticated

c#,.net,email,smtp,gmail
Here is my code. var smtp = new SmtpClient("smtp.gmail.com", 587) { EnableSsl = true, DeliveryMethod = SmtpDeliveryMethod.Network, UseDefaultCredentials = false, Credentials = new NetworkCredential("[email protected]","123") }; try { smtp.Send("[email protected]", "[email protected]", "test", "testbody"); } catch (SmtpException e) { ltrInfo.Text=e.Message; } When I debug the code, I get the error "The SMTP server...