Send email
Page 1 of 112 Replies - 1157 Views - Last Post: 04 January 2010 - 10:49 PM
#1
Send email
Posted 01 January 2010 - 06:13 PM
I'm having a bit of trouble sending an email message to my gmail email. I have been searching on doing this for quite a while without being successful
Can anyone help me?? And if it isn't to much, how to retrieve/read email from gmail server.
Any help, links, or tutorials would be great, thanks in advanced
Replies To: Send email
#2
Re: Send email
Posted 01 January 2010 - 06:30 PM
Well you must have not looked very hard because this type of thing is commonly discussed on the web. Just doing a search can bring up multiple results that show how to do this. Here is one link that shows some code that can get you started...
Sending Email in C#.NET through Gmail
The trick here is that gmail uses SSL so you have to setup your credentials and you have to use the EnableSsl property. Good luck to you.
Sending Email in C#.NET through Gmail
The trick here is that gmail uses SSL so you have to setup your credentials and you have to use the EnableSsl property. Good luck to you.
#4
Re: Send email
Posted 01 January 2010 - 07:14 PM
Also, had you utilized the search feature here on Dream.In.Code you would have found this: Send email through Gmail with C# 
Happy Coding!
Happy Coding!
#5
Re: Send email
Posted 01 January 2010 - 10:46 PM
PsychoCoder, on 1 Jan, 2010 - 06:14 PM, said:
Also, had you utilized the search feature here on Dream.In.Code you would have found this: Send email through Gmail with C# 
Happy Coding!
Happy Coding!
Yeah, I tried searching for how to retrieve or read email from the gmail server on there with no luck and I also googled "How to read email messages from gmail" with no luck as well...can you guys help me out one last time? lol
#6
Re: Send email
Posted 01 January 2010 - 11:06 PM
Seems we have turned into a Google? 
This link looks promising, if not try here.
This person created a Gmail wrapper you might find handy as well, along with a Gmail API on SourceForge.
This link looks promising, if not try here.
This person created a Gmail wrapper you might find handy as well, along with a Gmail API on SourceForge.
#7
Re: Send email
Posted 01 January 2010 - 11:21 PM
Also, I wrote a snippet on Getting your Gmail contact list with the Google data API (instructions on how to download the API from Google) that may help as well. I'm working on a Gmail API library (not sure when it will be done though) but will post it when it's done on our website.
#8
Re: Send email
Posted 03 January 2010 - 05:24 PM
PsychoCoder, on 1 Jan, 2010 - 10:06 PM, said:
Seems we have turned into a Google? 
This link looks promising, if not try here.
This person created a Gmail wrapper you might find handy as well, along with a Gmail API on SourceForge.
This link looks promising, if not try here.
This person created a Gmail wrapper you might find handy as well, along with a Gmail API on SourceForge.
Quick question for the first link: I can't do this with Microsoft Visual C# 2008 alone?
#10
Re: Send email
Posted 03 January 2010 - 06:47 PM
PsychoCoder, on 3 Jan, 2010 - 05:23 PM, said:
What do you mean? You mean without using some sort of API? Yes you can, this link (provided above) uses nothing but the .Net Framework and it's classes. So I guess I'm not understanding what you're asking?
I think I'm confused..
It says "Read emails in GMail account from your ASP.Net application"
And this gave me an error..
For the first line, it says that Security does not exist in the namespace "System.Web"(are you missing a reference?)
And for the rest: The Type or namespace "UI" does not exist in the namespace "System.Web"(are you missing a reference?)
using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls;
Am I doing something wrong?
#11
Re: Send email
Posted 04 January 2010 - 08:04 PM
So any thoughts?? I'm currently downloading ASP.Net
#12
Re: Send email
Posted 04 January 2010 - 08:08 PM
You dont "download" ASP.NET. ASP.NET is just a Framework for web applications using one of the .Net languages (such as C# or VB.NET).
#13
Re: Send email
Posted 04 January 2010 - 10:49 PM
Ohh I see..thanks for explaining.
But why are some lines of code giving me errors?(Top post explains it better.)
But why are some lines of code giving me errors?(Top post explains it better.)
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|