Problems with email

Author Message

paolo sensini

Sunday 12 December 2004 2:21:08 pm

I am a new user of eZ. I installed corporate model on windows 2000 advanced server and I'm starting to study how customize eZ.
I was trying to make Contact Us form run but I don't succeed anyway.
I set sendamil method in site,ini and, as I read in a reply in this forum, I set in PHP.INI the smtp server to simulate sendmail method. I set an email address of mine in the Contact Us form and I tried it but without any results.
I also add a template, ezmail.tpl, as I read in another forum answer but it doesn't change nothing.

How can I obtain Contact Us form running on my PC? At the moment I'm running eZ standalone and not online, but I would like to use eZ in my future implementations. The only problem to begin is this one, because the sendmail function is mandatory for me.

Can anyone help me?

[email protected]

Balazs Halasy

Monday 13 December 2004 12:16:19 am

Hi,

If I were you, I'd first try the following:

- Reconfigure PHP back to its original state.
- Edit your /settings/override/site.ini.append (or site.ini.append.php) file
- Put in the following block:

[MailSettings]
Transport=SMTP
TransportServer=mail.example.com
[email protected]
[email protected]

(replace mail.example.com, [email protected] with valid host & email)

Remember to restart apache (for PHP to re-read the config file) and clear the eZ publish caches (you would at least need to clear all ini caches).

Balazs

paolo sensini

Monday 13 December 2004 1:08:23 am

I've done all You suggested me but without any results.
Are there changes I've to do in site.ini?
Are there known problems with windows 2000 platform?
Are there changes I've to do in any other file?

Thanx in advance for any suggestion (good and bad ones...)

Balazs Halasy

Monday 13 December 2004 6:52:18 am

If you've configured the settings correctly, this should work.

Do you get any error messages?
Does eZ publish try to relay the mail using the specified SMTP server?
Check the mailserver's log.

Balazs

paolo sensini

Monday 13 December 2004 1:11:14 pm

Mail server is not on my PC. It's an external one... could it be this the problem?
My configuration is exactly as You suggested me, it's for sure.
On my PC I have an SMTP server but, not having a domain, eZ doesn't accept this server as a good one.

Thanx for Your kindness

Paolo

Sergey P

Wednesday 15 December 2004 1:15:03 pm

Smtp server settings should accept login method of auth!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.