Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting the mail reply address 1

Status
Not open for further replies.

chrisfielder

Technical User
Dec 12, 2000
11
DK
I am using the following code to send e-mails from a VB app

newMessage = myOutlookApp.CreateItem(olMailItem)
etc, etc,
newMessage.send

Is there a way that I can set the default reply address to be something OTHER than the sender? ie. I send the mail from fred@hotmail.com, but the default reply address is set to burt@hotmail.com.

Can't seem to find any examples - any help would be great.
Thanks
chris
 
That would depend on the object you are using. Most support this feature, but not all.

Suggest you check the object in the Object Browser. There you will find all attributes, methods and events of any object included in your project.

Good Luck!
-Mats Hulten
 
Hi,

I have to do something similar to that.
I have to send mails through a program in VB.
Is necessary to send emails with attachements, etc.
This is not a problem for me.
I liked to know, if someone know how to keep the description of all emails sent.
Such as it happens when he send a normal email through the Outlook, where in the folder " Sent ", it keeps a copy of emails sent.

If this will be possivel, I am thankful if someone be able to send me code, of the use of object Outlook, since so far it was to try to make experiences with CDO, MAPI, SMTP.

Thanks in advance, for any tip.
 
Hi,

I'm making an application in VB 6 with a database SQL SERVER.

I want to use a DBCombo without needing to appeal to the date controls. That is possible?

The DBCombo is connected with two recordsets different. One connected to the main table and the other connected with the table that serves to present listfields.

The problem is as to obtain a connection of rowsource through code?

Since already my gratefulness for any tip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top