Forums / Setup & design / Problems with email

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?

psensini@fastwebnet.it

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
AdminEmail=yourself@example.com
EmailSender=yourself@example.com

(replace mail.example.com, yourself@example.com 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!

eZ debug

Timing: Jan 20 2025 09:03:11
Script start
Timing: Jan 20 2025 09:03:11
Module start 'content'
Timing: Jan 20 2025 09:03:11
Module end 'content'
Timing: Jan 20 2025 09:03:11
Script end

Main resources:

Total runtime0.0292 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0098 588.9297180.8438
Module start 'content' 0.00980.0083 769.773497.9609
Module end 'content' 0.01810.0110 867.734474.7031
Script end 0.0291  942.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00279.2747120.0002
Check MTime0.00124.1608120.0001
Mysql Total
Database connection0.00093.199610.0009
Mysqli_queries0.004816.554240.0012
Looping result0.00000.165020.0000
Template Total0.010536.010.0105
Template load0.00082.908110.0008
Template processing0.009733.077510.0097
Override
Cache load0.00061.996710.0006
General
dbfile0.006121.0009100.0006
String conversion0.00000.040830.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs