News:

Wondering if this will always be free?  See why free is better.

Main Menu

GMAIL and the SMTP feature

Started by Dave91, March 03, 2006, 06:30:39 AM

Previous topic - Next topic

MYBESTHOMESnet

Hi all,

Could someone help me have my ssl open at php.ini? I tried the procedure above but still doesn't work.

Error Message: You have forgot to open the SSL.

Attached is my php.ini file.

Thanks

MYBESTHOMESnet


MYBESTHOMESnet


unrelenting

Quote from: MYBESTHOMESnet on September 07, 2007, 05:27:09 AM
help

You're either updating the wrong php.ini file or you aren't allowed to change it or something like that because you have it uncommented correctly in that file.

Fiery

There are many many different people posting requests for help in here (and its rather confusing).

If you are still having issues please post what your exact problem is so we can try to help out.  If you tried a suggestion and it didnt work let us know in that post.

Thanks

walaha

Quote from: Lazybones on September 11, 2006, 10:01:21 PM
To use the GMAIL SMTP feature just do the following:

Found a way to fix this without altering SMF, it is rather simple.

1. Enable the SSL extension in PHP.ini
extension=php_openssl.dll

2. Use the following mail server settings in server setup
Mail Type: SMTP
SMTP server: ssl://smtp.gmail.com <-- ssl:// is case sensitive
SMTP port: 465
SMTP username: [email protected] <-- replace stars with account and domain name.

I cant find php.ini file !

Tompalaz


Quote from: Lazybones on September 11, 2006, 10:01:21 PM
To use the GMAIL SMTP feature just do the following:

Found a way to fix this without altering SMF, it is rather simple.

1. Enable the SSL extension in PHP.ini
extension=php_openssl.dll

2. Use the following mail server settings in server setup
Mail Type: SMTP
SMTP server: ssl://smtp.gmail.com <-- ssl:// is case sensitive
SMTP port: 465
SMTP username: [email protected] <-- replace stars with account and domain name.

should the extenstion for openssl in linux be extension=php_openssl.so?
and were do i put this line in the php.ini file?

unrelenting

It should already be in the php.ini file. You just have to uncomment it meaning delete the ; in front of it.

Sarge

MYBESTHOMESnet, walaha, Tompalaz, have you managed to solve the issues yet?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

rummie

#69
\\\\\\\\\\\\\\\\

青山 素子

Quote from: rummie on December 18, 2007, 05:22:21 PM
you cant find it because it probably isnt where you are looking!

if you create a file called php.ini in the SAME FOLDER WHERE YOUR SCRIPTS ARE RUN FROM

(i.e. in the folder where the INDEX.PHP for SMF is) then that  file is the one that will control how PHP executes)

This only applies to certain hosts. If in doubt, check their support area, or contact them.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


TSWatcher

You may wish to consider a hosting service that allows you access to your own smtp and pop servers. Most have an hourly rate instead of a daily rate like Gmail. My hourly rate is 200 mails an hour so anything more then that gets held until the next hour, and I have yet to actually hit 200 ph.

The TS Watcher

Fiery

Was everyone able to get their problems resolved?

If not please repost your issue.

Thanks

softtouch

We need a module which allow to set:
- smtp server
- port
- Use encrypted protocoll (NO, SSL, TLS)
- SMTP Authentication (username, password)
- Email From (name and email address)

I use something similar with a drupal site, and it send email perfectly via my gmail email account (SSL).
(Note: I host my domain at home on my own server, not hosted at google)
I only installed openssl, enabled it in the php.ini and setup the parameter described above in a module I installed for drupal.

Why is that not possible for SMF?

Sarge

Quote from: softtouch on January 27, 2008, 09:54:05 PM
We need a module which allow to set:
- smtp server
- port
- Use encrypted protocoll (NO, SSL, TLS)
- SMTP Authentication (username, password)
- Email From (name and email address)

It's been explained in this topic. In SMF Admin > Server Settings > Feature Configuration, set:

Mail type: SMTP
SMTP server: ssl://smtp.gmail.com
SMTP port: 465
SMTP username: [email protected] (substitute your account with the administrator e-mail you have registered your domain with in Google Apps)
SMTP password: the one for your administrator Gmail account.

Put the same e-mail address in Admin > Server Settings > Core Configuration tab > "Webmaster Email Address".

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

softtouch

#75
Quote from: Sarge on January 27, 2008, 11:01:14 PM
Quote from: softtouch on January 27, 2008, 09:54:05 PM
We need a module which allow to set:
- smtp server
- port
- Use encrypted protocoll (NO, SSL, TLS)
- SMTP Authentication (username, password)
- Email From (name and email address)

It's been explained in this topic. In SMF Admin > Server Settings > Feature Configuration, set:

Mail type: SMTP
SMTP server: ssl://smtp.gmail.com
SMTP port: 465
SMTP username: [email protected] (substitute your account with the administrator e-mail you have registered your domain with in Google Apps)
SMTP password: the one for your administrator Gmail account.

Put the same e-mail address in Admin > Server Settings > Core Configuration tab > "Webmaster Email Address".

Does not work...

Followed EXACTLY your instruction, but get error in log and no mail is sent:

-> Ran into problems sending Mail. Error: 555 5.5.2 Syntax error k19sm866716rvb.18

I am using SMF 1.1.4
OpenSSL is installed (of course, because it works just fine with my drupal site).

Sarge


    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

falguni1

wot does all this mean.

does smf allow admins to give to provide email service as @urdomain.com.

Sarge

Quote from: falguni1 on January 31, 2008, 02:44:20 AM
does smf allow admins to give to provide email service as @urdomain.com.

SMF does not create e-mail addresses, it simply uses what e-mail address you provide to it, and those addresses should exist.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

softtouch

Quote from: Sarge on January 31, 2008, 01:53:45 AM
Have you configured the MX records and other DNS settings as required by Google?
Step 2: Verify domain ownership
Configuring Your MX Records
Creating Your CNAME Record


Sorry for the late response.
Yes, google is setup properly, and I can easily send emails via drupal using y google accounts for my domain.
But the same settings applied to smf does not work. I will try again...

Advertisement: