Questions tagged [gmail-imap]

Google mail IMAP interface allows mail clients, and software developers to access google mail using the IMAP standard.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
23 views

How to customize Apache James IMAP server to use remote storage like access data using Rest API

There is requirement to extend Apache James IMAP server to return data from custom storage.
Dev Monsters's user avatar
0 votes
0 answers
17 views

Is there any solution to delete thread mails

Is there any solution to delete thread emails. My solution deletes based on id and it takes time. import imaplib import email from email.header import decode_header user= "xxxxxxx" ...
Ben David's user avatar
1 vote
1 answer
66 views

Sending and reading email using python

I want to send and read emails using Python. For this purpose I used to use SMTP and IMAP. To connect using them I would enabled access to "Less secure app access" then login using username ...
ylj's user avatar
  • 77
0 votes
0 answers
54 views

What are the quota limits for Gmail IMAP read commands?

I've written a simple TCP client that monitors the number of emails I get. I'm refreshing the email inbox using the following command (A100 is just an example unique value): A100 SELECT INBOX Ideally ...
BayanR's user avatar
  • 149
0 votes
0 answers
35 views

How can I send e-mails from my GMail account using REST service?

As of the end of May, 2022, Google no longer allows enabling "Less secure apps". So, I'm not able to use Basic authentication (i.e. user name and password) for sending e-mails using SMTP. ...
AxD's user avatar
  • 2,726
0 votes
0 answers
24 views

Move GMail Mailbox to other provider

I need to first backup and then move a mailbox. Normally i would use OfflineIMAP to download the mails and upload them to the new mailbox. The problem is I won't get OfflineIMAP to authorize. The &...
jerg's user avatar
  • 21
0 votes
0 answers
13 views

Unable to handle errors in PHP IMAP [duplicate]

I am using PHP IMAP library for my gmail account. Its working fine but when app password wrong its giving fatal error and stopping the script. I have tried to try and catch method but no luck. try { ...
Ashok Sinh's user avatar
0 votes
1 answer
60 views

Is there any problem if I send more than 1000 mails from single laptop using different email ID's?

I am planning to send emails to different clients of different businesses using their respective mail IDs using python script and Gmail API. I am a little afraid that Google treats me as a span. ...
Manoj Kamble's user avatar
1 vote
1 answer
64 views

in Gmail how to show the search result of (is:unread label:customer1) in specific Lable

I have explored every available option using filters, but none yielded the desired outcome. Is it possible to accomplish this task using Google Apps Script? My attempts with filters were fruitless due ...
 Maarouf Alsheikh's user avatar
0 votes
0 answers
8 views

I need to send a simple email using gmail as my email server and POCO libraries. My code is currently failing on startTLS a

int SendEtsyEmail() { // SSLInitializer sslInitializer; //std::string smtpServer = "smtp-relay.sendinblue.com"; std::string smtpServer = "smtp.gmail....
scott Dumper's user avatar
0 votes
0 answers
23 views

Missing imap protocol tab within gmail

I am helping my daughter to receive gmails using the Apple mail. Currently, we are not able to set up her gmails through the Apple mail app on her macbook. I went to her gmail settings but her pop/...
Lee G.'s user avatar
  • 1
0 votes
0 answers
58 views

How to resolve the 'connect: 43, could not connect to server' error in libetpan when connecting to different IMAP servers using C?

when I run the imap-sample code of the libetpan library for C which is located in the tests directory of the github of the library https://github.com/dinhvh/libetpan, I get the error: connect: 43 ...
The Kazi's user avatar
0 votes
1 answer
83 views

How do I select a custom gmail label with special characters using imaplib in Python?

I am trying to select one of my Gmail labels called ""📚 Education/Email zum löschen/Emails zum löschen". import imaplib IMAP_SERVER = "imap.gmail.com" EMAIL = "myemail&...
Peter's user avatar
  • 9
1 vote
1 answer
185 views

I cannot authenticate with the email server

I am trying to get a code that I receive when I send a recovery email but I cannot seem to connect with the email server. This is what I have tried using NUnit.Framework; using PSelenium.Extensions; ...
Error's user avatar
  • 11
0 votes
0 answers
77 views

Get unread gmail mails with imap

Hello I'm trying to iplement some basics Google Api features and I get some issues when I try to get the unread messages in the gmail mailbox. Here is my code: require('dotenv').config(); const ...
El Risitas's user avatar
0 votes
1 answer
133 views

I am unable to retrieve gmail emails from any other labels other than inbox/sent/starred using IMAP library python version 3.9.12

I'm unable to retrieve gmail emails from any other labels other than inbox/sent/starred using imap library. I am using 3.9.12 python version. This is working imap.select("Inbox") This ...
Kundan's user avatar
  • 1
0 votes
1 answer
74 views

How to retrieve an original byte from Google Gimap (rather than the replacement character)

I am creating an IMAP client for Google's Gimap service (IMAP4v2 with some extensions). I have a small number of emails for which, the FETCH command is returning the UTF-8 replacement character. ...
Douglas Held's user avatar
  • 1,452
1 vote
0 answers
127 views

Issues with Javamail with Gmail: java.lang.NoSuchMethodError: com.sun.mail.util.TraceInputStream

So I'm automating gmail using JavaMail for Office Framework. When I tried it in my personal project it worked. But it doesn't work when used in Framework. My noob code looks like this: public ...
bitwiseBro's user avatar
0 votes
1 answer
177 views

I want to read my server gmail account email from java application

I need help in understanding the exact path I should follow to solve my problem. I hava a gmail address(I can say this gmail is used by my java application) Whenever a mail comes to this gmail address....
Gulshan Kumar's user avatar
0 votes
0 answers
111 views

Intermittent OAuth Gmail IMAP authentication failure - no response from server

I have a java client using javamail and google example code to connect to gmail IMAP server using a client secret and OAuth token. The issue is that about 1/3 of the time, the com.sun.mail.imap....
linus's user avatar
  • 138
0 votes
1 answer
142 views

How To Delete Multiple Emails From Gmail Using Mailkit?

I am able to delete a single email using Mailkit. But when I am trying to delete multiple emails at a time then I get error "cannot convert from 'System.Collections.Generic.List' to 'MailKit....
Prashant Girase's user avatar
0 votes
0 answers
18 views

I Am Facing an Issue with Google IMAPs

I am working on a project which is capable of sending emails, however, the main function which is to send emails is facing a few issues, I did a few cross references between my coding and my ...
Amir's user avatar
  • 1
0 votes
0 answers
93 views

How can I open Imap mailbox with using special-use mailboxes name?

I'm trying open "Gmail/Sent Mail" (special-use mailboxes name is "\Sent") folder using with imap-simple in NodeJs. In case users localized their mailbox I'm having trouble open ...
omers's user avatar
  • 182
0 votes
1 answer
268 views

How to extract delivery time from an email with Python?

I'm currently trying to automate incoming emails with python. I'm using the IMAP_TOOLS library. I've already managed to get the necessary values, but I need the time when the email response arrived, ...
Paulo Amaral's user avatar
0 votes
2 answers
70 views

How to get while loop to get updated in python

I am using a while loop in python in a project and it's not getting any updates and I have to turn it off and on again. Is there a way to make it update? Here's the code: import imaplib username =&...
Zen35X's user avatar
  • 76
0 votes
0 answers
220 views

How to download attachment from Gmail with specific keyword within subject line and by date

My work requires me to download data (csv file or files) from Gmail every day. I am able to execute the code below for attachment download by email identifier using fetch(), but I want to download ...
user20350073's user avatar
0 votes
0 answers
19 views

where to find the gmail logins events from IMAP?

As we save different types of login events in gmail. so where can we find the imap login events in the gmail. Not able to find it in the audit and investigations tab.
Kiran Ernesto's user avatar
0 votes
1 answer
299 views

MBN00000002 [AUTHENTICATIONFAILED] - authentication error to GMAIL via OAuth2

I need to implement an IMAP or POP3 connection to GMAIL via my application written in C#. For interfacing I use a DLL distributed by https://afterlogic.com/ - MailBee.Net Object DLL. The connection ...
filippocurati's user avatar
0 votes
1 answer
2k views

imaplib.error: b'LOGIN failed' when trying to login using imaplib

I got that error, credentials is ok and was working in the morning. Reset password did not change, logging into OWA works fine, login using imaplib fails with "LOGIN failed" after 1 minute ...
xxxxxx's user avatar
  • 9
0 votes
0 answers
119 views

Python Imap_tools fetch using subject is returning an error

I'm using python imap_tools to login on gmail and download it's attachments from specific emails. It was suposed to fetch by subject and a date, but subject is returning an error. The code works as ...
Sooplis's user avatar
0 votes
0 answers
39 views

Sending Mail in vb.net

Imports System.Net Imports System.Net.Mail Public Class forgetpass Inherits System.Web.UI.Page Dim randomCode As String Public Shared toUser As String Private Sub btnsend_Click(ByVal sender As Object,...
PRAVIN FRANCIS's user avatar
0 votes
0 answers
282 views

how to fix imap in python

a few days ago i'm using a python module to make listing on outlook mail and scraping a specific mail from specific address everything was worked well until last day iam getting error afer few second ...
timo's user avatar
  • 5
0 votes
1 answer
59 views

Connect to gmail account with oauth refresh Token

I want to connect to Gmail API with oauth refresh token, my project has the UserType External and now it is in testing status, so the refresh token is expired after 7 days. I think the scopes needed ...
Isola's user avatar
  • 1
2 votes
1 answer
232 views

Python imaplib to gmail - Fetches only incoming emails

I've a simply python script which basically tries to fetch all the email from a gmail account with the following - not great at all - code: conn = imaplib.IMAP4_SSL('imap.googlemail.com') conn.login(...
user2194805's user avatar
  • 1,201
0 votes
2 answers
814 views

I am not able to read email content using javax mail imap because less secure apps is no longer available now as google declares on 30th May 2022

Error which i faced internal.qaauto.framework.exceptions.EmailDriverException: javax.mail.AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure) at internal.qaauto....
Neha Goyal's user avatar
0 votes
1 answer
633 views

How to connect to gmail server with App passwords via java imap?

I am trying to get emails from my gmail account. But recently my code stop working via the Google disable Less secure App option. I want to use App passwords. But I can't find how I need to update my ...
Igor's user avatar
  • 5
0 votes
1 answer
184 views

Integration with mail and python application raising SMTP error

I am not being able to integrate between gmail and python application. My 2step authentication is on, so I have enabled account access and app password is on, have also enabled IMAP access. Yet I am ...
orchid light's user avatar
1 vote
2 answers
5k views

how i get mails from gmail over imap with python

This is my script, the auth_string is right, i tryed this smtplib.SMTP('smtp.gmail.com:587') and its worked, imap is activ in my gmail settings, and yes, please help me :) def command_to_url(command): ...
Justin Schmitt's user avatar
1 vote
1 answer
206 views

how can I exclude in a thread messages from the trash before they are permanently deleted in 30 days?

a filter puts certain emails in a label then I read them with var folder = "[Gmail]/MAJTableauLR"; var threads = GmailApp.getUserLabelByName(folder).getThreads(); and extract data the ...
ericire's user avatar
  • 409
0 votes
1 answer
151 views

How do we send an SMTP email using AWS from my JAVA (Android studio) app

I suspect it is my transport.connect(HOST, SMTP_USERNAME, SMTP_PASSWORD); line. I think there is no connection established at all. My code currently looks like this: private void sendEmail(String ...
Mleendox's user avatar
1 vote
2 answers
283 views

Unable to save emails in DRAFT folder using Python GMAIL IMAP

I am trying to save multiple emails in my drafts folder so I could review and press the SEND button in my web browser but I seem to be running into multiple issues. I spent about half a day checking ...
Prashanth's user avatar
  • 1,388
0 votes
1 answer
99 views

What orthogonal message properties are available when Outlook client access Gmail server? (AFAICT only Outlook-flag::Gmail-star)

---+ BRIEF: using Outlook 2016 as my email client, connecting to Gmail account Q: what features allow orthogonal properties to be specified independently for messages? AFAICT the only orthogonal ...
Krazy Glew's user avatar
  • 7,220
0 votes
1 answer
434 views

How to fetch messages from specific label(folder) using IMAP in Gmail?

When I list folders I don't have 'snoozed' folder there. I Googled and it seems like 'snoozed' is sort of internal label that is not available through IMAP (is it correct??). So I want to find where '...
mouse_00's user avatar
  • 593
0 votes
1 answer
191 views

C++ imap-utf7 implementation in gmail

I am trying to decode what texts GMails sends, which should be utf7-imap (actually, if I am not mistaking, utf8 encoded inside utf7?) I have read: https://en.wikipedia.org/wiki/UTF-7 I am using: https:...
elcuco's user avatar
  • 8,958
0 votes
1 answer
1k views

PHP is certificate error when using imap open imap.gmail.com:993/imap/ssl

I am trying to use PHP imap to connect to a gmail box. My connection line is: $connection = imap_open('{imap.gmail.com:993/imap/ssl}INBOX', 'username', 'password') It then gives me an error saying: &...
user999684's user avatar
0 votes
0 answers
140 views

Having trouble making IMAP work with a catch-all email

I'm having trouble making IMAP work with a catch-all email. When just attempting to sign in I get this error: imapclient.exceptions.LoginError: b'[AUTHENTICATIONFAILED] Invalid credentials (Failure)' ...
John Hooft's user avatar
2 votes
0 answers
154 views

Forward and reply mail using Gmail API

Is there any way to forward and reply to mail using Gmail API? I haven't found an API for this functionality. I am implementing Gmail API integration using .net core c#. Please help me.
Shraddha's user avatar
0 votes
1 answer
455 views

Sending an email from Ktor server running on VPS

I am trying to send an email from a Ktor application. When the following code is running on localhost it works fine val responseEmail = SimpleEmail() responseEmail.hostName = "smtp....
MC Star's user avatar
  • 18
2 votes
2 answers
944 views

How do I create a draft in Gmail using IMAP using Python

Here is my code: import imaplib import email con = imaplib.IMAP4_SSL('imap.gmail.com') con.login("email@eample.com", "password") con.select("'[Gmail]/Drafts'") con....
Steven's user avatar
  • 21
1 vote
0 answers
79 views

How can i change download location of mRpostman package fetch_attachments() function in R?

In Rstudio if i try library(mRpostman) library(tidyverse) con <- configure_imap( url = "imaps://imap.gmail.com", username = "username@gmail.com", password = "password&...
GZGTE's user avatar
  • 13

1
2 3 4 5
14