Questions tagged [email]

Use this tag for questions involving code to send or receive email messages. Posting to ask why the emails you send are marked as spam is off-topic for Stack Overflow. Questions about configuration of mail servers belong on Server Fault.

Electronic mail, commonly called email or e-mail, is a method of exchanging digital messages from a sender to one or more recipients.

Modern email operates across the Internet or other computer networks. Some early email systems required that the sender and the recipient both be online at the same time - a system currently known as Instant messaging. Today's email systems are based on a store-and-forward model. Email servers accept, forward, deliver and store messages. Neither the users nor their computers are required to be online simultaneously; they need connect only briefly, typically to an email server, for as long as it takes to send or receive messages.

Email architecture is rich and varied; you should probably indicate whether your question concerns manipulation, email composition (, , , , etc.), message submission and transport (, ), or a particular mailbox storage and access protocol (, ) or perhaps a particular . There is a large number of additional tags you can use.

Programmers coming from modern protocols such as JSON and HTTP will be surprised to learn about the many layers of standards that they have to work with in order to be able to use 8-bit data, multimedia, Unicode, internationalization, tagged content, etc. The MIME standards in particular should be at least vaguely familiar.

References


Tag Usage

The tag can be used for any programming related problem in implementing features of emailing messages from one client to another. Ask about specific email server related problems at Server Fault, another Stack Exchange website.

Common problems which are not programming-related include

Related Tags

etc

59268 questions
11
votes
5 answers

How to send HTML email using R

I have searched SO and well as google and cannot seem to find a solution to my problem. I am trying to send a HTML formatted email within R using sendmailR package. The plain text email works just fine, but then am unable to switch from plain text…
Rohit Das
  • 1,962
  • 3
  • 14
  • 23
11
votes
2 answers

django-allauth change user email with/without verification

I am using plain django-allauth without any social accounts. Every user should have exactly one email address associated with his account, i.e. the one that was used for registration/verification. I would like to enable my users to change this…
schacki
  • 9,401
  • 5
  • 29
  • 32
11
votes
3 answers

Confirm PayPal sandbox account email

Same question as this: Paypal sandbox account email confirmation but it was not so easily resolved for me. I can't confirm my sandbox email address, it says an email would be sent to my email address (which it wasn't) and I read elsewhere that it…
oxide246
  • 291
  • 1
  • 2
  • 9
11
votes
2 answers

Send e-mail to Gmail with inline image using Python

My objective is to use Python to send an e-mail to a Gmail user that has an inline image. It is not possible to host this image online and then link to it through a href, due to the sensitive nature of the images (data from my work). I've tried…
user2763361
  • 3,789
  • 11
  • 45
  • 81
11
votes
2 answers

reply-to address in php contact form

I bought a simple website template with a php contact form. Everything works great with the one small exception of actually receiving the messages sent via the form. That is, the contact form would show a success message, but the message would never…
MajorKooter
  • 113
  • 1
  • 1
  • 6
11
votes
1 answer

Understanding email headers: x-beenthere and x field

I'd like to understand more about the email headers. After looking at one of the emails, I found the field had this entry "x-BeenThere" in the header. What does this mean? Also I noticed some "x" fields seem like they're custom set fields, is this…
supmethods
  • 525
  • 6
  • 18
11
votes
17 answers

What is the best way to organise e-mails in MS Outlook?

Every software development professional (and especially project managers) has to deal with a never ending stream of e-mails. What is the best way of organising them in MS Outlook? Obviously some fancy issue tracking tools give more flexibility but I…
Vlad Gudim
  • 23,397
  • 16
  • 69
  • 92
11
votes
4 answers

How to create an E-Mail in Outlook and make it visible for the User

I want to create an E-Mail with a Java Application using Outlook and the OLE Client. I searched for examples and found quite a few. They all start the same way: Create the Display, the Shell, the OLE Frame and the OLE Client Site. But I get an…
Loki
  • 4,065
  • 4
  • 29
  • 51
11
votes
4 answers

Cross Platform C++ IMAP Library

Are there any cross-platform (only interested in Windows and OS X) IMAP libraries which I can use from C++? Preferably open source as well. I am currently using the IMAP library from Chilkat, but this is Windows only. I've found libEtPan and VMime…
Adam Dempsey
  • 2,913
  • 5
  • 24
  • 26
11
votes
1 answer

Java Mail: Session

Below the code used to connect and perform operations on an IMAP Folder. So my question is about the javax.mail.Session which in this case would recreate every second (depending on the sleep time and runtime of checkInbox()). I'm sure that this is…
Kuchi
  • 4,204
  • 3
  • 29
  • 37
11
votes
2 answers

Sending emails from my domain with SendGrid

I have a question that I guess is not just related to SendGrid. Say, I own the mydomain.com domain, and I want to be able to send emails from, for example, team@mydomain.com. Right now, when I go and manage my domain, I can see that I have added…
Hommer Smith
  • 26,772
  • 56
  • 167
  • 296
11
votes
1 answer

sending email using templates in codeigniter

I have to send weekly reports to my users. I am using an email template from view. My code in controller is function sendWeeklyMail(){ if(!$this->session->userdata('some')) redirect('admin/admin','refresh'); …
spod
  • 406
  • 3
  • 5
  • 19
11
votes
1 answer

A tool to convert email to html

Is there a tool that converts an email (rfc822 with mime and attachments) into html? It can be a python/perl/java library/module or a command line linux tool. I need to create a valid html (even if some parts of email aren't so valid). I don't need…
ChewbaccaKL
  • 366
  • 1
  • 3
  • 11
11
votes
3 answers

Mailcatcher not working in staging server

I was pretty happy with mailtrap (http://mailtrap.io/) until i found out it got slow. Sometimes it doesn't send email or takes long time. So thought of alternative and moved to mailcatcher (http://mailcatcher.me/). The issue is, it works fine in…
kxhitiz
  • 1,909
  • 4
  • 19
  • 25
11
votes
7 answers

Sending an email to myself but letting me reply back to another email

I'm sending an email to myself using a module (nodemailer) on my web application's platform (node.js) from someone using my web app's contact page. Since, I'm sending an email to myself, if I reply to the email, I'll be sending an email to myself…
Sam
  • 6,414
  • 11
  • 46
  • 61