email

Why are people using regexp for email and other complex validation?

There are a number of email regexp questions popping up here, and I'm honestly baffled why people are using these insanely obtuse matching expressions rather than a very simple parser that splits the email up into the name and domain tokens, and then validates those against the valid characters allowed for name (there's no further check ...

Best way for confirmation email links to submit ID

I've got a web site sending someone a confirmation email. Now in the email I would like to have a link the user has to click to confirm he received the mail. I'd like to include the user's password (or some random code) into the confirmation address, so the user does not need to enter it by hand again, but if I do this, the password wi...

Installing and configuring a barebones email server on Ubuntu

I've got an unmanaged Linux VPS running ubuntu that I'm using for the web server for a personal website. I'd like to get a barebones email server up and running. All the installation guides I've found so far are for a full-fledged email server with a webmail interface and everything. That's a lot more than I need. There's only two th...

Get UID for message from GMail using javax.mail with IMAP

I'm using javax.mail to retrieve mails from GMail using IMAP. I want to also obtain the tags being applied to each mail, so I'm iterating over all the folders in the store (which actually are tags) and downloading mails for each other. I was using the method getUID of ImapFolder to obtain the UID for each message, and then compare them ...

SMTP error 554

I'm using MDaemon as out mail server and the last days I get an error "554 Message does not conform to standards" for emails sent from one of the machines. Any idea what may be causing it? Other machines work fine. More info....this is the log file: Mon 2008-10-20 16:11:37: Session 7831; child 1; thread 3908 Mon 2008-10-20 16:11:36: A...

Incoming poplib refactoring using windows python 2.3

Hi Guys could you please help me refactor this so that it is sensibly pythonic. import sys import poplib import string import StringIO, rfc822 import datetime import logging def _dump_pop_emails(self): self.logger.info("open pop account %s with username: %s" % (self.account[0], self.account[1])) self.popinstance = poplib.POP3(s...

can I put a <style>...</style> tag within the body of an HTML file?

Since a lot of email clients ignore the HEAD tag, can I embed an inline stylesheet in the body? ...

Syntax highlighting when pasting into emails

Im in the situation that I often send small codesnippets and xml-snippets to coworkers and partners via my outlook. Has anyone got a good idea or tool that I can use to have my pastes syntaxhighlighted before I paste them into an email. I was thinking of an intermediate paste to "$fancytool" and then I would have something to copy that...

Email message recall does it actually work?

I was asked to recall a message I sent out to remove some personal info from it and replace it with a generic made up person as an example. Does message recall really work? It's my opinion because you get told a message has been recalled it just causes you to want to find out what was in the original message. All you do is find someon...

Send Email in .NET, with email saved in user's Sent Items

Hi, I am attempting to send an email using VB.NET. There are two requirements The email be saved in their "Sent Items" folder in Outlook (their only email client). A PDF (generated on the fly) is attached to the email. I am currently creating a new MailMessage & sending via a SmtpClient, but I believe that this sends from the serve...

public key email encryption

Who has their email fully encrypted ? I would like to encrypt my email but I am not sure how to start. If I use encrypted email and I send an email to someone who does not encrypt his email how can the receiver read the email ? What email client would you recommend to run on a windows systems for encrypted email ? I am using Thunderbir...

How to set up a bidirectionally encrypted email server?

Encrypted email - sounds like a great thing, right? Problem already solved, right? Well... I don't think so and I'm hoping I'm wrong! To understand what I'm asking, please understand what I'm NOT asking: I am not asking how I encrypt and sign messages sent over public networks. This is a bit different. I want to set up a mail server wh...

I'm looking for recomendations for ActiveX Components for processing emails.

I'm looking for ActiveX components that can easily: get and send emails via SMTP and POP3 strip out and save attachments. Convert RTF (Outlook emails) to HTML Sanitize HTML. What components would you recommend? What components do you use? ...

Simplest way to send mail with Ruby on Rails

What is the simplest way to send mail using Ruby on Rails? Is there a way to send mail directly via ruby and skip all the rails models and complexity, just like php's mail() function? Thanks for your help. ...

Windows scripting to email using TLS

I'm trying to make an SVN post-commit script that makes backups to a Gmail drive. Blat doesn't seem to support TLS. Are there any good scripting programs on windows that can send an email via TLS? ...

.net/exchange: add email addresses dynamically?

I'm building a .NET application where I want to dynamically add an email address for users when they create an account, so that they can email themselves things to their account and see it in the app. The email address would be something like [account_name]@[site.com]. Is there a good reference URL to read which explains how to do this...

Can I configure SMTP in IIS, so it relays to a remote SMTP server?

I want to configure SMTP on my web server, so that any email sent through the SMTP server is relayed to a remote SMTP Server. The IIS SMTP server would have to use SMTP authentication, and use the host name, username and password (as if configuring a normal email client). Does anybody know if this is possible? ...

Getting Invalid Address with javax.mail when the addresses are fine

Hi All, I'm using the javax.mail system, and having problems with "Invalid Address" exceptions. Here's the basics of the code: // Get system properties Properties props = System.getProperties(); // Setup mail server props.put("mail.smtp.host", m_sending_host); // Get session Session session = Session.getDefaultInstance(props, ...

Method for email testing

I am writing a program that will be emailing reports out many (~100) clients which I want to test before I spam everyone. I want to do a test run against my production data and actually send the messages to a SMTP server, but I don't want the SMTP server to actually deliver the messages. I want the server to act like a real SMTP server...

Send emails via gmail from different accounts

So I have action_mailer_optional_tls (http://svn.douglasfshearer.com/rails/plugins/action_mailer_optional_tls) and this in my enviroment.rb ActionMailer::Base.server_settings = { :tls => true, :address => "smtp.gmail.com", :port => "587", :domain => "www.somedomain.com", :authentication => :plain, :user_name => "someusername...