Sending Form

Author Message

Thorsten Stanitzok

Friday 10 December 2004 2:47:19 am

Hi there,

i am very new to eZ publish, so please be patient.

I want to send some forms in my site. I tried to use this example: http://ez.no/ez_publish/documentation/customization/components/form_processing.

But after activating the forms-module, because i have set up ezpublish to "plain" i got following error:

  Error sending SMTP mail: 5.0.0 Need MAIL before RCPT

I think, this error is caused by my SMTP settings, but i have no idea to correct it.

Can you help me?

Thanks in advance
Thorsten Stanitzok

Balazs Halasy

Friday 10 December 2004 4:26:07 am

This is an error message that is generated by the SMTP server. The reason for why this error is generated and returned is that the client is trying to send the recipient (RCPT TO) command before the mail (MAIL FROM) command. This behavior is usually not allowed. In other words, the client (in this case eZ publish using the PHP mail functions) is not communicating with the mail server according to the SMTP standard/specifications. It might be caused by a missing admin/from-mail setting. Please check that your override configuration file for site.ini (/settings/override/site.ini.append.php) contains the following:

[MailSettings]
AdminEmail=yourname@example.com
EmailSender=yourname@example.com

Balazs

PS: Next time: please state what kind of environment/software you are using, for example: Apache version, PHP version and so on.

Balazs Halasy

Friday 10 December 2004 5:49:38 am

Another thing: please try to avoid using the form/process functionality. Use the information collection feature instead. It is more reliable/secure. The form/process feature is going to be deprecated / removed.

Balazs

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

eZ debug

Timing: Jan 20 2025 10:53:59
Script start
Timing: Jan 20 2025 10:53:59
Module start 'layout'
Timing: Jan 20 2025 10:53:59
Module start 'content'
Timing: Jan 20 2025 10:53:59
Module end 'content'
Timing: Jan 20 2025 10:53:59
Script end

Main resources:

Total runtime0.0146 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 589.0313152.6094
Module start 'layout' 0.00450.0023 741.640639.4141
Module start 'content' 0.00680.0057 781.054789.4141
Module end 'content' 0.01250.0020 870.468834.3047
Script end 0.0146  904.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.1680140.0002
Check MTime0.00117.3029140.0001
Mysql Total
Database connection0.00064.216010.0006
Mysqli_queries0.001812.331130.0006
Looping result0.00000.109510.0000
Template Total0.001611.010.0016
Template load0.00096.100210.0009
Template processing0.00074.840310.0007
Override
Cache load0.00064.091810.0006
General
dbfile0.002013.592680.0002
String conversion0.00000.040940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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