good day
i'm working on project wich interact with imap server and have trouble:
in ssl mode i try receive message (only headers) (about 4000). It is take a lot of time on slow connection.
About 5 minutes process OK, and on 5 minutes (+-10 second) i catch exception:
An unhandled exception of type 'System.IO.IOException' occurred in Sy...
I am using this library IMAPX to get emails.
I also need to send emails but cannot figure out how.
I tried using the example code:
client.Folders["INBOX"].AppendMessage(msg)
but receive an error that AppendMessage requires two arguments and I cannot figure out what the second argument should be.
Is it possible to send an email with...
Hi guys, I'm working with zend framework and recently had terrible issue swith my code. Actually I'm developing a webfront for emails and users enter their mail server details and are able to check on their email via my system.
The issue is that whenever I would try to connect to a mailserver my system just dies out sometimes and instea...
imap_last_error() gives a string return in PHP when an error has occured.
I'd like to capture these so I can pass them to my app and act upon them. Problem is, it doesn't give a error code, additionally I can't find all the possible errors of which may appear.
Does anyone know where I can discover these? Currently I know
'Unknown Erro...
Hi guys, I'm looking for an open source imap library which I can use to help in building my front for the webmail. My current code uses the zend framework but its too slow and memory intensive that I'm forced to look for other options.
I would like a library that is:
Lightweight
Regularly maintained
Allows for download and parsing of...
I am using IMAP protocol to connet to my gmail account.
My application fails at this line.
message.setFlag(Flags.Flag.SEEN, true);
And the log details are as follows:
[java] ---- exception report ----------------------------------------------------------
[java] An error Occured while reading mail
[java] Exception: javax.mail.Messagi...
Hello,
I used the imap4flag plugin for Dovecot sieve: http://wiki.dovecot.org/LDA/Sieve#Flagging_or_Highlighting_your_mail
The flag is correctly show in thunderbird but I search how get the flags for show them in roundcube.
Thank's in advance.
...
I have been trying to write an app that periodically parses the contents of gmail messages. I have been through the JavaMail FAQ and I have looked at a number of examples in the JavaMail download package but have been unable to get this to work. The code below currently causes the following gmail error:
Host is unresolved: imaps.gma...
A forum-like app I'm working on will send an email notification to the thread starter when a new replied is received. It would be nice if the owner can just reply the email to add a new reply to the thread.
How can I implement the feature, i.e. "reply to this email to comment" like Facebook?
Option A: scan the subject line/body? I don...
I'm trying to have an email-processing Java application move all processed mails from an IMAP inbox to a subfolder. If that subfolder does not exist, it should create it. This last bit is what doesn't work.
The code snippet is:
private void _backupMessage(Message msg, Folder folder, String sBackupFolderName) throws MessagingException
{...
Ruby Net::IMAP library provides a good API for IMAP stuff (http://railsapi.com/doc/ruby-v1.8/classes/Net/IMAP.html). There are two methods related to closing the IMAP connection: logout() and disconnect(). In which turn are they supposed to be called?
...
I was using the code,
<?php
$mbox = imap_open("https://myserver.in", "[email protected]", "123456", OP_HALFOPEN)
or die("can't connect: " . imap_last_error());
$list = imap_getmailboxes($mbox, "https://myserver.in", "*");
if (is_array($list)) {
foreach ($list as $key => $val) {
echo "($key) ";
echo imap_utf7_decode($va...
Some of the mails contents fetched from imap server looks like =C3=B6=C3=BC=C3=B6=C3=BC=C3=B6=C3=BC= what kind of encoding is this? Mail header encoding is UTF-8 but decoding with UTF-8 i got scrambled msg.
Any help is much appreciated.
...
I'm trying to build an email message parser for our site. What I'm eventually going to do is iterate through the messages that have attachments and save the attachment if the message comes from a particular email address.
This is just the initial test, however, I am running into problems, see comments below.
<?php
echo "Loading..."...
Through the imap_* functions of php i'm trying to store the attachments of the emails on my server.
I want to store the contents ($c, string) of the file with filename($f) in a sub-directory named with a thread id ($thread). m_attpath is a defined constant pointing absolute to the base folder.
if(!is_dir(m_attpath.$thread)){
...
I have java web application to which I'd like to add emailing capabilities, however, I'm unsure what is needed to accomplish this. Specifically I want my app to be able to:
Send emails confirming sign-up
Allow users to send emails to one another, using my app's domain i.e. [email protected]
From my research it seems I'll need a mail tra...
Hi!
PHP provides very useful functions to fetch emails from a POP3 account, in my case to handle bounce-mails. The function imap_fetchstructure(), however, gives me headache. When using it in one script, I (for some mails) get the message:
Notice: Unknown: Warning: MIME header
encountered in non-MIME message
(errflg=3) in Unknow...
I'm looking at installing atmail as a replacement to my home-grown system for internal member-to-member emails on my website.
Currently, these messages are kept in mysql.
All of the IMAP servers I've come across keep emails on the filesystem, I'm guessing there are allot of good reasons that there are not many implementations using mys...
Each message that I am downloading is quite large. However, I am only interested in the JSON MIMETYPE. Is there a way to specify to the server that I am would only like to download the JSON part of the message? I have looked into the FetchProfile settings, but it does not seem to support this.
...
Neither poplib or imaplib seem to offer proxy support and I couldn't find much info about it despite my google-fu attempts.
I'm using python to fetch emails from various imap/pop enabled servers and need to be able to do it through proxies.
Ideally, I'd like to be able to do it in python directly but using a wrapper (external program/s...