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
10
votes
0 answers

421 4.3.0 Temporary System Problem. Try again later (10)

I am using nodemailer npm package with gmail as a service in nodejs. For some of the emails I am getting below error, Data command failed: 421 4.3.0 Temporary System Problem. Try again later (10). c124sm10820896qke.13 - gsmtp at…
Aditya yadav
  • 119
  • 1
  • 7
10
votes
5 answers

Android pick email intent

I'd like to pick an email from the contacts list. Picking a contact is not good enough, because a contact can have several emails. Using the API demo, I managed to pick a contact, phone number and even an address. Example: Intent intent = new…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
10
votes
6 answers

How do I send mail from a Ruby program?

I want to send email from a Ruby application. Is there a call in the core language to do this or is there a library I should use? What's the best way to do this?
David
  • 14,047
  • 24
  • 80
  • 101
10
votes
2 answers

SMTP configuration SendUsing configuration value is invalid with ASP-Classic

I'm trying to get an email sent using ASP classic, and am having trouble with SMTP configuration. The error: CDO.Message.1 error '80040220' The "SendUsing" configuration value is invalid. The Code(for the email itself): Set objMsg =…
matthewdunnam
  • 1,656
  • 2
  • 19
  • 34
10
votes
2 answers

Android - getting an error "no application can perform this action" while trying to send an email?

I am making an app in which i am going to provide a feedback feature to my customers. To acheive this i have created a small dialogue box where user can input there feedback and send it to my mail ID. I tried some code snippets which i found on…
Varundroid
  • 9,135
  • 14
  • 63
  • 93
10
votes
1 answer

Attaching file to an email in python leads to a blank file name?

The following snipit of code works fine, except for the fact that the resulting attachment file name is blank in the email (the file opens as 'noname' in gmail). What am I doing wrong? file_name = RecordingUrl.split("/")[-1] …
Sean W.
  • 4,944
  • 8
  • 40
  • 66
10
votes
2 answers

Want procmail to run a custom python script, everytime a new mail shows up

I have a pretty usual requirement with procmail but I am unable to get the results somehow. I have procmailrc file with this content: :0 * ^To.*@myhost | /usr/bin/python /work/scripts/privilege_emails_forward.py Wherein my custom python…
Nanda Kishore
  • 2,789
  • 5
  • 38
  • 61
10
votes
4 answers

Delaying the sending of emails in C#

We are writing a feature to send a reminder email to customers in x number of days and just wondered if it was possible to delay the sending of the emails similar to how you can in Outlook (New Mail > Options button > Do not deliver before) in…
Chris Knight
  • 413
  • 2
  • 5
  • 14
10
votes
7 answers

Rich HTML emails in Outlook 2007 and 2010... how do you remove the top margin?

I have a rich HTML email. I was wondering how, in Outlook 2010 and 2007, you get the table in the layout to sit flush with the edge of the browser? Have a look at this pic: The pink is the background color of the body tag and the grey is the bg of…
CafeHey
  • 5,699
  • 19
  • 82
  • 145
10
votes
2 answers

Can I put both Get and Post URL link in an email

I am building a new web application, and the boss had expressed a preference to have an email sent when something changes, and he wants to be able to click on a link in the email to approve or deny the changes (singly or en masse). My question: Is…
Jonathan
  • 25,873
  • 13
  • 66
  • 85
10
votes
9 answers

Laravel mail sending through smtp server error 503 5.5.2

I am trying to send notification mails from php through mail queue in laravel, as far as i can tell everything works fine, i have already tested configuration on my personal mail acc. but when i try sending mail through smtp server it fails with…
Miro Hascic
  • 147
  • 1
  • 1
  • 8
10
votes
4 answers

Expected response code 235 but got code 535 laravel send email using office365 smtp

I want to send email using my office365 smtp credentials in laravel application. i have make changes in my .env file for email settings as…
Adarsh Bhatt
  • 548
  • 1
  • 9
  • 30
10
votes
2 answers

How do I launch my app via a custom URL in an email

I'm adding a custom URL using the android:scheme in my intent filter as follows
10
votes
4 answers

Laravel use MailMessage in Mailable

I'm trying to send to my users an email when they register, I created a mailable class:
Spialdor
  • 1,475
  • 5
  • 20
  • 46
10
votes
2 answers

Sending mail using MailKit with Gmail OAuth

I am trying to create an application that will send emails to customers when they make a purchase. We have our own GMail account which I will be using to send the emails from. I have set up my application and created credentials in the Google API…
Andy Furniss
  • 3,814
  • 6
  • 31
  • 56