Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to remove the body of the email when replying or reply all. However, body of original email should not be altered.


What I have tried:

Private Sub m_objMail_ReplyAll(Response As Object, ByRef Cancel As Boolean) Handles m_objMail.ReplyAll

   Response.Body = String.Empty
   Response.HTMLBody = String.Empty
End Sub

I have tried both of the lines above. However, I notice that after email is sent, m_objMail's body is empty. The response object sends email without clearing the body.

Does anyone has any idea?

Thank you so much in advance.
Posted
Comments
Maciej Los 18-Apr-20 3:51am    
What kind of reply it would be?
Member 14714351 19-Apr-20 16:06pm    
I want the user to have a blank body when reply is clicked. The user can type whatever he wants and then send without message history
Maciej Los 4-May-20 15:16pm    
This is not a reply. This is new mail message with the subject taken from the other mail message.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900