All Questions

711
votes
21answers
439778 views

Sending email in .NET through Gmail

Instead of relying on my host to send 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 to d...
340
votes
12answers
664930 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...
202
votes
27answers
350983 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...
142
votes
17answers
345921 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("mymailid@gmai...
178
votes
13answers
195777 views

How can I send an email by Java application using GMail, Yahoo, or Hotmail?

Is it possible to send an email from my Java application using a GMail account? I have configured my company mail server with Java app to send email, but that's not going to cut it when I distribute ...
56
votes
11answers
260908 views

send email using Gmail SMTP server through PHP Mailer

I would like to send an email using Gmail SMTP server through PHP Mailer. this is my code <?php require_once('class.phpmailer.php'); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->CharSe...
211
votes
11answers
228903 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,password...
19
votes
8answers
131856 views

Send email from localhost running XAMMP in PHP using GMAIL mail server

I try to send an email from localhost to my yahoo email account using php mail() function, the return says I successfully send the email but I did not get any email. I've been reading and trying many ...
18
votes
4answers
29755 views

How to change from-address when using gmail smtp server

I want to send an email from A to B,with HEADER and CONTENT through gmail. How to do that by PHP? I've specified the FROM(from@example.com),but when I receive the email,it's still from my gmail acco...
17
votes
9answers
80901 views

XAMPP Sendmail using Gmail account

I'm trying to configure Sendmail through XAMPP to send email. In my sendmail.ini I have these settings: # Set default values for all following accounts. logfile "C:\xampp\sendmail\sendmail.log accou...

Previous Next