Author |
|
hamipers Newbie
Joined: 06 March 2008 Location: United States
Online Status: Offline Posts: 11
|
Posted: 15 March 2008 at 12:19am | IP Logged
|
|
|
Hello,
I was checking the Login method of Imap class. I need to pass in username without the domain segment, so instead of myusername@mydomain.com, it will be myusername only. After logging in, I need to know the user's domain name. Is there any way to acquire that?
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 15 March 2008 at 4:53am | IP Logged
|
|
|
The Login method allows specifying username without a domain name, so there should be no problems. With regard to getting domain of the current logged user, IMAP protocol doesn't provide such feature, the only way is to retrieve some message headers and check To field and analyze recipient's address, but this is not a reliable solution.
Best regards,
Andrew
|
Back to Top |
|
|