Gmail provide a pop service where users can get access to their email. Questions in this tag relate to issues with this service
Questions tagged [gmail-pop]
40 questions
4
votes
3 answers
Counting the number of Emails in the Gmail INBOX
This is the code that counts the number of mails in the gmail inbox.
Properties props = new Properties();
props.put("mail.pop3.host" , "pop.gmail.com");
props.put("mail.pop3.user" , "username");
props.put("mail.pop3.socketFactory" , 995…

Suhail Gupta
- 22,386
- 64
- 200
- 328
4
votes
1 answer
Connecting to gmail pop server by Windows command line
I'm using command line on Windows 7 or Windows Command Processor. I'm trying to connect to gmail pop server (pop.gmail.com) on port 995 because that is what I have seen on other Web sites. I want at least to get an "+OK Hello there" message. This is…

JJDA
- 70
- 1
- 1
- 5
3
votes
0 answers
Gmail warning: the domain not encrypted this message
When I send messages from my server using SMTP Gmail always gets a message with little red lock (left near the senders email) with a message "The domain not encrypted this message".
I send emails via Outlook 2016, using SMTP authentication. pop…

MrJustin
- 65
- 5
3
votes
1 answer
gmail reply to not working with javamail: cannot set reply
I can send mails with gmail with javamail
But i cannot set the reply to anyhow...
the code i m using is...
//the actual mail id someone@gmail.com
ccAddress = new InternetAddress( "someone+something@gmail.com");
…

Pradyut Bhattacharya
- 5,440
- 13
- 53
- 83
3
votes
1 answer
Gmail Imap vs Pop3 when using JavaMail API
I am trying to fetch unread mail from the INBOX from a gmail account. I wrote a small demo program and found that Gmail's pop3 behaves unexpectedly in a number of situations
When you try to get a list of available folders, Pop3 returns just the…

Tapan Nallan
- 1,762
- 3
- 17
- 37
2
votes
3 answers
Unable to send e-mail through Java
After going through post provided for the same problem, I have written the following code. But I am getting the following exception :
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587;
nested exception is:…

user1043422
- 23
- 1
- 3
2
votes
1 answer
GMail access in Firefox Extension
I am creating a widget based application in which I need to create a widget for GMail. This application uses xulrunner based technology stack. Major features required in this widget are:
1. List of mails
2. Read/Delete/Mark/Reply/Compose a mail.
I…

vikas
- 1,535
- 1
- 13
- 22
2
votes
4 answers
Why do i get this exception?
This method gives the number of emails in the inbox.But it gives me this exception :
javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.ConnectException: Connection timed out: connecterror
-
Session session =…

saplingPro
- 20,769
- 53
- 137
- 195
2
votes
1 answer
JavaMail - Cannot folder.open()
As the title says, when attempting to do folder.open() it fails, doesn't throw an error though so it is proving hard to find a reason. In my debug console the following error does appear but it may/may not be related (This only shows up after…

Rhys12341111
- 302
- 2
- 4
- 9
2
votes
1 answer
Gmail API to retrieve POP Accounts Email Address
Is there an api to get the pop accounts in gmail that are configured. To manage pop account settings i found api in admin-sdk api but i could not found the api to retrieve the pop accounts email address in gmail API.

pavan kumar
- 335
- 3
- 14
2
votes
2 answers
POP3 conversation with gmail and node.js
I am trying to write a simple POP3 client for gmail in node.js. I initially wrote one where I enter the POP3 commands and they get sent to the server, and the server responds. This works fine because I can wait for the server's response before…

tutiplain
- 1,427
- 4
- 19
- 37
2
votes
3 answers
Google Apps Script to import .eml into my Gmail Inbox
I have several hundred .eml files in GDrive that I would like to import into my Gmail as emails. Can anyone suggest a Google Apps Script that will let me do this? I am fairly proficient in Google Apps Script, I just need some hints as to how to…

Saqib Ali
- 3,953
- 10
- 55
- 100
1
vote
1 answer
How to programatically get ALL (read and unread) messages from gmail, read status, etc?
I have a customer service web app requirement, which requires that I work pull & integrate data from Gmail, eBay, Amazon, and Paypal. My solution is going to be developed in ASP.Net 4 with C#.
The issue that I'm running into is that my client needs…

Brandon Osborne
- 835
- 1
- 12
- 26
1
vote
2 answers
Reading mails from gmail account in asp.net
i want to read the mails from gmail account.. i tried to login.. and was successfull.. but unable to get the mails from the inbox..
below is the code i used for logging in...
try
{
TcpClient tcpclient = new TcpClient(); //…

Abbas
- 4,948
- 31
- 95
- 161
1
vote
0 answers
Python: Connecting to gmail server using poplib giving error
I am trying to connect to gmail server using POP protocol using poplib library.
it fails to connect with error:socket.gaierror: [Errno -2] Name or service not known
I have network access from the machine i am running my script.
import…

Pradeep
- 1,057
- 2
- 9
- 17