email

How can I send mail from an iPhone application

Hi All, Good morning, Can anybody help me out in following problem: I want to send an Email from my iPhone application. I have heard about the fact that iPhone SDK doesn't have any mailing API to send mail. In this case, what are the different ways to achieve this facility. But i don't want to use the following code because it will ex...

Fire an event when email is received

I'm trying to write something that puts the contents of the message on a queue, to have work done on it later. I've been messing around with IMAP IDLE with varying degrees of success. I was wondering if anyone knows of a method to have a mail server receive an email, and then perform an action like posting the contents of the email to a...

Are there any options for secure email?

Are there any good and easy to use options for sending secure email? Why is this not commonplace? ...

Sending e-mail out of client application without storing password

My Aim: Sending an email (e.g. support request, error report) out of a C# Windows forms application. I know how do do this technically but here is the catch: In order to authenticate myself on the mail server (e.g. gmx, yahoo, own website) I need to store the login details inside the application (which runs on the client system). If som...

Properly formatted example for Python iMAP email access?

tldr: Can someone show me how to properly format this Python iMAP example so it works? from http://www.python.org/doc/2.5.2/lib/imap4-example.html " import getpass, imaplib M = imaplib.IMAP4() M.login(getpass.getuser(), getpass.getpass()) M.select() typ, data = M.search(None, 'ALL') for num in data[0].split(): typ, data = M.fetc...

Building a Pop3 email client (web based)

Hi, I need to build a web based email client (asp.net) I'll be using a 3rd party library for pop3/smtp/mime/etc. What challenges do you guys think there will be during development? (I don't want to overlook major components) It seems pretty straight forward, the only thing I am weary of is spam management. I am planning on using bay...

How do I skip processing the attachments of an email which is an attachment of a different email.

using jython I have a situation where emails come in with different attachments. Certain file types I process others I ignore and dont write to file. I am caught in a rather nasty situation, because sometimes people send an email as an attachment, and that attached email has legal attachments. What I want to do is skip that attached e...

email.retr retrieves strange =20 characters when the email body has chinese characters in it.

self.logger.info(msg) popinstance=poplib.POP3(self.account[0]) self.logger.info(popinstance.getwelcome()) popinstance.user(self.account[1]) popinstance.pass_(self.account[2]) try: (numMsgs, totalSize)=popinstance.stat() self.logger.info("POP contains " + str(numMsgs) + " emails") for thisNu...

HTML Email delivered as an attachment as well as the body!?

Hi, I have a piece of code which sends e-mails using a third party e-mail sending component. When the e-mails are delivered, the HTML which should be appearing in the body of the e-mail is also being added as an attachment with the filename ATT00001. I suspect the attachment is being created by the receiving e-mail server (which in th...

How do I use an email template txt file and retain formatting?

I'm using a preformatted text file as a template for emails. The file has line breaks where I want them. I'd like to use this template to send a plain text email, but when I do I'm losing all formatting. Line breaks are stripped. How do I parse this file and retain line breaks? I don't want to use a <pre> tag because I want to send plai...

EMail from ASP .NET

I have used the smtp class to send emails through code. Can I use the classes in the .net framework to display emails received on a page without having to use something like exchange sdk? How would I go about using gmail pop and smtp server information in .net web apps (with the .net classes) to send and receive email? ...

Reading email from a mail file

I have a huge number of mail archives that I want to de-duplicate and sort out. The archives are either in mbox format or contain a single mail message. To add a bit of complication, some of the files have windows EOL sequences, and some have the unix EOL. Using C#. how do I read an archive and split it into its individual messages, or r...

How to send html email to outlook from Java

I'm trying to send an email in html format using JavaMail but it always seems to only display as a text email in Outlook. Here is my code: try { Properties props = System.getProperties(); props.put("mail.smtp.host", mailserver); props.put("mail.smtp.from", fromEmail); props.put("mail.smtp.auth", authentication); p...

How does Gmail recognize email signatures (alternatively, "What's the best way to recognize email signatures?")

Gmail automatically greys text that looks like a signature. Anyone have any guesses how it does this? (I've noticed that it depends on the presence of the sender's name, but I think that's only part of the story). I ask because I'm working on a web application that has an email interface, and I'd like to remove users' signatures before ...

How do I determine if an email is Base64 encoded?

I am having difficulty determining if the body of a text email message is base64 encoded. if it is then use this line of code; making use of jython 2.2.1 dirty=base64.decodestring(dirty) else continue as normal. This is the code I have atm. What line of code will allow me to extract this from the email: "Content-Transfer-Encoding...

Accessing local mailbox using PHP on a shared hosting Linux account (GoDaddy)

Hey All, I guess it should be a common technique, However, I tried the following two options: 1) Using my existing POP3 PHP client to access my local mail account. I am getting a "could not connect". Same code works if I run it with my localhost connecting to GoDaddy's pop3 server 2) Parsing the local mbox file - I can't figure out if...

Protect Email on Web Site From Robots and Crawlers

Closed as duplicate of http://stackoverflow.com/questions/308772/what-are-some-ways-to-protect-emails-on-websites-from-spambots I am finally puting up my personal web site. I want to publish a webmaster/feedback email on every page, but I am concerned about SPAM crawlers extracting the email address and bombarding me. This is especia...

PHPMailer error(s)

function register_contact ($person = array()) { $nogood = false; foreach ($person as $val) { if (strlen($val)==0) { $nogood = true; $status = "There was an error sending the registration please fill in all fields"; } } if (!$nogood) { require_once("class.phpmailer.php"); $message = "New request for Fox In Touch Recipie...

Best method to write an email poller..

I am working on an email polling solution, for a multi-user system. So users can send emails on their respective ids and it would be polled and inserted to a db. There are two options that I am considering: Perl/Unix based email pollers.. A java based poller. What would you recommend.. (other suggestions are also welcome) ...

How do I handle Microsoft outlook winmail.dat? Any other surprises?

Hi guys Ive decided that I really dont like microsoft and their ways. Please could you give me directions on how to handle winmail.dat in emails, is there a jython library or a java library that will allow me to handle this. Ive just completed a email processing program, written in jython 2.2.1 on java 5. During the final load test, I ...