Solved

Mapi Message - Reply to

Posted on 2006-07-05
4
620 Views
Last Modified: 2008-01-09
Hi,
Can somebody Please help

I am writing a code to send the emails using mapi message control like


    MAPIMessages.RecipIndex := MAPIMessages.RecipCount;
    MAPIMessages.RecipType := 1;
    MAPIMessages.RecipDisplayName := ToName;

I want to send email from my default email  but when somebody reply that email
it should be on a different email address.
I have tried MAPIMessages.MsgOrigAddress but it is read-only

Thanks

0
Comment
Question by:ITCDevloper
4 Comments
 
LVL 14

Expert Comment

by:existenz2
ID: 17041672
This is not possible in the e-mail protocol, since it is not implemented and also never will be implemented because it will encourage phising and spamming.
0
 
LVL 16

Accepted Solution

by:
JohnBPrice earned 250 total points
ID: 17046339
What is your MAPI provider?  Set your reply to address in your MAPI provider and MAPI should pick it up.

Alternatively, don't use MAPI.

While existenz2 is wrong that this is not possible, he is right in that you should not do it to deceive or if you do not own the reply to address.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now