email

Does your email client let you add custom headers programmatically?

I'm working on an anti-spam project (centmail) that involves having the sender use a client plugin that adds a custom header (as well as a signature, but that part's easier). The general problem is to add an email header to your outgoing mail where the contents of the header field is determined dynamically for each message. Surprisingl...

list of email addresses that can be used to test a javascript validation script.

Does anyone have a list of email addresses that I can use to test my JS address validation script? I'm looking for as complete of a list as is reasonable to test the most common edge cases, if not all cases. ...

Mail merge in C# with n copies

I just want to create a C# program which will read a word template and create n number of copies of it with mail merge feature.The data to replace is Name and Address the rest of the things in the template should remains the same. Can any one tell me how to do this ? ...

Outlook/Exchange - how to programmatically export users in distribution list?

How do I export all of the names and email addresses from a distribution list in Outlook using code? I have access to an Outlook 2000 or Outlook 2007 client. Ideally I would like the code to be in C#. ...

HTML email problem in Apple Mail - link displayed below image

I am having the following problem with an HTML email I created with inline images in Apple Mail. It works fine in all web based clients and Outlook, but ends up with the following problem. The link that is shown is around the image before the link. The email is made up of 5 images and 2 links; both links display like this. (The other ...

How to Send Encrypted Emails Programmatically (from an automated process)

I have a process that runs on a UNIX (Solaris) server that runs nightly and needs to be able to send out encrypted emails. I only need the "encryption" portion, NOT the digital signature / self-repudiation part of PKI. I use MS Outlook in a corporate setting and I am assuming that when a user clicks "Publish to GAL..." under Tools -> O...

Sending email in Java

I have read that to send email in Java I need to obtain my ISP's SMTP address, but if I am intending to host my web app online, will this be my hosts ISP SMTP address? EDIT: So I need to find out my clients ISP's SMTP address and send via this? ...

Creating c# invite for Blackberry

I need to create an email in C# that is sent to a blackberry (or outlook) and recognized as an invite. For now I create an email with inclusion of a text.ics attachment so that in outlook, the user can click on the attachment and add it to his calendar, that work. The problem is that it's not recognized as an invite in outlook invite ema...

Security risk in exposing email addresses and usernames?

Joomla has a built-in function on its login screen "I've forgotten my user name", so that you can type in your email address and the username is sent to you via email. I was thinking of changing it so that the username was displayed on screen immediately, without any form of authentication. This would greatly reduce the friction for our...

Is .NET MailMessage class injection-safe?

I wonder if MailMessage class is protected from e-mail injection. For example, should I check values before passing them to its constructor: MailMessage message = new MailMessage(fromTextBox.Text, toTextBox.Text); ...

concatenating many email files with unix utils

I would like to know if there is any easy way to print multiple emails(about 200) so that they continue on as opposed to printing one per page. I have tried with thunderbird and evolution and this does not seem possible. Would concatenating the individual mail files work or are there other unix utilities that could do this? WOuld sed or ...

Reading Email without outlook app open

Hi, Thats what I am using to read email using C#: outLookApp.NewMailEx += new ApplicationEvents_11_NewMailExEventHandler(outLookApp_NewMailEx); Outlook.NameSpace olNameSpace = outLookApp.GetNamespace("mapi"); olNameSpace.Logon("xxxx", "xxxxx", false, true); Outlook.MAPIFolder oInbox = olNameSpace.GetDefaul...

Sending Mail via SMTP in C# using BCC without TO

I am trying to use the System.Net.Mail.MailMessage class in C# to create an email that is sent to a list of email addresses all via BCC. I do not want to include a TO address, but it seems that I must because I get an exception if I use an empty string for the "TO" address in the MailMessage constructor. The error states that "TO" must n...

PhpMailer vs. Swiftmailer?

I'm building a fairly simple php script that will need to send some emails with attachments. I've found these 2 libraries to do this. Does either one have significant advantages over the other? Or should I just pick one at random and be done with it? ...

Video in email?

We often send emails in HTML for clients (Dont like it but not my choice) Does anyone have any info or a link on support for the dynscrc attribute or img in email clients? ...

How do I email Active Directory distribution groups from a c# web application?

I'm trying to send email to Active Directory distribution groups. I know you can send mail using something like: mail.From = new MailAddress("[email protected]"); mail.To.Add("[email protected]"); //set the content mail.Subject = "This is an email"; mail.Body = "this is a sample body with html in it."; mail.IsBodyHtml = tr...

PHP Form not showing up in recipient's mailbox

Form does not go to recipient when submitted! I changed the file mail.tpl.txt to direct to my own email address as a test and I got the email just fine. Client has checked junk mail folder as well and he is just not getting information. Below is the form code, followed by the code from mail.tpl.txt and then the form's index.php code. ...

Building a bulk mail sender

Hi, I want to build an application that will allow my customers to send marketing information by e-mail. This will be a carefully monitored tool used for legitimate bulk mailing only. It's going to have all of the necessary 'unsubscribe' functionality etc. The solution will be built using VB.NET. My question relates to the best way to...

What are some ways to protect emails on websites from spambots?

I'm creating a public internet facing website which contains the email address of their salespeople. What kind of programming options do I have to generate the "mailto" and display the email from that address but limit the spambots from picking up the address? ...

Java Transport.send() is it thread-safe?

The method is static, but I cannot find mention of if it is thread-safe or not. I plan on hitting this method with several threads at once and I would like to avoid a synchronized block if possible. javax.mail.Transport.send(msg); ...