12,011 questions
971
votes
27
answers
681k
views
Sending email in .NET through Gmail
Instead of relying on my host to send an email, I was thinking of sending the email messages using my Gmail account. The emails are personalized emails to the bands I play on my show.
Is it possible ...
444
votes
5
answers
287k
views
Are email addresses case sensitive?
I've read that by standard first part of e-mail is case sensitive, however I've tried to send e-mail to [email protected], [email protected] and [email protected] - it has arrived in each case.
How do ...
408
votes
16
answers
905k
views
Send email using the GMail SMTP server from a PHP page
I am trying to send an email via GMail's SMTP server from a PHP page, but I get this error:
authentication failure [SMTP: SMTP server does no support authentication (code: 250, response: mx.google....
340
votes
17
answers
475k
views
How to send an email with Gmail as provider using Python?
I am trying to send email (Gmail) using python, but I am getting following error.
Traceback (most recent call last):
File "emailSend.py", line 14, in <module>
server.login(username,...
312
votes
21
answers
784k
views
Gmail Error :The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required
I am using following code to send email. The Code works correctly in my local Machine. But on Production server i am getting the error message
var fromAddress = new MailAddress("[email protected]");
...
307
votes
18
answers
471k
views
How to send email to multiple recipients using python smtplib?
After much searching I couldn't find out how to use smtplib.sendmail to send to multiple recipients. The problem was every time the mail would be sent the mail headers would appear to contain ...
292
votes
26
answers
775k
views
"The remote certificate is invalid according to the validation procedure." using Gmail SMTP server
I'm getting this error:
The remote certificate is invalid according to the validation procedure.
whenever I try to send e-mail using Gmail's SMTP server in my C# code.
Can someone point me to the ...
283
votes
7
answers
614k
views
What is the difference between ports 465 and 587? [closed]
These ports 465 and 587 are both used for sending mail (submitting mail) but what is the real difference between them?
264
votes
31
answers
565k
views
Sending email through Gmail SMTP server with C#
For some reason neither the accepted answer nor any others work for me for "Sending email in .NET through Gmail". Why would they not work?
UPDATE: I have tried all the answers (accepted and otherwise)...
249
votes
7
answers
121k
views
How can I set the Sender's address in Jenkins?
I'm sending mail from Jenkins to an anonymous SMTP relay internally. That relay then securely sends mail to exchange online via TLS on port 587. The transport works perfectly, the issue is that ...
200
votes
10
answers
218k
views
Mail multipart/alternative vs multipart/mixed
When creating email messages you are supposed to set the Content-Type to multipart/alternative when sending HTML and TEXT or multipart/mixed when sending TEXT and attachments.
So what do you do if ...
187
votes
4
answers
266k
views
What is the behavior difference between return-path, reply-to and from?
On our mailing application we are sending emails with the following header:
FROM: [email protected]
TO: [email protected]
Return-PATH: [email protected]
The problem that we ...
184
votes
13
answers
260k
views
How can I send email via Django?
In my settings.py file, I have the following:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# Host for sending e-mail.
EMAIL_HOST = 'localhost'
# Port for sending e-mail.
EMAIL_PORT =...
182
votes
31
answers
782k
views
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required?
I want to send an email from my application and i have written following code for sending mail
MailMessage msg = new MailMessage();
msg.From = new MailAddress("mymailid");
msg.To.Add("...
174
votes
9
answers
235k
views
Getting error while sending email through Gmail SMTP - "Please log in via your web browser and then try again. 534-5.7.14" [closed]
I'm having problems with gmail smtp server. I've already read many posts here in StackOverflow about that subject.
The best post I found about test the connection is this one.
Although it is very well ...