473,383 Members | 1,846 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,383 software developers and data experts.

How to get the username property from outlook mail id

Hi,

I shall explain the process in detail so that you guys can get to know what is the problem and give me a solution.

i have to send emails to many persons in a single go. i need my mail to be a little personalised by letting the reciever of my mail show his name. eg: "Dear Thomas". so each person who recieves the mail should have his own name in that mail than the general idea of "Dear user". i am using Outlook and sending mails. How can i do this?

I would be greatful to anyone who throws light in this issue. Thankingyou before hand for spending time drooling over this and making ur cog wheels work for getting an answer to my query.

MindReaver.
Jul 31 '06 #1
2 2098
You can use MS Word to create a mail merge document and set the datasource to the outlook address book. Then you can send all the personalized documents with one "Go".

Tools-> Letters and Mailings -> Mail Merge

Hope it helps
Jul 31 '06 #2
You posted the problem in .NET section so I think you need solution in .NET. Here I'm giving you a little bt of code and you need to do Research. I hope it will useful to you. :-)

using System.DirectoryServices;

root = new DirectoryEntry(ConfigurationSettings.AppSettings["DirectoryServicesPath"], @ConfigurationSettings.AppSettings["DirectoryServicesUserName"], ConfigurationSettings.AppSettings["DirectoryServicesPassword"]);

searcher = new DirectorySearcher(root);


--Sasidhara K Karasi
Aug 1 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

14
by: Brent Burkart | last post by:
I am trying to capture the Windows Authenticated username, but I want to be able to capture the login name that exists in IIS, not Windows. In order to enter my company's intranet through the...
1
by: Joey Lee | last post by:
Hi, I am trying to send mail thru outlook. I have found some code on the web and ws trying it out. I was successful in creating a mail in the draft folder of outlook, however hangs for a long...
7
by: John | last post by:
Having a problem sending emails through vb.net. Our inhouse software automatically sends an email to the programming staff whenever an error is encountered. This code works just fine on machines...
2
by: Pieter | last post by:
Hi, I'm using a thight integration with Outlook 2003 (with an Exchange server) in my VB.NET (2005) application. Until now I'm using the Outlook Object Model, but it appears to be very slow, and...
13
by: academic | last post by:
ToolStripMenuItems do not have a RadioCheck property. Is this feature not available with the new StripMenu or is it just that I haven't found out how? Hard to believe they dropped such a nice...
2
by: mik.sjoblom | last post by:
Hello, I have developed a Access application that needs to read mail from Outlook, versions on Access and outlook are 2003. In the code i use mapi to connect to outlook. When i tries to read the...
0
by: MindReaver | last post by:
Hi, I shall explain the process in detail so that you guys can get to know what is the problem and give me a solution. i have to send emails to many persons in a single go. i need...
3
by: Ken Fine | last post by:
I am using ASP.NET's CreateUserWizard control. I want to force the visitor to use a username and e-mail address that I am providing in programming, and I do not want the visitor to be able to edit...
23
by: andyoye | last post by:
How can I launch Outlook on users machines when they click a button on a web form (InfoPath)? Thanks
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.