[Yanel-usage] SMTP Authentication implemented

Michael Wechner michael.wechner at wyona.com
Sun Sep 12 13:29:08 CEST 2010


Hi

In order to prevent spam, many mail servers are configured such that 
relaying messages to other hosts/domains is only possible if
one is using SMTP authentication.

I have implemented this now for Yanel, whereas one can configure the 
username and password by setting

<smtp host="mail.wyona.com" port="587" username="MY_USERNAME" 
password="MY_PASSWORD"/>

either within

conf/local/local.yanel.xml

or within

local/apache-tomcat-5.5.20/webapps/yanel/WEB-INF/classes/yanel.xml

whereas the implementation is part of the two classes

Sending        src/core/java/org/wyona/yanel/core/Yanel.java
Sending        src/core/java/org/wyona/yanel/core/util/MailUtil.java
Transmitting file data ..
Committed revision 53150.

WARNING: The username and password is sent as plain text, because I have 
not implemented any
secure connection mechanism such as TLS or SSL yet, whereas I have made 
a bugzilla entry:

http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=7810

Cheers

Michael


More information about the Yanel-usage mailing list