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...
95
votes
13answers
167128 views

How to check if an email address exists without sending an email?

I have come across this PHP code to check email address using SMTP without sending an email. Has anyone tried anything similar or does it work for you? Can you tell if an email customer / user enters...
88
votes
6answers
492392 views

Sending email with PHP from an SMTP server

$from = "someonelse@example.com"; $headers = "From:" . $from; echo mail ("borutflis1@gmail.com" ,"testmailfunction" , "Oj",$headers); I have trouble sending email in PHP. I get an error: SMTP server...
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...
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...
59
votes
8answers
221335 views

Sending email with gmail smtp with codeigniter email library

<?php class Email extends Controller { function Email() { parent::Controller(); $this->load->library('email'); } function index() { $config['p...
45
votes
7answers
188237 views

Failed to connect to mailserver at "localhost" port 25

I keep getting this error when I try to send an e-mail in PHP: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in p...
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...

Previous Next