email

What is the easiest way for a Java application to receive incoming email?

Sending email is easy with commons-email, and with spring it is even easier. What about receiving incoming email? Are there easy to use APIs that allow to bounce emails, process attachments, etc. ...

Is it possible / recommendable sending HTML emails containing Javascript?

This is mostly a rhetorical question, as far as I've checked the answer is 'don't even bother', but I wanted to be really sure. We have an email app, where you can send email to lists of subscribers. This is not spam: it's used, for example, by an university to send communications to its students, by a museum to send emails to subscribe...

System.Net.Mail AlternateViews losing plain text data

I am trying to send an email with a plain text body and an alternate html body. However, when I snoop the data going over the network the text portion of the email is lost. Here is a sample of my coding attempts. private static MailMessage BuildEmail(string plainText, string htmlBody) { // Add the alternate body to the message. Conte...

Weird problem with PHP mail() under Linux.

This is the case when it "works on my machine". Except that my machine is Windows, and the target is some sort of Linux. The idea is that the mail() function puts a newline between the MIME-Version and Content-Type headers, thus breaking the whole thing. Here's the code, simpliefied as much as possible: <?php $HTMLPart = chunk_split(...

How to check if an email address exists without sending an email?

I have come across this PHP code to check email address using SMTP without sending an email. Has anyone tried anything similar or does it work for you? Can you tell if an email customer / user enters is correct & exists? Thanks! ...

Automated mailing list - PHP

i have an application on my site where people can sign up to receive newsletters, and then someone in a paid group can write and send one immediately to everybody who signed up... ...meaning that i need an efficient way to loop through my database of subscribers and mail them copies of the email using php. clearly, there is the mail() ...

Complete Mail header - php

I need a set of mail headers to attach to my mail() function in PHP. I send emails with HTML in them, and sometimes clients like Yahoo block them. Therefore I need to make sure that I am at least providing the right headers. My code: // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $h...

How can I save an email instead of sending when using SmtpClient?

I am using SmtpClient to send an email with an attachment. However for a certain batch we need to somehow save the MailMessage instead of sending them. We are then thinking/hoping to manually upload the messages to the users drafts folder. Is it possible to save these messages with the attachment intact (impossible, I would have thought...

Font in Html mail

Using MailMessage email = new MailMessage();email.IsBodyHtml = true; Is it possible to set the font for the message? Also, maybe it's a quirk but p and br tags come out the same for me? Is this normal? Thanks, ...

How do I select the next message outside of a selection in Mail using Applescript?

I wrote a short Applescript to move the selected messages to the relevant archive for that mailbox. However when it runs there is no longer a selection. (If I then press up or down, it selects either the first or last message in the entire mailbox). I can't work out how to select the next message outside of the current selection using...

Problem in PHP mail

Dear All I am sending Reply Mail using PHP Those Who sended Mail to me. My Problem is When I send email It sits in SPAM folder .What to do inorder to deliver mail correctly.Any Idea or any change procedure? My Code. <?php $email_id="[email protected]"; $recipient = "@gmail.com"; //recipient $mail_body =...

Is it possible to use SmtpClient.DeliveryMethod = SmtpDeliveryMethod.SpecifiedPickupDirectory on Development Server?

I do not have access to an IIS development server -- only the production one. So, for my development, I have to use the ASP.NET Development Server thats built into Visual Studio. I get Failure to send message when I have the SMTP client configured this way. SmtpClient.Host = "localhost"; SmtpClient.DeliveryMethod = SmtpDeliveryMethod....

Regex Email - Ignore leading and trailing spaces?

We are using the following to do an email validation in ASP.NET: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* How can this be modified to ignore leading and trailing spaces? The actual trimming we handle in code on postback but the validator is triggering as being invalid if the user has an extra space often due to copying and paste....

Hosted Email for Rails App

I'm looking for an alternative to Google Apps for sending email from my rails app. (Google limits the number of messages you can send). Do most people roll their own, or is their a preferred provider? I'd love to be able to dynamically create addresses for my customers: [email protected] ...

How do i create an email contact form for my website

I'm looking to create a form on my website where users can enter their email address and a message (however long). Then upon clicking on a submit button, the code, sends the message as an email to my mailbox. I was wondering if someone knew what code i could use. I am using PHP as my server-side language. ...

PHP Send email over SSH

Hello We have a website that emails the contents of a contact form to our client. We would like to change this to make it a bit more secure (sensitive data can be sent over the contact form), we have encrypted the page with an SSL certificate so the only weak link we have at the moment is the email. We already have an SSH connection se...

How to parse emails and transfer to DB

Hey there, I have seen some web apps that allow me to email stuff to a special ID and it magically turns up in my account. How exactly do they do this? ...

Is there a way to decode html e-mails?

I am writing support software and I figured for highlighting stuff it would be great to have HTML support. Looking at Outlooks "HTML" I want to crawl up into the fetal position and cry! Is there a php class to unscramble HTML emails to support basic HTML? I don't want to display the E-Mails in a frame because I want to work with the da...

Joomla 1.5: why does trying to send email result in: PHPMAILER_RECIPIENTS_FAILED

Hi, I'm trying to send emails from Joomla! 1.5.9, but keep getting this error message: PHPMAILER_RECIPIENTS_FAILED*recipient_name*<*recipient_email*> A few more facts: It's a WAMP server (joomla 1.5.9, PHP 5.2.8) Validation emails are sent with no problem at all Joomla! is set to use SMTP The IIS SMTP service is used (though I'm not ...

Obtain user activity data in emails after I programmatically mail out emails

If I were to build a newsletter emailing system, I will need to be able to generate reports on how many emails bounced, flagged as spam, unsubscribed, read vs. unread, click through rates etc.... So how do you keep track of user activity after the email has been sent? Am I right in assuming that you CAN NOT embed javascript code into e...