Solved

Mapi Message - Reply to

Posted on 2006-07-05
4
607 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
A short article about problems I had with the new location API and permissions in Marshmallow
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

14 Experts available now in Live!

Get 1:1 Help Now