Support Forums

How to setup SMTP for Gmail?

This is a discussion on How to setup SMTP for Gmail? within the Technical Support forums, part of the Technical Support Forums category; Mike, I have not used hosting service email before. After noting your question above, I tried SMTP with hosting service ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 12-04-2010, 05:03 PM   #11
Customer
 
Join Date: Dec 2009
Posts: 59
Rep Power: 9
user2616 has a spectacular aura about
Default

Mike,

I have not used hosting service email before.

After noting your question above, I tried SMTP with hosting service email as follows:

Created an email account using cPanel.

cPanel shows Manual Settings as follows:
Mail Server Username: username+mydomainname
Incoming Mail Server: mail.mydomainname
Incoming Mail Server: (SSL) hostingdomainname
Outgoing Mail Server: mail.mydomainname (server requires authentication) port 26
Outgoing Mail Server: (SSL) mail.mydomainname (server requires authentication) port 465
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)

I configured 68C Main Settings as follows:
Site Email: username@mydomainname
Use SMTP: Yes
SMTP Server Address: mail.mydomainname
SMTP Username: username+mydomainname
SMTP Password: ******
SMTP Port: 465

But, still no email is received in Inbox or Spam folder.

I do not know how to enable SSL in 68C.

I configured 68C Main Settings as follows:
Site Email: username@mydomainname
Use SMTP: No

Now, email is received in Inbox or Spam folder.
__________________
user2616
v4.1.9 Developer - Default Template (custom)
user2616 is offline   Reply With Quote
Old 12-04-2010, 05:34 PM   #12
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by user2616
SMTP Port: 465
did your host tell you that you needs SSL or port 465? That post is not the default for SMTP.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-04-2010, 05:58 PM   #13
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

If you are using cPanel, you may actually be putting your username in incorrectly.

You posted:
SMTP Username: username+mydomainname

On every cPanel configuration that I've used for myself or my clients, the SMTP Username is actually
username@mydomain (e.g. the full email address, example: [email protected])

Why do you keep dwelling on this SSL? You don't need to use SSL for the outgoing email. You don't need to activate SSL in 68C for email. Activating SSL in 68C is for collecting payments to you. SSL is used with an SSL certificate. Do you have an SSL certificate?
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 12-04-2010, 07:01 PM   #14
Customer
 
Join Date: Dec 2009
Posts: 59
Rep Power: 9
user2616 has a spectacular aura about
Default

Larry,

In cPanel, Mail Client Configuration page, I click the link "Auto-Configure Microsoft Outlook 2000� for POP3 Access (SSL)"

System generated a .reg file.
Saved .reg file in my PC.

SMTP lines in the .reg file look as follows:
"SMTP Server"="hostingservername"
"SMTP Port"=dword:000001d1
"SMTP Display Name"="username@mydomainname"
"SMTP Email Address"="username@mydomainname"
"SMTP Reply To Email Address"="username@mydomainname"
"SMTP User Name"="username@mydomainname"

I configured 68C Main Settings as follows:
Site Email: username@mydomainname
Use SMTP: Yes
SMTP Server Address: hostingservername
SMTP Username: username@mydomainname
SMTP Password: ******
SMTP Port: 465

But, still no email is received in Inbox or Spam folder.

I tried SMTP Port as blank.

I configured 68C Main Settings as follows:
Site Email: username@mydomainname
Use SMTP: Yes
SMTP Server Address: hostingservername
SMTP Username: username@mydomainname
SMTP Password: ******
SMTP Port: (blank)

Now, email is received in Inbox or Spam folder.

I am not sure if the above configuration is SSL because SMTP Port is not set as 465.

also, I do not know how to enable SSL in 68C.

In cPanel User Guide, Configure an Email Client page shows as:
http://docs.cpanel.net/twiki/bin/vie.../EmailAccounts > Configure an Email Client

I do not find any other instruction in cPanel.

By the way, my objective is to configure 68C SMTP for Gmail.
__________________
user2616
v4.1.9 Developer - Default Template (custom)

Last edited by user2616; 12-04-2010 at 07:09 PM.
user2616 is offline   Reply With Quote
Old 12-05-2010, 10:26 AM   #15
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Your still not telling me, when trying to use your web hosts e-mail, why you set it to port 465.

You need to stop mixing and matching directions from different mail systems and focus on what ever one it is your trying to test. Just because gmail said to use ssl/tsl and port 465 does not mean thats what you use to for smtp mail on your web host.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-05-2010, 10:47 AM   #16
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

On a completely different note, my question to you is WHY do you want to use gmail for your web site's administrative email service and communication?

gmail is one of many FREE email systems available, which also means that it one of the frequently used email systems for fraudsters and spammers (because it's free). Seriously, how many SPAM mails are sent from yahoo, hotmail and gmail??? Answer: in the hundreds of millions.

I personally won't do online business with a company that doesn't send out it's email communications from it's own domain with the exception of already well known big time companies that sometimes contract out their communications to a third party.

One of the most basic rules in use for spam filtering is whether the email being sent, actually matches the domain it which it claims it is from. (e.g. message from myclassifieds.com, but actually was sent from gmail.com)
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 12-05-2010, 04:15 PM   #17
Customer
 
Join Date: Dec 2009
Posts: 59
Rep Power: 9
user2616 has a spectacular aura about
Default

Larry,

Basically, I am using the parameter values that I got from the cPanel(hosting).

I explain how I got the SMTP Port as 465.

As I mention in my previous reply, in cPanel(hosting) I generated the .reg file for MS Outlook that configure the SMTP (SSL).

I look at the .reg file to find out the parameter values that were generated by cPanel (hosting).

I found the following line in the .reg file:
"SMTP Port"=dword:000001d1

The number 1d1 cannot be a decimal number as it contains alpha character.
Then I suspected that the number may be hexadecimal.
Tried converting 1d1 ( hexadecimal) to decimal number.
1*256+13*16+1 = 465
What a magic, it is 465 again !

This is how I got SMTP Port as 465.

===================

Mike,

Your message makes very good sense to me.

As I got so used to Gmail, I never tried hosting email until you asked me in your earlier reply that why I am not using hosting email.

As part of testing SMTP with 68C, I am learning good stuff from all of you the experts.

I will need to study what are the places I am using Gmail and work out a plan to migrate to hosting email.

Thanks for your message.

===================

At the moment, I am keen to configure 68C to use SMTP.
__________________
user2616
v4.1.9 Developer - Default Template (custom)
user2616 is offline   Reply With Quote
Old 12-05-2010, 04:26 PM   #18
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

But are you using outlook? if not then the reg file generated for it has little bearing since with 68C your not using SSL. and since your not using SSL and cpanel gave you the following details.....

Quote:
cPanel shows Manual Settings as follows:
Mail Server Username: username+mydomainname
Incoming Mail Server: mail.mydomainname
Incoming Mail Server: (SSL) hostingdomainname
Outgoing Mail Server: mail.mydomainname (server requires authentication) port 26
Outgoing Mail Server: (SSL) mail.mydomainname (server requires authentication) port 465
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
Why not try using the port 26 like it says for Outgoing Mail Server?
__________________
Larry

Knowledge learned is more valuable than knowledge given.

Last edited by Lhotch; 12-05-2010 at 04:29 PM.
Lhotch is offline   Reply With Quote
Old 12-05-2010, 06:24 PM   #19
Customer
 
Join Date: Dec 2009
Posts: 59
Rep Power: 9
user2616 has a spectacular aura about
Default

Larry,

I configured 68C Main Settings as follows:
Site Email: username@mydomainname
Use SMTP: Yes
SMTP Server Address: hostingservername
SMTP Username: username@mydomainname
SMTP Password: ******
SMTP Port: 26

Now, email is received in Inbox or Spam folder.

I am happy to see that 68C SMTP is working (non-SSL).

Going back to Gmail SMTP.

Gmail Standard instructions:
Use SSL: Yes

How to set SSL: Yes in 68C?
__________________
user2616
v4.1.9 Developer - Default Template (custom)
user2616 is offline   Reply With Quote
Old 12-05-2010, 07:05 PM   #20
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by user2616
How to set SSL: Yes in 68C?
The simple answer is you dont. 68C uses the php mailer class which doesnt support ssl nativly but may be modified to support it.

SourceForge.net: PHPMailer: Topic: SMTP over SSL
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Reply

Tags
gmail , smtp

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you ban gmail users from registering? JoeT Technical Support 2 06-02-2010 12:18 PM
Issue During Setup nashford Technical Support 5 07-27-2009 05:34 AM
Email settings : does SMTP runs OK ? philoo Technical Support 5 04-27-2009 05:23 AM
How do I setup sub categories? YourPalAl Technical Support 2 04-28-2008 10:44 PM


All times are GMT -4. The time now is 10:02 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0