PC Review


Reply
Thread Tools Rate Thread

Changing from mail address when mail is sent

 
 
Shiraz Bhaiji
Guest
Posts: n/a
 
      4th Nov 2004
We have a client that wants to be forced to choose the "from address" of a
mail when they press send.



So far we have implemented it based on the following article:



http://www.win2000mag.com/Articles/I...rticleID=15442



This allows the user to write in a reply address.



We have two problems:



1.. When the mail arrives the reply address is OK, but the displayed from
name is the account it was sent from not the account of the reply address. I
have tried to set the sentOnBehalfOff property, but that does not seem to
help.

2.. The client would like to be able to select an address using a drop
down box. I do not think that it is possible using a message box, and I have
not been able to find out how to display a form from the
Application_ItemSend event.
Thanks



Shiraz




 
Reply With Quote
 
 
 
 
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
Posts: n/a
 
      4th Nov 2004
If you are not using Exchange, you can change the displayed From address on
the recipient's end by using Outlook Redemption:

http://www.dimastr.com/redemption/faq.htm#14

If you are using Exchange, then you need to give the sending user "Send As"
rights (not Send on Behalf of via Delegation) on the chosen delivery mailbox
in order for the latter name to be displayed:

How to grant "Send as" and "Send on behalf" permissions in Exchange 2000
Server:
http://support.microsoft.com/default...roduct=OFF2003

To display a list of possible e-mail addresses to choose from, you could
either design a UserForm in your Outlook VBA project, or use CDO's
Session.AddressBook method to display Outlook's Address Book dialog.

A custom form is possible as well, but a little trickier. You'd just
instantiate your custom form in Item_Send like this:

Set myForm = MyFolder.Items.Add("IPM.Note.CustomFormName")
myForm.Display

Where MyFolder is where you have the form published.

--
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--------------------------------------------------
{Private e-mails ignored}
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/


"Shiraz Bhaiji" wrote:

> We have a client that wants to be forced to choose the "from address" of a
> mail when they press send.
>
>
>
> So far we have implemented it based on the following article:
>
>
>
> http://www.win2000mag.com/Articles/I...rticleID=15442
>
>
>
> This allows the user to write in a reply address.
>
>
>
> We have two problems:
>
>
>
> 1.. When the mail arrives the reply address is OK, but the displayed from
> name is the account it was sent from not the account of the reply address. I
> have tried to set the sentOnBehalfOff property, but that does not seem to
> help.
>
> 2.. The client would like to be able to select an address using a drop
> down box. I do not think that it is possible using a message box, and I have
> not been able to find out how to display a form from the
> Application_ItemSend event.
> Thanks
>
>
>
> Shiraz
>
>
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: changing e-mail address Gary VanderMolen Windows Vista Mail 1 10th Dec 2008 01:20 AM
Select distinct e-mail address from 1 table with 2 columns/e-mail to 1 column/e-mail NielsM Microsoft Access Queries 0 5th Oct 2006 12:07 AM
changing e-mail address Richard Windows XP Messenger 1 24th Mar 2005 01:21 PM
Changing outgoing e-mail address =?Utf-8?B?THluIEc=?= Microsoft Outlook Discussion 2 19th Sep 2004 04:27 PM
changing default e-mail address Microsoft Outlook Discussion 1 7th Apr 2004 10:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:21 PM.