Forums / Setup & design / Sending Form
Thorsten Stanitzok
Friday 10 December 2004 2:47:19 am
Hi there,
i am very new to Exponential, 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 Exponential 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 advanceThorsten 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 Exponential 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.
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.