imap Questions
6
Solved
I am displaying new email with IMAP, and everything looks fine, except for one message subject shows as:
=?utf-8?Q?Subject?=
How can I fix it?
Reade asked 15/10, 2012 at 20:59
9
How can I delete messages from the mail box? I am using this code, but the letters are not removed. Sorry for my English.
def getimap(self,server,port,login,password):
import imaplib, email
box ...
4
Solved
How do I get the attached file from this email?
This email is sent from an apple computer and the email struture is not like any other (surprise).. here the part with the disposition is one dimens...
Stoneware asked 1/7, 2012 at 20:35
3
Solved
I am trying to get the filename of all the attachements of emails using java and imap.My code is:
MimeMessage msg = (MimeMessage) messages[i];
String fileName = msg.getFileName();
System.out.print...
Marybelle asked 27/5, 2014 at 6:48
8
Solved
I want to be able to move an email in GMail from the inbox to another folder using Python. I am using imaplib and can't figure out how to do it.
2
Solved
I'm trying to move mails to another folder but i can´t find a simple way to check if target folder exists, i presumed that the given folder path is a root folder, i try with this:
public void Move...
1
Solved
Facing connectivity issue with Office365 online with OAuth2.0
I have set up the application permissions and IMAP and SMTP connection.Basic authentication seems to be work fine. I believe IMAP is en...
Scalar asked 3/7, 2020 at 12:14
4
Solved
I read this already and wrote this script to fetch body for emails in some mail box which title begins with '$' and is sent by some sender.
import email, getpass, imaplib, os
detach_dir = "F:\PYT...
1
Solved
I would like to read the complete incoming mail using imap. But imap is only notifying me the number of new mails I have received
imap.on('mail', (number) => {
console.log('got mails', number...
Harr asked 16/6, 2020 at 8:18
3
Solved
When I'm accessing GMail inbox using POP3 protocol, it seems that after fetching given email using RETR command, after QUIT-ting and reconnecting, previously RETR-ieved email is not listed anymore ...
Fountain asked 30/1, 2010 at 21:44
7
Solved
There are lots of people having similar issues but no one is answering their questions. I have IMAP enabled in PHP, Using all the correct information. I don't see where I'm going wrong.
Here's my ...
Depend asked 2/8, 2012 at 6:35
1
Solved
I'm trying to fetch SENT emails from gmail server using nodemailer through Imap.
the solution below is not working and the result is the INBOX not SENT
var imap = new Imap({
user: request.body....
Advocation asked 3/5, 2020 at 21:35
13
Solved
I am trying to access my gmail account through my localhost. However, I am getting the response:
Fatal error: Call to undefined function imap_open()
This is my code:
$hostname = '{imap.gmail....
4
Solved
I'm using an IMAP client in my program. I'm trying to access to Office 365 outlook by IMAP client using OAuth2 mechanism (using these instructions.)
When I authenticate in IMAP client - authentica...
2
Solved
I am using this with Gmail's SMTP server, and I would like to search via IMAP for emails either sent to or received from an address.
This is what I have:
mail = imaplib.IMAP4_SSL('imap.gmail.com'...
3
Solved
Can someone help me customize an existing code sample?
I can see from the following article how to connect to gmail and download content, but I can't figure out how to search for a specific email ...
5
Solved
I am trying to access emails from Gmail accounts through IMAP with the help of the JavaMail API. I was wondering why the code works for one email account but doesn't work for another.
I am able t...
Buttaro asked 13/2, 2012 at 15:53
3
On Gmail adding labels works just fine:
imap.store(item, '+X-GM-LABELS', label)
imap.expunge()
But:
imap.store(item, '-X-GM-LABELS', label)
imap.expunge()
...which is supposed to remove the l...
Corrincorrina asked 23/6, 2013 at 17:44
10
Solved
I'm trying to connect to Gmail through IMAP with PHP running in Apache. This is on an Ubuntu 9.04 system. I've got some sort of PHP configuration issue that is keeping this from working. First, her...
1
Solved
I am using NodeJs together with imap, mailparser and bluebird to read the mail of my gmail account and finally write these to an Azure Database. But this is the first step for me to get a feeling h...
Grandioso asked 23/12, 2019 at 18:13
3
Solved
My application is checking the patterns of the subjects of the mails on the Inbox server folder and if some pattern is found, we should move the email (com.sun.mail.imap.IMAPMessage) to another fol...
Gush asked 22/7, 2014 at 12:57
3
Solved
I'm trying to pull messages from an email server in java using imap and i run into this exception:
DEBUG: JavaMail version 1.4.2
DEBUG: successfully loaded resource: /META-INF/javamail.default.pro...
Petite asked 18/7, 2013 at 0:11
4
The filter mechanism of Thunderbird is nice for simple things.
But I want to do something like
(If message contains xy or sender is yz) and status is read, move to trash
The problem is, one filte...
Bashuk asked 13/1, 2012 at 11:30
3
Solved
import imaplib
def read():
userName = "[email protected]"
password = "xxxx"
name = '[email protected]'
email_ids = [userName]
data = []
imap_server = imaplib.IMAP4_SSL("imap.gmail...
2
Solved
Is there a way to retrieve/search for emails using message ID through python IMAP programmatically.I want to extract attachments of the mail using message ID.
Any help would be much appreciated.
T...
© 2022 - 2024 — McMap. All rights reserved.