A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Sending a test email to sender's own account.



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 10th 09, 09:17 PM posted to microsoft.public.outlook.program_vba
Henry
external usenet poster
 
Posts: 4
Default Sending a test email to sender's own account.


I've written a program that sends an email to everyone on an Excel
spreadsheet mailing list. I want the user to be able to send themselves a
"test" mail, to confirm that the contents and attachments are correct,
before sending to the whole list. Is there a way to get Outlook to find the
current user's address to put in the To field? Something like:- Message.To =
ME, where ME is the current user's address?

Henry



Ads
  #2  
Old May 10th 09, 10:25 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Sending a test email to sender's own account.

Application.Session.CurrentUser.Address

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Henry" wrote in message
...

I've written a program that sends an email to everyone on an Excel
spreadsheet mailing list. I want the user to be able to send themselves a
"test" mail, to confirm that the contents and attachments are correct,
before sending to the whole list. Is there a way to get Outlook to find
the current user's address to put in the To field? Something like:-
Message.To = ME, where ME is the current user's address?

Henry





  #3  
Old May 11th 09, 04:12 AM posted to microsoft.public.outlook.program_vba
Henry
external usenet poster
 
Posts: 4
Default Sending a test email to sender's own account.

Thanks very much Dmitry.

Henry

"Dmitry Streblechenko" wrote in message
...
Application.Session.CurrentUser.Address

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Henry" wrote in message
...

I've written a program that sends an email to everyone on an Excel
spreadsheet mailing list. I want the user to be able to send themselves a
"test" mail, to confirm that the contents and attachments are correct,
before sending to the whole list. Is there a way to get Outlook to find
the current user's address to put in the To field? Something like:-
Message.To = ME, where ME is the current user's address?

Henry







 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Error when sending emails to secondary account. nrhammer Outlook - Using Contacts 1 August 9th 08 04:56 PM
Choose the email account when sending emails via VBA Catalin Outlook and VBA 4 January 14th 08 06:47 PM
Help with sending email through my AOL account [email protected] Outlook Express 1 November 9th 06 08:06 PM
Still cannot resolve error on test email account settings Lori Ann Kuiper Outlook - Installation 1 July 19th 06 09:14 PM
Unable to send test message when setting up email account Brad Outlook - General Queries 9 January 11th 06 02:44 PM


All times are GMT +1. The time now is 02:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.