Contact Form and Google Apps

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
dracus
Posts: 12
Joined: Thu 29. Mar 2007, 03:48

Contact Form and Google Apps

Post by dracus »

Hello Everybody,

I would like to ask you for help.
Recently I apply for Google Apps, and now all emails from our domain are hosted on Google servers.

But recently I discovered some problems with email form in my domain:
http://theppd.org/index.php?id=5,0,0,1,0,0
If you send a message with this email form and you have an account with gmail, you are not going to receive confirmation from us. And another bad experience, sent form do not arrive to email address hosted on google servers. All the time I am receiving form on my old client for domain, such as webmail.
I am not sure that it can be problem with smtp?
For this moment I have set upped old specifications:

Code: Select all

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@theppd.org'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'The PPD Webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password 
but I tried couple of times to set up with new smtp specyfications:

Code: Select all

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@theppd.org'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'The PPD Webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = 'smtp.gmail.com'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 465; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 1; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = '****'; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = '****'; // default SMTP password 
Didn't work out.

Anybody have any suggestions? Please help me with this bug.

Thanks,
Dracus
dracus
Posts: 12
Joined: Thu 29. Mar 2007, 03:48

done!!!

Post by dracus »

Hi, is workin now.

Should be:

Code: Select all

// smtp values 
$phpwcms['SMTP_FROM_EMAIL']   = 'info@theppd.org'; // reply/from email address 
$phpwcms['SMTP_FROM_NAME']    = 'The PPD Webmaster'; // reply/from name 
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP) 
$phpwcms['SMTP_PORT']         = 465; // SMTP-Server port (default 25) 
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail 
$phpwcms['SMTP_AUTH']         = 1; // sets SMTP_AUTH to ON/OFF 
$phpwcms['SMTP_USER']         = '****'; // default SMTP login (user) name 
$phpwcms['SMTP_PASS']         = '****'; // default SMTP password 
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

recipient is nomally set in content part.

Check that first.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply