Top "Email" questions

Use this tag for questions involving code to send or receive email messages.

How to validate an email address in PHP

I have this function to validate an email addresses: function validateEMAIL($EMAIL) { $v = "/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/"; …

php regex email email-validation
Sending email with attachments from C#, attachments arrive as Part 1.2 in Thunderbird

I have a C# application which emails out Excel spreadsheet reports via an Exchange 2007 server using SMTP. These arrive fine …

c# email smtp attachment
How to send an email with Python?

This code works and sends me an email just fine: import smtplib #SERVER = "localhost" FROM = '[email protected]' TO = ["jon@…

python email function smtplib
Send email using java

I'm trying to send an email using Java: import java.util.*; import javax.mail.*; import javax.mail.internet.*; import javax.…

java email
Proxy Error 502 : The proxy server received an invalid response from an upstream server

We are building a mass mailing sending application in Java. Mail is being send by third party SMTP. After sending 400…

java email proxy tomcat6
Shell script to send email

I am on linux machine and I monitor a process usage. Most of the time I will be away from …

linux email shell scripting
php.ini & SMTP= - how do you pass username & password

My ISP account requires that I send a username & password for outbound SMTP mail. How do I get PHP …

php smtp email
Java regex email

First of all, I know that using regex for email is not recommended but I gotta test this out. I …

java regex email
PHPMailer character encoding issues

I try to use PHPMailer to send registration, activation. etc mail to users: require("class.phpmailer.php"); $mail -> …

php email phpmailer
How to add a .dll reference to a project in Visual Studio

I am just beginning to use the MailSystem.NET library. However, I cannot figure out where to add the .dll …

c# visual-studio email dll-reference