Top "Email" questions

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

Creating email templates with Django

I want to send HTML-emails, using Django templates like this: <html> <body> hello <strong>{{…

django email django-email django-mailer
Mailx send html message

I want to send a html message with Mailx. When I try the following command mailx -s "Subject" user@gmail.…

html linux email mailx
problem with php mail 'From' header

I'm building a website that sends and email to a user when he registers. My code (the gist of it): &…

php email smtp
here-document gives 'unexpected end of file' error

I need my script to send an email from terminal. Based on what I've seen here and many other places …

bash email heredoc
Is there an equivalent of CSS max-width that works in HTML emails?

I'm trying to create an HTML email that will display properly in all widely used email clients. I'm wrapping the …

html email html-email css
Simple PHP form: Attachment to email (code golf)

Imagine a user that would like to put a form on their website that would allow a website visitor to …

php email email-attachments code-golf mail-form
Problem with SMTP authentication in PHP using PHPMailer, with Pear Mail works

I´m having trouble sending a e-mail with the PHPMailer class, but it works with PEAR Mail::factory. I guess …

php email smtp pear phpmailer
Address in mailbox given [] does not comply with RFC 2822, 3.6.2. when email is in a variable

I have a correct email address. I have echoed it, but when I send it, I get the following error: …

php email laravel laravel-4 swiftmailer
How do I format a String in an email so Outlook will print the line breaks?

I'm trying to send an email in Java but when I read the body of the email in Outlook, it's …

java email outlook newline line-breaks
Check that an email address is valid on iOS

Possible Duplicate: Best practices for validating email address in Objective-C on iOS 2.0? I am developing an iPhone application where I …

objective-c cocoa email email-validation