Gmail as a free smtp server

By tonyhughes Hughes, in , posted: 30-May-2006 14:09

A user in our forums here at Geekzone asked about a solution because his ISPs (Orcon) smtp server cannot be accessed whilst using his 3G data card on Vodafone.

There are some paid options around, but once again, Gmail takes the prize for a robust free service.

If you dont already have an email account with Gmail, you will need to set one up before you start. Leave a comment on this post and I will get an invite to you within a day or so.

Once you have your account set up, enable pop mail in the gmail account settings online (log into www.gmail.com) simply enter these settings into any mail client, and use as your default smtp server for all accounts.

This assumes retaining your original email address:

Incoming Mail (POP3) Server - requires SSL: your.isps.pop3.server.com
Use SSL: No
Port: 110
Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
Account Name: your Gmail username (including '@gmail.com')
Email Address: your original isp address ([email protected])
Password: your Gmail password

You can make this setup your default account, and it will always be used. You regular ISP mail will come in as per normal, and all outgoing mail will be routed through the Gmail smtp server, regardless of the connection you are on.

You may wish to set the "reply-to" address to your ISP email address too.

Be sure to test sending, recieving and replying to make sure all your mail goes where you want it to!!

Happy Gmailing!


More information

Other related posts:
Googles online notes application
Gmail reply by chat feature integrates IM and email
Gmail contact pictures




Permalink to Gmail as a free smtp server | Add a comment (144 comments) | Main Index




Comment by chiefie, on 30-May-2006 14:52

yeah, i found this out few months ago. however when you sent through it. some email client (like outlook) will display, "smtpaccount@gmail on behalf of [email protected]" rather than just "[email protected]". That which annoyed me. With Vodafone NZ users, you can use smtp.vodafone.net.nz if i remember correctly. I was using that for quite sometimes, until i find it really inefficient to change SMTP settings depending on whether I am at home or on VMC or wherever... so requested my webhost to supply me a SMTP server access option.


Comment by Robert, on 30-May-2006 19:14

Hi, I woul be grateful if I could have a gmail account. Thank you in anticipation.


Author's note by tonyhughes, on 30-May-2006 21:51

You have it now Robert :-)


Comment by Robert, on 31-May-2006 06:17

I would like a gmail account. Thank you


Comment by Robert, on 31-May-2006 09:30

I am unable to log into gmail.


Comment by philhuber, on 31-May-2006 13:18

Hi, I woul be grateful if I could have a gmail account. Thank you in anticipation.


Comment by Kev, on 31-May-2006 14:26

Hi, I would be Thankful if you could send me a invite to Gmail. Thank you.


Comment by Kev, on 31-May-2006 14:26

Hi, I would be Thankful if you could send me a invite to Gmail. Thank you.


Comment by lokinz, on 1-Jun-2006 11:06

If you have a mobile you can get your own invite. https://www.google.com/accounts/SmsMailSignup1


Comment by derek keong, on 1-Jun-2006 19:55

Hi, pls invite me for a gmail account , thanks derek


Comment by Ron, on 6-Jun-2006 01:12

I've been unable to get a gmail account set up. If you could send me an invitation, I'd be much obliged. Thanks.


Comment by d f mamea, on 8-Jun-2006 14:59

hi Tony thanks muchly for a brilliant tip. no more shall i cut text from an email, paste it into a composed webmail, ensure i cc myself, AND THEN send the bleeder. chur d ;)


Comment by d f mamea, on 8-Jun-2006 15:02

hi Tony thanks muchly for a brilliant tip. no more shall i cut text from an email, paste it into a composed webmail, ensure i cc myself, AND THEN send the bleeder. chur d ;)


Comment by Sylvester Murphy, on 9-Jun-2006 11:21

Hi Tony Thanks for the tip on smtp


Author's note by tonyhughes, on 10-Jun-2006 12:02

no problem Sylvester!


Comment by Bojan Dragosavac, on 28-Jun-2006 00:58

Expecting you to propose me to Gmail and give me instructions how to use this proposal. Bojan Dragosavac


Author's note by tonyhughes, on 10-Aug-2006 08:34

Via email:

On 8/10/06, CN  wrote:http://www.geekzone.co.nz/tonyhughes/599
Gmail as a free smtp server

Hi Tony,

This is re: your above post/tip.  I have been using google smtp this way for over a
year.  But I just noticed something, which may be a big news.  When you send
this way, gmail replaces your original from address in the msg ([email protected])
with the [email protected]  This was not the case last year, and
started happening a few months ago as far as I can determine from some of the
old msgs.

This has nothing to do with what client you use to send or receive, I analyzed the
headers, gmail simply replaces when the forward.  This could be a BIG NEWS,
since this is a way gmail illegally grabbing email traffic indirectly, because the all
the people who reply to use will now send to your gmail address!!  Have you seen
this news been discussed on the net? [BTW, I came across your above post,
when I was searching for this item].  If brought to light, gmail would be forced to
stop this rather bad behaviour.

Cordially, Chacko





Yes I am aware of this.

Theres nothing illegal going on, they are simply making their mark on traffic that goes through their servers, otherwise I could abuse the system, and it would be hard for others to track where my mail actually came from, if i faked my email address in outgoing.

All they are doing is add "sent by bob@gmail on behalf of bob@isp"

Its not pretty, for sure, but its free, and it works.

My suggestion for avoiding this, is to use a paid service, where they wont need to do things like this to earn more revenue.

Cheers,

Tony Hughes


Author's note by tonyhughes, on 10-Aug-2006 09:11

Via email:

Tony,

You might not have noticed this. Adding that 'sent by' is tolerable, but it was changing my from address to gmail account address that was used to authenticate the smtp sending!! It turns out that they have setting where you can preserve the from address.

When they introduced this, they might have introduced that setting option too, but they set the default to change to their email address; so a large number of people unknowingly are giving out their gmail address, instead of the from address they really had in their original msg...

Cordially, Chacko


Comment by saguna, on 15-Aug-2006 06:07

Hi, Could you tell me why I am unable to send mail from my javamail client for gmail and yahoo. I am getting the error: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465; nested exception is: java.net.SocketException: Connectiopn timedout... I am able to connect to the mail server for my university and can send messages. But I cannot understand as to what the problem is with gmail and yahoo. I have tried using port 465 for gmail and 587 for yahoo. Also I am using authentication. Is it because the smtp server is not present at the links smtp.gmail.com and smtp.mail.yahoo.com or is it because they can only be accessed using a browser. I am really confused. Your help will be really appreciated!


Author's note by tonyhughes, on 15-Aug-2006 07:50

hi, please check the sidebar for a link to Geekzone, and ask your question in the Geekzone forums.


Comment by Merko, on 18-Aug-2006 17:22

Could anyone sent me an invitation for a gmail account THANKS! PS. to email [email protected] THANKS ONCE AGAIN


Comment by Paul, on 19-Sep-2006 17:00

We would be very pleased to receive an invitation for a gmail account. Please send to [email protected] Thanks in advance. Paul


Comment by Neill Rutherford, on 24-Sep-2006 19:03

Invite please


Comment by anonymous email, on 7-Oct-2006 20:32

Finally! That problem took me almost 5 days to resolve. Thanks to my stupid provider named BigGlobe NEC .



587 Port Switching did the trick.



Thanks


Comment by amir, on 26-Nov-2006 22:13

hi I am getting this messege what should I do?

SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first

how do I issu a starttls command I am using first mail sender program to send emails


Comment by Martin Caton, on 4-Jan-2007 19:58

Please could I have an invite to Gmail.



Cheers.


Comment by mahmoodvcs, on 19-Feb-2007 02:38

do u want an invitation to gmail? mail me.

[email protected]


Comment by trinifar, on 19-Feb-2007 08:44

Please send me a Gmail invite and thanks for making that offer!



trinifar [at] petml [dot] com


Comment by yogesh, on 11-Mar-2007 01:33

it's really urgent



i hav dis java code which i need to be embedded

in my project n i need to use smtp server here.



the code is like this



import java.io.*;



import sun.net.smtp.*;







public class HelloMail {







public static void main(String[] args) {







try {







SmtpClient sc = new SmtpClient("smtp.yahoo.com");







// from and to



sc.from("[email protected]");



sc.to("yog_eshy@yahoo.co.[email protected]");







// additional headers, subject et al.



PrintStream ps = sc.startMessage();



ps.println("Subject: this is a test");







// blank line separates the headers and message



ps.println();







// message body



ps.println("Hello there");



sc.closeServer();



System.out.println("FINISHED");



}

catch (IOException e) {



System.err.println("UNABLE TO CONNECT ");

System.err.println(e);





}







}







}





error is



UnknownHostException: mailhost



plz reply me wat shld i do


Comment by Don Adams, on 13-Mar-2007 14:06

I would like to have a gmail account to try. Thanks.


Comment by Orlando Joyce, on 17-Mar-2007 05:51

Thanks for a good pointer, and thanks in advance for the invite for g-mail, I'll be more than thankful...


Comment by hoang van manh, on 24-Apr-2007 21:40

Send to :

From :

Subject :

SMTP :


Comment by beatus valerian mbuya, on 30-Apr-2007 02:54

I have managed to sign up for a gmail account. Thanks to gmail team.Is it possible to be alerted when there is a new mail?


Comment by beatus valerian mbuya, on 14-May-2007 09:02

I have seen the gmail notifier but it is not for mobile phones. just in case someone finds it I would appreciate for the update. I am enjoying having the gmail account.I can send and receive mails while travelling in a bus. However, I would appreciate someone from gmail team to direct me how to use my old outlook account to receive mails and read them from gmail.


Comment by Mike, on 20-Jun-2007 05:38

Does anyone make sure it is sill works this way? I am trying to configure it, but gmail require me to input the email address to get the email sent, and the the email address from is the gmail address not the myaddress.myisp.com address, another question is my myisp.com support POP not SMTP, does this still works, can I just use pop.myisp.com, and the SMTP.GMAIL.COM, is this wasy works? Thx!


Comment by Mike, on 20-Jun-2007 05:42

Does anyone make sure it is sill works this way? I am trying to configure it, but gmail require me to input the email address to get the email sent, and the the email address from is the gmail address not the myaddress.myisp.com address, another question is my myisp.com support POP not SMTP, does this still works, can I just use pop.myisp.com, and the SMTP.GMAIL.COM, is this wasy works? Thx!


Comment by abigail wood, on 24-Jul-2007 19:46

Please could I have an invite to a gmail account.

Thanks


Comment by yaodownload, on 28-Jul-2007 15:01

thanks. now I use this server send software registration code and works greate


Comment by Brennan, on 22-Aug-2007 21:27

Can I please get an invite to gmail account?

Thanks


Comment by Lijumon, on 25-Aug-2007 05:51

Please send me a gmail account invitation.



Please make it clear, whether the user can send email from my web page to my inbox directly.


Comment by Sara, on 1-Sep-2007 04:39

Send me a gmail account invitation.



Thanks.


Comment by Angela, on 13-Oct-2007 06:39

Thank you very much! This is just what I was looking for and I even didn't have to use trial and error to make it work, thanks to your clear explanation! Angela


Comment by technies, on 5-Nov-2007 02:15

this is a good tip, but can i use this gmail smtp

on my php scripts? (for an outgoing mail) ?

mail() function doesnt provide me authentications.

may be if i can have my own custom mailer function or somthing..



thanks


Comment by hans, on 30-Nov-2007 20:04

i'm looking for settings for vista to use yahoo mail with windows mail but keep getting server error or wrong username


Comment by nitin, on 18-Dec-2007 01:29

please help me to set up the gmail account by which i can mail over all the networks...

thank u


Comment by Rimpy, on 3-Jan-2008 23:53

i am working in an IT company and I had to develop a demo application for sending mail via smtp server, but i am not having rights to setupa POP3 account.



what else can i do/


Comment by Ryan, on 31-Jan-2008 10:44

Nice one Mr.Hughes,



I am 24 and an IT Consultant(Infrastructure,Security} here in Trinidad. My Sony Wireless edge card somehow timesout in reaching our only ISP smtp server, they have one geez, anyway ran tracert to confirm. Usally there is a small fee for smtp relay services on the net. NOT HERE, I can now send mail in my mail client via GMAIL when I am wireless for FREE. Thanks, it was really common sense and a chance , were lazy :) Thx. what a name for gmails smtp server, geez.



Any other nice ones?


Comment by Flurrywinde, on 5-Feb-2008 22:48

To technies: Use the open source SwiftMailer.



Note that Gmail's SMTP places a limit on the number of e-mails you can send within a certain time period. I'm still trying to determine what this limit is, so if you know please tell me. It's something like 50-100.


Comment by Muhammad, on 29-Feb-2008 20:44

Hi,

I am dilettanti of java & is quite fascinated by its scope.Recently i tried my hand on idea of sending mail through a java program & to my astonishment found an existing api in java.But now i am trying the below written code & is facing some errors.



import java.util.Properties;

import javax.mail.*;

import javax.mail.Authenticator;

import javax.mail.Message;

import javax.mail.MessagingException;

import javax.mail.PasswordAuthentication;

import javax.mail.Session;

import javax.mail.Transport;

import javax.mail.internet.InternetAddress;

import javax.mail.internet.MimeMessage;

public class email {

public static void main (String args[]){

try{

String host="smtp.gmail.com";//setting smtp server address

String from="[email protected]";//entering senders email id

String to="[email protected]";//entering recipient's email id

Properties prop=System.getProperties();//defining system properties

prop.put("mail.smtp.host",host);//setting host to above entered host

prop.put("mail.smtp.port","465");//setting host port

Session session=Session.getDefaultInstance(prop,null);//creating a session

MimeMessage msg=new MimeMessage(session) ;//setting session

msg.setFrom(new InternetAddress(from));//sending from

msg.addRecipient(Message.RecipientType.TO,new InternetAddress(to));

msg.setSubject("JAVA MAIL API TESTING MAIL");

msg.setText("Hi Buddy,\nI think we can be good friends don't you agree.");

Transport.send(msg);//Finally sending message through transport

}



catch (Exception e){

e.printStackTrace();



}

}

}



and got the following errors.

javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;

nested exception is:

java.net.ConnectException: Connection timed out: connect

at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)

at javax.mail.Service.connect(Service.java:288)

at javax.mail.Service.connect(Service.java:169)

at javax.mail.Service.connect(Service.java:118)

at javax.mail.Transport.send0(Transport.java:188)

at javax.mail.Transport.send(Transport.java:118)

at email.main(email.java:27)

Caused by: java.net.ConnectException: Connection timed out: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)

at java.net.Socket.connect(Socket.java:452)

at java.net.Socket.connect(Socket.java:402)

at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233)

at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)

at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)

... 7 more





Can anyone help me out of this problem.


Comment by dereck, on 26-Mar-2008 15:56

I NEED MY SMTP. thank you


Comment by Ian, on 10-Apr-2008 21:17

Please can you invite me so I can have a GMail account. Thanks.


Comment by rrichard, on 18-Apr-2008 02:39

my smptp is telling me i need a ssl authorisation.how do i do that


Comment by Alex Fox, on 5-May-2008 20:23

I would like gmail on my phone thanks


Comment by Alex Fox, on 5-May-2008 20:31

i would like to get gmail on my phone but what your talking about is all abit technical for me could you make it a little easier for me to understand


Author's note by tonyhughes, on 5-May-2008 20:33

This is about using Gmail as a free SMTP server. Do you require a free SMTP server?

If not, please contact Gmail for the simple instructions on how to use their service on your phone.


Comment by Jure, on 10-May-2008 05:37

Tnx ... and tnx alot


Comment by Tachyon, on 16-May-2008 02:51

I think there is a lot of assumption going on with regards to google's motivation for changing outgoing mail headers. There's no basis to assume they are 'stealing' your mail so that replies will come to them. Quite the opposite. The change was most certainly to provide better service to people using gmail in the way you guys are using it. Think about it. SPAM is becoming a huge problem, so much so that even the laziest and or most incompetent sysadmins are changing their mail servers to filter SPAM and stop relaying. So, if you sent a message from [email protected] and it went through gmail's SMTP server, these days 90% of receiving servers would reject due to relaying, and worse, gmail's servers would likely get added to a lot of block lists like spamhaus for being a SPAM relay. Instead, by rewriting the headers they assure that the sender system and the from address system match so your mail gets through. They even go to the extra trouble of putting the "on behalf of [email protected]" line in the message so that even though they have had to change the mail headers, the recipient can tell where it really came from. I actually think that this is pretty cool of google to go out of their way to allow people to use their servers in a way that most mail hosts not only don't provide, but forbid in their EULA. IMO this is a nice thing for google to do, and yet another reason to use their service. The REAL, Original Tachyon. Accept no substitutes!


Comment by DSHolland, on 27-May-2008 05:43

The "on behalf of [email protected]" that users with Outlook see makes this unusable as far as I am concerned since there are several user names on the server forwarding mail. Has anybody figured out away to change the configuration so this doesn't happen? I can see the need for Google or others to know what gmail account the mail is coming from but I suspect there are other ways of putting that information in the full header information other than "Sender" or "Return Path" I see from previous postings that some feel that the current configuration has to be this way so mail will not be rejected as relayed spam. I suspect however that a text entry in your DNS file (v=spf1 redirect=gmail-smtp.l.google.com) that indicates Google is authorized to relay on behalf of your domain should prevent that. Thanks.


Comment by Alex Cheshire, on 13-Jun-2008 21:11

Hi Tony I been having problems with my out going mail as i use outlook and my ISP is aol, i downloaded googlemail and tried to use it for my out going mail but it will not work am i right in thinking gmail is the same as goolemail or is that why its not working for me. Thanks Alot Alex


Comment by Richard Ngata, on 27-Jun-2008 13:30

I was 13 years old when my grandmother bought her first loaf of sliced bread, and yes that was awesome....I have 10 grandchildren now, and gmail sounds just as exciting....bring it on!!!!!!


Comment by John, on 27-Jun-2008 20:19

Please send me an invite. sounds like Gmail will solve my smtp system - Thanks for you time and effort with this info.


Comment by Jeremy PARKER, on 3-Jul-2008 01:18

This doesn't work. Regardless of what you put in as your return email address, gmail substitutes your gmail address and it is to that address that replies are sent.


Comment by Deepesh, on 8-Jul-2008 21:28

I want ot know about that how i use my gmail account as smtp or pop3 in asp.net for sending mail to other person


Comment by Patrick Williams, on 25-Jul-2008 06:37

I need your help to use gmail SMTP it keep giving me the error below. please advise me how to use gmail as smtp on a mass sender software 50-8BITMIME 250-STARTTLS 250 ENHANCEDSTATUSCODES 530 5.7.0 Must issue a STARTTLS command first. x55sm6414302hsx.5 Can't Send Message(s): Authentication failed: wrong Username, Password or AUTH method --=== Packet NOT sent ===--


Comment by seampaul, on 25-Jul-2008 08:09

thank youuuuuuuuuuuuuu


Comment by coka maksimovic, on 28-Jul-2008 12:25

@Tony Hughes - thank you a lot for your post with the table and everything! it solved my problem of sending messages ! :)))


Comment by DK SITI UMMIKALTHUM, on 14-Aug-2008 16:39

Hi. I would be thankful if you could send me an invite to Gmail. Thanks


Comment by Kim Wells, on 15-Aug-2008 14:55

I need a gmail account.


Comment by Ajasko Ajasko, on 16-Aug-2008 01:13

Can someone teach me on how to get smtp?


Comment by Jake Maverick, on 18-Aug-2008 11:18

Yeah...having exactly same problem!!! Hook me up please? ;-)


Comment by bethram, on 4-Sep-2008 12:59

how can i get gmail smtp. please i nead your help here.


Author's note by tonyhughes, on 4-Sep-2008 13:25

@bethram - scroll up and read the article?


Comment by R. Blank, on 8-Sep-2008 12:37

Would appreciate a gmail invitation. Thanks.


Comment by Allen, on 9-Sep-2008 14:19

BEWARE! THIS DOESNT WORK ANYMORE!!! your original email account will be substituted as the gmail one! This page should be deleted.


Comment by Irvin, on 19-Sep-2008 00:59

@Alan Open Google mail and go to Settings, Accounts. Add your "regular" email address under "Send mail as:" and make it the Default. Then click the radio button next to "Always reply from my default address". Job done"!


Comment by elemwalker, on 25-Sep-2008 05:43

Hi Tony, A really useful page, thanks. Unfortunately I am getting an error message when I do this, just for sending the email, saying it doesn't recognise the email address. Pop3 to my isp works fine, it's just the smtp that doesn't seem to work properly. Any help would be much appreciated, I've tried every combination and had no luck with it. Thanks


Comment by elemwalker, on 25-Sep-2008 06:47

FYI The exact message reads: 'Unable to send test message: Please verify the Email address field' I have googled answers on this, but nothing seems to work, email, password etc are all correct as are the settings. I've tried disabling Norton too, but no effect. Very frustrating, if anyone out there has any ideas what else to try.


Comment by victor, on 30-Sep-2008 03:48

please i need smtp.gmail.com.username and password. when i use my advened mass serder software, is alway like this 530 5.7.0 Must issue a STARTTLS command first. g17sm217040nfd.3 Can't Send Message(s): Authentication failed: wrong Username, Password or AUTH method


Comment by solomon, on 30-Sep-2008 04:18

i need smtp.gmail.com account username and password best reg engr solomon


Comment by Rituraj, on 30-Sep-2008 09:11

Hi I would like to use GMail SMTP server to enable a Security camera I have installed in house to send a mail. The Camera has a feature of Motion detection and once detected it can send an Email ( if Connected to the Internet). In the configuration I saw it needs the following information SMTP Server 1, Server 2 SMTP Account Name for Server 1 and server 2 SMTP Password for Server 1 and Server 2 I have a GMail Account but am not sure what information I need to put in the configuration. Please Help Regards Rituraj


Comment by elemwalker, on 4-Oct-2008 05:42

Hey I cracked the problem!!! It seems like I wasn't alone, lots of lost questions out there. Had to download Windows Outlook Service pack 3 from the Windows update centre. After that have now FINALLY got it working! Best of luck everyone else.


Comment by Jake Maverick, on 10-Oct-2008 11:36

still waiting!!!


Comment by sintia, on 2-Nov-2008 02:24

i would like to have a gmail account


Comment by free smtp account, on 28-Nov-2008 02:14

I suppose all of you guys already found the solution with Gmail. But if somebody still experience problems sending emails, I can suggest free account from smtp.com. Here is URL, where you can apply for the account http://www.smtp.com/free-smtp-server.html


Comment by Ashwin, on 30-Dec-2008 04:53

I need your help.......... can we use java mail api as an interface to connect between user system and gmail account......and also can we transfer files from user system to gmail account using java mail api


Comment by Sten Regild, on 31-Dec-2008 11:45

I want to obtain access to a free SMTP server Regards Sten


Comment by D. Miller, on 25-Jan-2009 19:06

I am old and brand new to internet. I appreciate all of the experience you bring to me. I am so afraid of the scams and popups and such. Thanks


Comment by chairiel, on 26-Jan-2009 20:49

Thanks before I need set up a free smtp at my thunderbird browser. But until these day, I can't used my smtp. could u please setup my smtp at gmail at my new account mail. regard


Comment by lito, on 27-Jan-2009 05:18

i need to set up a free smtp server..send me an invitation..tnx


Comment by Vishal Joshi, on 10-Feb-2009 01:07

Hey if you want to send mail using gmail then use this API. I have developed it. visit: http://gmailsender.blogspot.com Here you will get all information of sending mail using java code using my api.


Comment by Jassim Raja, on 10-Feb-2009 19:53

Thanks a lot! All my outbound emails are going thru gmail now :) I was getting sick by using my ISP's SMTP server which didn't seem to work!


Comment by Kryptic, on 15-Feb-2009 16:53

Hey man an invite would be really nice. No rush take your time when your ready! Thanks again...


Comment by Pete, on 16-Feb-2009 04:08

Hi Tony, Firstly I'd appreciate a gmail invite. Secondly, can you suggest the most economical way to send bulk email, say 5000 per month. It is a business idea, but I am happy to abide by anti-spam rules. Regards, Pete


Comment by Steve, on 17-Feb-2009 05:53

Hi Pete, Why do you need invitation? You can register yourself at gmail without anything. I have just sign up 5 minutes ago. Hey BTW, I am also interested in mass email sending... Regards, Steve


Comment by Elite, on 20-Feb-2009 07:20

How many emails can you send with gmail smtp server per day? Anyone know? Because i tryes it and sometimes its more, sometimes less.


Comment by Sarah Kelvin, on 20-Feb-2009 14:41

how do i get a gmail smtp to work with my mass sender software


Comment by Steve, on 21-Feb-2009 08:56

Elite! It was 600 2 days ago.


Comment by Steve, on 21-Feb-2009 09:01

Sarah! You need an account at gmail.com. See details at the start of this blog written by Tony. Anyway which sw is it?


Comment by Tolu, on 1-Mar-2009 06:03

I used the gmail smtp server and it worked but the message header has my gmail account as the from : email , how do i change that to my corporate e-mail address? 1) Is there a way out using gmail smtp server? 2) Can you give me suggestions of companies i can use apart from gmail that will not replace my corporate e-mail address with gmail account. 3) Suggest paid smtp service providers to me 4) am using sendblaster application to send out newsletters to my clients. br, tolu


Comment by rauf, on 3-Mar-2009 08:30

Hi, Please send me an invite for g mail


Comment by Laurie Johnson, on 11-Mar-2009 06:45

I would like to set up a gmail account.


Comment by Adnan, on 26-Mar-2009 22:49

Hello, Please invite me. Thanks


Comment by lluis, on 31-Mar-2009 06:47

What are you people still doing here? Gmail is open now, anyone can join! Shoo!


Comment by Tony Rule, on 6-Apr-2009 13:11

I wish I'd read ALL the posts before trying to use the GMAIL SMTP server for outgoing. If I'd known it would substitute the email address I was sending from with my gmail one I wouldn't have bothered. I was just looking for a SMTP server to get around the useless one at Woosh which isn't delivering some emails. Arrrrrrrrrrggggggggggggh!


Comment by Dio, on 8-Apr-2009 10:14

I noticed that gmail starts to recognize emails sent thru their smtp server as spam after sending about 100 emails. I dont know how they do it


Comment by free email smtp server, on 12-Apr-2009 23:00

I appreciate all of the experience you bring to me. I am so afraid of the scams and popups and such. Thanks


Comment by Firoz, on 13-Apr-2009 07:52

Almost 3 years later, this article has helped me. Thanks very much.


Comment by sand, on 9-May-2009 17:52

please i need an invite from you ASAP


Comment by Michal, on 17-May-2009 10:34

Hi! I would be gratefull for a GMail-STMP :)


Author's note by tonyhughes, on 17-May-2009 10:58

Michal, check your inbox I have sent you an SMTP to use.


Comment by Kevin Mc, on 19-May-2009 15:39

Tony. Just thought I would let you know that since I discovered this post about 18 months ago, I share this often with others like me who travel and get frustrated with not being able to send emails via Outlook from the wifi in my hotel b/c outgoing emails get blocked. Gmail's smtp server does not get blocked! Thanks again for this useful tip.


Author's note by tonyhughes, on 20-May-2009 09:13

Thanks Kevin. Its nearly at 300,000 page views now, which is pretty cool. So yeah, I think it gets lots of use!


Comment by Ara Manuelian, on 24-May-2009 20:16

I would like a gmail account please


Comment by jahdasa, on 25-May-2009 00:39

i set host: smtp.gmail.com port: 465 gmail-account: ${username}, ${password} and set ssl and tls active nexus application used this smtp server successfully. tnx.


Comment by kaushal, on 25-May-2009 18:42

i used the the smtp host smtp.gmail.com and ports 456 and 587 on a software that automatically sends email. when i tested it i got an error: failed to connect to smtp server socket is not connected


Comment by Anil Dhami, on 8-Jun-2009 19:38

Hello sir I am trying to use SMTP server through JAVA for sending mail .... Can I use GMAIL for this?? will GMAIL provide this facility ????


Comment by Ahmed, on 15-Jun-2009 19:05

Hi, I'm using gmail as my account and smtp. My problem begins when I try to connect my account via MS outlook. Gmail specifies my IP address in sent emails. Has anybody a solution to keep the anonymity using Gmail/Outlook? tnx


Comment by geran, on 19-Jun-2009 02:10

hi, can i use the SMTP server of Gmail in 'PHP script' thanks for this info....


Comment by patrick, on 15-Jul-2009 03:17

why so many comments about getting gmail accounts? surely its just 1. go to mail.google.com 2. sign up for a google account 3. sign up. am i missing something?


Author's note by tonyhughes, on 15-Jul-2009 08:28

@patrick - just people not smart enough to figure that for years you have been able to just "go and get gmail"


Comment by Adam, on 25-Jul-2009 10:58

Thanks for the guide, tony please can you tell me of any other free smtp relay services that can display my own domain as I relay through?


Comment by ahmedabumusalam, on 30-Jul-2009 22:40

tech_valley


Comment by ishika, on 5-Aug-2009 18:56

i m using Advanced mass sender 4.2 as a email proram to send mails first i had bought an smtp it was working fine but now they have blocked. how can i use gmail settings with this software can u please give a brief description however it only asks for server name: userid (helo):User (default) port:25 (default) cc/bcc size:50 (default) use authentication username: password:


Comment by sivakrishnam, on 29-Dec-2009 00:31

please send me my smpt server


Comment by Brian Lockhart, on 7-Jan-2010 16:11

thanks , i would like the incoming, outgoing,info


Comment by tranhuutan, on 25-Jan-2010 13:43

ac


Comment by shahid, on 18-Feb-2010 02:00

i am travelling in usa for 2 weeks. incoming server is as my website email account. i need the smtp server fpr outgoing message through outlook.


Comment by donna-Australia, on 18-Feb-2010 18:23

Hi. I'm using apple mail on a macbook and its great to be able to send my mails out from anywhere using gmail outgoing server whether I'm using mobile broadband or wifi....but...has anyone found a solution for the changing of the originating mail address to gmail? I have several business accounts (linked to the domain names of the business) and I dont want mails to appear to be sent from my personal gmail account. Seems to be no way around it?


Comment by quang, on 10-Apr-2010 22:57

The code found in this example should be fairly straightforward, so I won't elaborate on its contents, although it's worth noting that in this particular case PHP's OpenSSL extension must be enabled, because Gmail requires an SSL connection in addition to SMTP authentication. If your server doesn't require SSL, you should be able to authenticate without necessarily reconfiguring PHP to include this extension.


Comment by Ianskee, on 18-Mar-2011 13:22

Hi more power to all! How much is the limit per day when sending mass email if I use gmail for my smtp server? Can I send 5000 email list in a day? I use this to send news letter to my contacts. Thanks


Comment by uche, on 21-Apr-2011 00:44

pls send me an invite so i can start off immediately


Comment by prince Jasper, on 26-Jun-2011 23:58

How to create an smtp account in gmail for sending an email from a newly created website


Comment by santos, on 17-Jul-2011 18:15

can this be used with AMS (advanced mail sender) if not can you help me with how to generate the smtp codes for the use on AMS


Comment by Steve Gruhlke, on 19-Jul-2011 02:15

could you send me through to get a gmail account.


Comment by vinod kumbhar, on 10-Sep-2011 20:50

Great dude ,nice information i used it,working very useful ,thanks once again..............


Comment by kingdom, on 12-Oct-2011 18:32

i will really appreciate it if you will create an smtp for me and tell me how it all works. keep your good work going we all appreciate it.


Comment by chris kibuchi, on 13-Oct-2011 02:19

I have a problem in using mail API to send email from Gmail in Java application. I am getting this error while trying to connect: javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com; nested exception is: java.net.UnknownHostException: smtp.gmail.com at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) at javax.mail.Service.connect(Service.java:275) at javax.mail.Service.connect(Service.java:156) at Mail.sendMail(Mail.java:77) at Mail.main(Mail.java:30) Caused by: java.net.UnknownHostException: smtp.gmail.com at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) at java.net.Socket.connect(Socket.java:546) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:579) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:163) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250) ... 5 more



Comment by Mario, on 10-Jan-2012 16:28

I would very much appreciate an invite to use the free SMTP server. thank you.


Comment by B7, on 10-Mar-2012 13:30

Thank you! After working all day trying to get SMTP working from PHP, this did it! Here's the PHP code I used: Thanks!


Comment by hary, on 29-May-2012 22:29

Dear Tony, thanks for your advice, we can now using gmail SMTP for sending our automated generated email from our project management server. Its really helpful and it runs perfectly now. Thanks again. Regards, Hary


Comment by Scott A. Tovey, on 9-Jun-2012 08:18

For those using php, look at PHPMailer as an alternative to sendmail. http://code.google.com/a/apache-extras.org/p/phpmailer/ There are examples in the download including the use of gmail. As far as email with addresses from your_domain.com, this can be accomplished utilizing Google apps. The standard free version allows for 10 users or email addresses. Scott


Comment by Roden, on 30-Oct-2013 10:29

Thanks Tony.  My DIY CCTV motion detection and email sending worked with your tip.


Comment by Chuck, on 22-Nov-2013 15:03

There is another free option provided by smtp2go, allowing 20 emails/day: http://www.smtp2go.com/signup


Add a comment

Please note: comments that are inappropriate or promotional in nature will be deleted. E-mail addresses are not displayed, but you must enter a valid e-mail address to confirm your comments.

Are you a registered Geekzone user? Login to have the fields below automatically filled in for you and to enable links in comments. If you have (or qualify to have) a Geekzone Blog then your comment will be automatically confirmed and shown in this blog post.

Your name:

Your e-mail:

Your webpage:



Subscribe To My RSS Feed