473,394 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to retrieve SMTP address from an EXCHANGE address ?

Hi All,

When I try to get the email address of the current user, I retrieve a string
like this that represents the email address:

/o=ORGANIZATION/ou=Sede/cn=Recipients/cn=USERNAME

What can I do to retrieve the smtp address from this exchange address?

Thank you!

Noro
Jan 13 '07 #1
2 3318
Woudl retiving the SMTP from AD surfice or do you need to interigate exhcnage?

Daniel Brown

"Noro" wrote:
Hi All,

When I try to get the email address of the current user, I retrieve a string
like this that represents the email address:

/o=ORGANIZATION/ou=Sede/cn=Recipients/cn=USERNAME

What can I do to retrieve the smtp address from this exchange address?

Thank you!

Noro
Jan 15 '07 #2
I'm developing an Outlook Add-in with VSTO (C#).
When I try to get the email address of the current user, I use a line like :
string MailAddress = This.ActiveExplorer().Session.CurrentUser.Address;

I want to retreive the smtp email address using the instance of Outlook that
the VSTO project create automatically without having to access to AD.
It is possible ? otherwise how can i interogate exchange ?

Thanks in advance,
Noro
"Daniel Brown" <Da*********@discussions.microsoft.coma écrit dans le
message de news: F6**********************************@microsoft.com...
Woudl retiving the SMTP from AD surfice or do you need to interigate
exhcnage?

Daniel Brown

"Noro" wrote:
>Hi All,

When I try to get the email address of the current user, I retrieve a
string
like this that represents the email address:

/o=ORGANIZATION/ou=Sede/cn=Recipients/cn=USERNAME

What can I do to retrieve the smtp address from this exchange address?

Thank you!

Noro

Jan 15 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from...
0
by: Jim Adams | last post by:
In an Exchange environment, a user can have several SMTP email addresses in addition to their default SMTP address. When querying the "mail" property of a user, only the default SMTP address is...
0
by: Mark Miller | last post by:
I'm puzzled by this situation. I'm running on Windows XP Pro 2002 SP 2. I started on an ASP.Net project, initially using the standard SmtpServer and MailMessage classes. For testing, I used the...
2
by: Rob Meade | last post by:
Hi all, I have no knowledge of Exchange server, and have always used CDO to send emails from ASP in the past. My problem now is that the server in question doesn't have SMTP installed alongside...
9
by: Bob Jones | last post by:
We have developed a commercial ASP.net application (personal nutrition management and tracking); we want to send smtp email from within it. For our development box, we use WinXP Pro, IIS 5.5,...
4
by: Tushar | last post by:
Please help: I found some of the following information in messeges in this group but I would like someone to confirm them please. I would like to use the following web-services / ASP.Net code to...
0
by: timothy.chester | last post by:
I've doing some scripting, I need to be able to create groups in active directory, and then call the 'exchange tasks' to that an smtp email address is established for each group. I've gotten...
1
by: Michael D. Ober | last post by:
I am writing an application that needs to email to specific users on our Exchange server and need to query it to see if the SMTP address I will be sending to exists. The application will be...
11
by: ibiza | last post by:
Hi all, I am trying to use the System.Net.Mail class for the first time, with ASP.NET 2.0. I setup everything according to http://www.codeproject.com/aspnet/EasySMTP_package.asp, which gives...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.