06-30-2012 09:20 AM
I need to forward an email programmatically and need some code snippet to help.I have used message.forward and then Transport.send but it doesnt work like forwarded email.
07-01-2012 03:50 AM
Thanks RexDoug for replying,
I have done the same thing and now I am getting mail like this.
Sent: Dec 31, 1969 4:00 PM
The forwarded mail doesn't contain old subject and content even if setcontent it shows the content first and then the original msg phrase(empty).
07-11-2012 12:20 PM
When I create a "forward" copy of the email, the original content is there and the subject is brought over to the new email with this "RE:" tag at the beginning.
RE: Original Subject
What version are you testing on?
07-13-2012 06:23 AM
Here is my code:
message=_message.forward();//_message is the Message object which has data to be forwarded
And when I send that email,I get like
Sent: Jan 1, 1970 5:30 AM
No content is there nor any subject