autofill the “From” field

Joined
Oct 27, 2005
Messages
1
Reaction score
0
Hello,



Can anybody help me with the following problem/script.



I need (for my work) to make a button in outlook and when i press that button, a new mail message appears. Then automatically the "from" field must be filled in (with an email adres witch never changes.



The opening a new email message with a button I already have, but the auto filling of the “From” field is the problem.



I use the following VBA script (assigned to a new button) for opening a new email message (IPM.Note):


Code:
 Sub DisplayForm()
	Set myFolder = Session.GetDefaultFolder(olFolderInbox)

	Set myItem = myFolder.Items.Add("IPM.Note")

	myItem.Display

End Sub
Can/will anybody help me solve this autofill problem?


Thanks for your help.



Jhon
 
Back
Top