15,892,298 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by amshith (Top 4 by date)
amshith
2-Dec-13 1:23am
View
The Gmail port number and client everything is correct and if i run the same piece of code in console project it works perfectly fine with no errors and also if i run the same code in the server using windows service also it works fine but the problem is with my laptop machine,I am not able to send emails using windows service in my laptop machine , I am the administrator of my machine, I'm not finding any solutions for this problem please please help me out.
amshith
2-Dec-13 1:22am
View
The Gmail port number and client everything is correct and if i run the same piece of code in console project it works perfectly fine with no errors and also if i run the same code in the server using windows service also it works fine but the problem is with my laptop machine,I am not able to send emails using windows service in my laptop machine , I am the administrator of my machine, I'm not finding any solutions for this problem please please help me out.
amshith
2-Dec-13 1:21am
View
thank you
amshith
26-Nov-13 6:34am
View
Actually i'm trying to send an email using WindowsService using c#, but i'm not able to send the mail through the service even though i tried with the previllege to localsytem, network var client = new SmtpClient("smtp.gmail.com",587)
{
EnableSsl = true,
Credentials = new NetworkCredential("maath@gmail.com", "power")
};
client.Send("mam@gmail.com", "gish@gmail.com","Test", "Test");