Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is there a way to send messages to spam programmatically in c#? I am using visual studio 2022.

What I have tried:

A console app, where it prints whether or not the message written is spam. Is there a way that after the message is marked as spam that it can be moved to the spam folder in gmail? The console prints whether or not the message is spam, but after checking gmail, it is sent to the inbox.

Hope the question makes sense.
Posted
Comments
CHill60 12-Dec-22 11:06am    
Without seeing the code you are using to interact with GMail it is impossible to help you

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