[EMAIL PROTECTED] ha scritto:
Hi,
I am developing an Mail Relay application that uses Server JAMES to do the
work.
I have a Gmail's account .
I used Mail Client to send a message to JAMES.Then JAMES will relay this
message to Gmail,but Gmail requires authentication username and password.
How to get username and password from JAMES to relay the mail to Gmail?
Thanks!!!
You can't. Passwords are store encrypted. We can only check if a
password is valid but we cannot know the password content.
BTW what exactly are you trying to do?
Do you want to relay *every* message sent to JAMES to a gmail server
that will handle the delivery? In this case why don't you use gmail as
SMTP server in your mail client? Why do you need to use gmail and you
can't use JAMES built-in RemoteDelivery.
Or you simply what to send to gmail messages destinated to gmail
addresses? If I understood your message this is your case. You don't
need a username/password to deliver mail messages to gmail addresses. It
will simply work out of the box. There is no need to use authentication
when sending mails via SMTP if the SMTP server is an MX server for the
recipient domain.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]