Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir i wana read email in smtp server in asp.net
Posted
Updated 24-Sep-11 1:52am
v2
Comments
P.Salini 24-Sep-11 7:43am    
Can you elaborate your question.
Simon Bang Terkildsen 24-Sep-11 7:51am    
Your question does not make sense, a SMTP server is used to send emails not read them, please clarify your question; like do you want to read emails using IMAP, POP3 or something completely different? In anycase you should try and find a library, as it's not a very simple task.
RaviRanjanKr 24-Sep-11 8:14am    
Please be more clear while asking question. are you sure you want to looking for read mail. :)
Shahriar Iqbal Chowdhury/Galib 24-Sep-11 11:44am    
what you have tried so far?

1 solution

We use SMTP server to send emails.
For example in the web.config file I have this code :

    <mailsettings>
 <smtp deliverymethod="SpecifiedPickupDirectory" from="x@gmail.com">
        <network password="xxx" port="465" />
        <specifiedpickupdirectory pickupdirectorylocation="C:\TempMail" />
 </smtp>
</mailsettings>



It means submit whatever I have in the form then use gmail and the pick up directory would be in my local drive .By submitting I 'll have the sent form in my local drive which I can read of.( I use this code in the time of developing it 's faster than sending through internet)
 
Share this answer
 

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