email

Problem with SMTP authentication in PHP using PHPMailer, with Pear Mail works

Hi, I´m having trouble sending a e-mail with the PHPMailer class, but it works with PEAR Mail::factory. I guess the problem is with the SMTP authentication, but I couldn´t find the problem. The code with problem is: <?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // set mailer to use SMTP $mail...

PHP Mail Client

I have a need to read the 'body' of the most recent email received using PHP (not interested in sender, etc...), but I am not at all sure how to do this. The mail server uses IMAP http://ryerson.ca/ccs/email/rmail/clients/ConfiguringMozillaThunderbird.pdf <--Uses the same server described here. (This is not for my personal mail, its to...

Reusing a MFMailComposeViewController

I have an app that is built on the TabBar-based app in which I need to have one tab that is basically an email composer. So I'm trying to use a MFMailComposeViewController as one of the tabs. This seems to work fine until I actually go to send an email with the controller. If I do this the MFMailComposeViewController's view disappears...

How to send a MAPI email with an attachment to a fax recipient?

I am using this method to send a MAPI email with a PDF attachment from inside a Delphi application. It brings up an MS Outlook "new message" window with the pdf document already attached, and a blank recipient. If you type in a normal email contact, then it goes through fine. However, if you select a fax recipient, it appears in my "S...

Wanting to email from C# with attachment like MS Word

This is really odd that I can't seem to find out how to do this, so I'm wondering if I'm missing something obvious. I'm wanting to put a menu on our application like is found in Word and Excel, File -> Send To -> Mail Recipient (As Attachment) Our requirements are to create and display the email with the attachment, just like Word and ...

What is the behavior difference between return-path, reply-to and from?

On our mailing application we are sending emails with the following header: FROM: [email protected] TO: [email protected] Return-PATH: [email protected] The problem that we are facing is that some email servers will bounce back a message immediately and use the from or reverse path ([email protected]) instead t...

sending mail works on server but not on my local machine

i have the following code below (i have stuck in xxx to not publish the real name). this code works fine when i upload to the server and will send out emails perfectly. MailMessage msg = new MailMessage(); msg.From = new MailAddress(fromEmailAddress_); msg.To.Add(new MailAddress(toEmailAddress_)); msg.S...

PHP mail cannot show links when sending html mails to thunderbird

Hello. I have this script that works ok. Trouble is that when I make Click here You cannot click the link in Thunderbird mailing program (Mozilla). If I see the source code it is okay. What gives? public function send_mail($email='',$subject='',$text='') { $mail = new PHPMailer(); $db = new Db(); $sql = $db->query("SELECT *...

How to extract mail atachment with PHP?

I'm extracting emails from a database where they're stored as strings. I need to parse these emails to extract their attachments. I guess there must already be some library to do this easily but I can't find any. ...

PHP IMAP Formatting

I have wrote a simple php script which reads an IMAP email account and displays the body of the most recent mail. There is just one problem, it won't keep the new lines properly. It just puts it all on one line. I use imap_fetchbody($conn, $latest, "1"); to read the body of the email. How do I keep the original formatting with all t...

How to accurately parse smtp message status code (DSN)?

RFC1893 claims that status codes will come in the format below you can read more here. But our bounce management system is having a hard time parsing error status code from bounce messages. We are able to get the raw message, but depending on the email server the code will come in different places. Is there any rule on how to parse th...

Personalised bulk email programmatically without timing out

I have a list of around 5,000 to 10,000 (individual user supplied) email addresses from people all over the world, each associated with their username and language codes. I also have a single message translated into the different languages of the users that I want to email. Now, I would like to send a single plain text email to each of t...

How to generate traffic to test a bounce management tool?

What tools are available to generate bounce messages in order to test a bounce management tool? We want to test invalid addresses but we will like to test other error status codes. ...

How to add one-click unsubscribe functionality to email newletters?

I'd like to customize the "unsubscribe" links in our email newsletters so that they remove the recipient with a single click. Right now they just point to a generic page where the user has to enter their email address and select the newsletter from which they'd like to unsubscribe. It seems like this should be pretty straightforward, i...

attaching a text file to an email

I successfully created a txt file (i.e. the file exists and opens), I would like to attach it to an email that I am successfully generating (i.e. the email opens and I can put text into the email etc. and send it). Here is the code I have now for performing the attachment: // Attach a file to the email NSString *path = [self dataFilePa...

What methods are there for having .NET code run and handle e-mails as they arrive?

I've been tasked with creating some sort of service that will take any e-mail sent to an e-mail address and handle the contents of the e-mail (including binary attachments.) I've got full access to the server (Windows Server 2008) that will run this service, and have decided to code the solution using the .NET framework (3.5). Now I'm ...

Simple String Manipulation in VB.NET

This is probably quite a simple question, but I can't remember how to do it off hand. I have an e-mail address of "[email protected]". I want to grab the @ and everything after it and then I'll be adding a prefix to the front of the address as I go. I'm just wonderng how I get hold of the @bar.com from the string? I know I should know how ...

Moving IMAP mail to Gmail and retaining correct times

I am trying to use gmail to manage mail from an email account I have that is imap only. My strategy was to use (getmail to retrieve mail from the server and pass it through to procmail for forwarding. This almost works. It successfully retrieves the mail and forwards it on to my gmail account. What it does not do it keep the appropr...

How can I pass variables from a form within the Wordpress platform?

Hi, I'm building a website using Wordpress. The WP-Events plugin is being used to display a list of upcoming events. What I need is for people to be able to confirm their attendance at any particular event. WP-Events is a bit awkward in that it's customised using a template that is only able to be edited with the Wordpress admin. I...

Access iPhone Mail inbox using native app. Possible?

I was asked to write a native iPhone to provide a filtered view of items in the Mail InBox. For instance, I may want to list out only the emails with text "Mac Tablet Gossip" inside the mail content. However, I don't need (or want) to access the inbox of the mail account, but instead I hope that I can just access the inbox on the device....