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
4 answers

email address hiding some characters with c#, regex

I would like replace some the chars of the e-mail addresses with * char. when a customer make request, I would like to hide some the chars of the e-mail addres like below; ha~~~~@~~~~ail.com I would like to do that like that. I would like to show…
tugberk
  • 57,477
  • 67
  • 243
  • 335
10
votes
2 answers

Failed to retrieve credentials from EC2 Instance Metadata Service

I'm trying to send an email via the AWS SES API using the SDK. I based my code off the official documentation here: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/examples-send-using-sdk.html I'm getting as far as await…
TidyDev
  • 3,470
  • 9
  • 29
  • 51
10
votes
2 answers

Amazon WorkMail - forward every email

I have read over 20 different guides, most of which hosted by Amazon, and every guide is either out of date or simply does not work. We have a support email, support@blah.com All I am trying to do is forward EVERY email sent to support@ to our other…
travis wilder
  • 129
  • 1
  • 8
10
votes
1 answer

How do I write a media query for Gmail?

I am trying to write some HTML/CSS for an email but can't get things to show and hide responsively. I have one big table, with two nested tables. Each of the nested tables is a footer that is hidden or shown based on the screen size. Here's the…
wariofan1
  • 481
  • 2
  • 4
  • 17
10
votes
1 answer

Laravel Notification - Call to a member function routeNotificationFor() on string

Laravel 5.5 Controller public function sendBookingSms(){ $checkState = session()->get('checkState'); $staffs = Staff::whereIn('staffId',$checkState)->get(); foreach ($staffs as $staff) { $email = str_replace("…
Jishad
  • 2,876
  • 8
  • 33
  • 62
10
votes
1 answer

Is there a way to prevent SMTP Connection Timeout? smtplib, python

I have a script that I need to run indefinitely. The script is set to e-mail me confirmations of certain steps being completed on a daily basis. I am trying to use smtplib for this. The initial connection is set up so that I will enter my login…
agftrading
  • 784
  • 3
  • 8
  • 21
10
votes
5 answers

how to send an email with Vuejs?

How can I do to send an email with Vuejs2. I manage to get the input data and turned them into json but I can not send them to a mailbox. I look for the side of PHPMailer but facing PHP and Vue do not mix. How can I send the form content? Template…
DenisMasot
  • 697
  • 5
  • 11
  • 21
10
votes
5 answers

Connection could not be established with host smtp.mailtrap.io [Connection timed out #110] with right env

I am using mail trap to test my emails and I am getting the error stated in above in the title. This is the env files that I…
John Freedom
  • 471
  • 4
  • 6
  • 11
10
votes
2 answers

What are the "parts" in a multipart email?

A bit of context... Some time ago, I wrote Python a program that deals with email messages, one thing that always comes across is to know whether an email is "multipart" or not. After a bit of research, I knew that it has something to do with emails…
0_jump
  • 379
  • 6
  • 16
10
votes
2 answers

Laravel- use @foreach in markdown mail

I am trying to use @foreach loop inside markdown template for sending mails. While using HTML tags inside @foreach, it is not rendered properly @component('mail::message') These are the latest contents in our website @foreach($results as $type =>…
Ajith S
  • 2,907
  • 1
  • 18
  • 30
10
votes
3 answers

Gmail is filtering my web app's email as spam

We have a business web application that periodically sends emails as reminders, links to client data, etc. Our company uses Google Apps for our email provider (with our own domain name), and the web application sends email through Google with…
Hank
  • 8,289
  • 12
  • 47
  • 57
10
votes
4 answers

Mailchimp Embedded Sign up form not displaying Captcha

I am using mailchimp embedded sign up form. It displays Email Account, First Name and Last Name, but captcha is not showing. I enabled captcha from Settings->List Name and Defaults. What other steps do I need? Captcha is not showing in Preview Mode…
Neha Goyal
  • 325
  • 3
  • 15
10
votes
2 answers

center image in html mail

How can I center an image in a html mail that it works in outlook as well. I tried this:
10
votes
3 answers

tail and grep log and mail (linux)

i want to tail log file with grep and sent it via mail like: tail -f /var/log/foo.log | grep error | mail -s subject name@example.com how can i do this?
askaquestion
  • 141
  • 1
  • 2
  • 4
10
votes
3 answers

Nodemailer getaddrinfo ENOTFOUND Error

Looking for some insight into this error I'm getting. on smtpTransport.sendmail(func(err, info){}) The err variable returns this: Error: getaddrinfo ENOTFOUND smtp.gmail.com smtp.gmail.com:465 at errnoException (dns.js:50:10) at…
Ali Malik
  • 101
  • 1
  • 1
  • 4
1 2 3
99
100