hi everybody again,
thanks for help!

as posted above i took cygwin and i was able to install yaws-mail, but it is the only thing i could achieve.

first of all i can open http://127.0.0.1:8090/mail.yaws and see string on page "WebMail at foo.bar" but when i press login button nothing happens i.e. infinite page loading process (and yes what is the login/password?). "foo.bar" is because yaws-mail doesn't see yaws-webmail.conf, because mail.read_config function is
applicable only for unix path format and beeing not read file uses default settings from defs.hrl. i also tried to trick mail.read_config using "yaws --id some" (or editing "yaws.conf" file to set id=some) and setting env variable "HOME", but yaws:getuid() always returns {ok,"0"} - and i don't know why!? ok! it is no a great problem - i can rewrite mail.read_config function to fit it to win32 and rebuild yaws-mail.

nevertheless i have something on http://127.0.0.1:8090/mail.yaws with defaults parameters and i can try to send an email. i tested a lot of set of Server name but vainly.
1> smtp:send("foo.bar","mi@mail.com","mi@mail.com","hi","hi",[]).
** exception error: no match of right hand side value {error,nxdomain}
     in function  smtp:smtp_init/3 (c:/Yaws/APPLIC~1/mail/src/smtp.erl, line 98)
     in call from smtp:send/6 (c:/Yaws/APPLIC~1/mail/src/smtp.erl, line 23)
2> smtp:send("127.0.0.1","mi@mail.com","mi@mail.com","hi","hi",[]).
** exception error: no match of right hand side value {error,econnrefused}
     in function  smtp:smtp_init/3 (c:/Yaws/APPLIC~1/mail/src/smtp.erl, line 98)
     in call from smtp:send/6 (c:/Yaws/APPLIC~1/mail/src/smtp.erl, line 23)
3> smtp:send("mail.foo.bar","mi@mail.com","mi@mail.com","hi","hi",[]).
** exception error: no match of right hand side value {error,nxdomain}
     in function  smtp:smtp_init/3 (c:/Yaws/APPLIC~1/mail/src/smtp.erl, line 98)
     in call from smtp:send/6 (c:/Yaws/APPLIC~1/mail/src/smtp.erl, line 23)

i investigated smtp module and noted that it uses 25 port "gen_tcp:connect(Server, 25, ..." and i don't know if there is any server on this port or no and what is its name. here is my config for yaws-mail.

<server mail.mysite.com>
    port = 8090
    listen = 127.0.0.1
    docroot = "C:\mysite\yaws-mail\mail"
    appmods = attachment
</server>

the open question is how to send an email? and how to login to yaws-mail?

thanks
~Alex