Send mail

38 views
Skip to first unread message

Cristian Pérez

unread,
May 20, 2012, 4:58:30 PM5/20/12
to ra...@googlegroups.com
Dear,
I have to send mail from my application, the shipping using the tag CFMAIL, butRailo log gives me errors: see attachment.
as I have to configure the server or set permissions on folders on the server.
Where is it the error?
Thanks
mail.log

Cristian Pérez

unread,
May 20, 2012, 5:02:07 PM5/20/12
to ra...@googlegroups.com
Sorry,
my configuration:
Windowx xp sp2
Railo server 3.0

<cfmail to="cren...@gmail.com
subject="1er envio de mail desde Railo" 
server="mail.deco.cl" port="25" timeout="100">
1
2
3
4
</cfmail>

Rani

unread,
May 20, 2012, 5:27:24 PM5/20/12
to Railo
Hi Cristian,
Log error is obvious enough.
"ERROR","web-0","05/20/2012","16:41:50","mail spooler","550 Access
denied - Invalid HELO name (See RFC2821 4.1.1.1)"
"ERROR","web-0","05/20/2012","16:42:32","mail spooler","Could not
connect to SMTP host: mail.decograf.cl, port: 587;...."

You have misconfigurated mail settings.
Open <root_path_of_your_website>/WEB-INF/railo/railo-web.xml, and look
after:

<mail log="{railo-web}/logs/mail.log" spool-enable="yes" spool-
interval="5" timeout="30">
</mail>

now modify your SMTP settings (username/password, stmp port) according
with SMTP server throught you are sending e-mails:

<mail log="{railo-web}/logs/mail.log" spool-enable="yes" spool-
interval="5" timeout="30">
<server port="<smtp_port>" smtp="<mail_server_name>"
username="<username>" password="password"/>
</mail>

An example:
<mail log="{railo-web}/logs/mail.log" spool-enable="yes" spool-
interval="5" timeout="30">
<server port="25" smtp="mail.mydomain.com"
username="cfsender" password="mypassword"/>
</mail>
Save railo-web.xml and restart railo.

best regards,
>  mail.log
> 8KVizualizaţiDescărcaţi
Reply all
Reply to author
Forward
0 new messages