1

Topic: How to use gmail as smtp server in admin_options.php?

Hi all,

My local mail server got something wrong, so i want to use my gmail account as system mail acount to send message to new users. How can i set it in "Administration --> Options"? I tryed several times, but failed. sad

Thanks.

Re: How to use gmail as smtp server in admin_options.php?

http://mail.google.com/support/bin/answ … p;hl=en_GB

I doubt the PunBB SMTP system supports SSL though wink

3

Re: How to use gmail as smtp server in admin_options.php?

Another thing, the 'SMTP password' filed is unencrypted.
The html 'input' type  isn't 'password', does it safe?

Re: How to use gmail as smtp server in admin_options.php?

Bibby wrote:

The html 'input' type  isn't 'password', does it safe?

All that setting the input type to "password" does is hide the actual characters in the box so that someone can't look over your shoulder and see what you've typed, so as long you don't let people look at your monitor when you're on the admin panel it's irrelevant.

Bibby wrote:

Another thing, the 'SMTP password' filed is unencrypted.

I don't know much in terms of encryption but AFAIK the problem with that is that while pretty much all PHP environments supported by PunBB will do "one-way" encryption (I'm not quite sure what the correct term is), not all support both encrypting and decrypting. PunBB can encrypt a password submitted by a user upon login and compare it to the encrypted version stored in the database, so there's no need for decryption, but PunBB needs to send the SMTP server a decrypted password, which would require the capability to decrypt an encrypted stored version.

Looking for a certain modification for your forum? Please take a look here before posting.