Click here to Skip to main content
15,890,741 members
Everything / Gmail

Gmail

Gmail

Great Reads

by freedeveloper
Simple Implementation of Google API IDataStore that use MS-SQL server to store your token file
by Vivek Johari
Migrating SQL Database to Azure SQL Database using SSMS Export/Import Contents
by Tkach Aleksey
WPF Gmail-style emails input control using C#, with email validation
by Vivek Johari
This post discusses how to migrate SQL database to Azure SQL database using SSMS deploy.

Latest Articles

by OwenDavies
Looks like sSMTP is no longer maintained, MSMTP is the suggested replacement. This post discusses how to do the replacement.
by Rob Kraft
A lot of small teams could use reminder emails when it is time for a team member to perform a task, but there are not a lot of products where you can easily set up reminder emails for team members for free. But you can do it easily with a Google Sheet. Building on the […]
by YawerIqbal
System Jobs AsyncOperation or System Job is an important Dynamcis 365 system entity. Usually we don’t create its records, rather they are created automatically. A record represents a single execution of an asynchronous resource.
by YawerIqbal
Last week in a meeting client explained requirement: “.. we receive emails in a mail box, and we manually create contacts in CRM using sender name and address for further processing, we want to automate this.. .

All Articles

Sort by Title

Gmail 

1 Nov 2017 by Mcbaloo
I'm trying to use the MailSystem.Net to retrieve mails from my gmail account but i get the above error. I have just follow through an example online to make a demo application as a window service. I tried to log the errors to a folder and after running the service i get the above error...
1 Nov 2017 by Jochen Arndt
It looks like connections are not closed (disconnected) when not used anymore. To know how to do that you should read the documentation of the used Imap4Client class. I would expect that connections are closed in the Imap4Client destructor. But even then it would be better to disconnect...
21 Oct 2014 by Garth J Lancaster
we don't do code like this for people - I suggest (if you cant google a solution) you re-post this request on rent-a-coder
13 Sep 2013 by Makzrider
I'm Trying to Sync my gmail account in my asp.net project with back end of c#. Right now I can just send mail using the code:public void SendMail() { //Build The MSG System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage(); ...
14 Sep 2013 by Richard MacCutchan
You seem to have two different issues here. In the first you are sending mail from ASP.NET, which you seem to have working. In the second you are trying to create a mail client application. Your mail client will need to implement SMTP as described in RFC 5321[^], for sending mail.[edit]For...
2 Oct 2013 by raghav.softobiz
Hello Guys,I want to access my gmail emails in my c# code. Can aanybody please tell me how can I do this without using and third party toolkit ThanksRaghav
2 Oct 2013 by codestar007
How to read mail from Gmail using C#.net[^]
2 Oct 2013 by ridoy
Check this article:POP3 Email Client (.NET 2.0)[^]Then see:C# - Retrieve Email from Gmail Account[^]How to read mail from Gmail using C#.net[^]Read the latest Gmail message witth C# Application[^]How to read Hotmail or GMail using C#.Net[^]
9 Oct 2013 by raghav.softobiz
Hello Guys,I am trying to read gmail emails via imap but whenever I connect to imap then I will get this errorAn existing connection was forcibly closed by the remote hostHere is my code Imap4Client imap = new Imap4Client(); imap.Connecting += new...
9 Oct 2013 by codestar007
It could be firewall problem, or you have made too many connections to the server.Check the below link oncehttp://forums.asp.net/t/1440964.aspx[^]
20 Mar 2015 by Member 11541259
hello guys i need help about accessing gmail unread mails and after getting send these to gsm mobile as a message plz help methanx
20 Mar 2015 by Sujith Karivelil
You can refer this article. Download Mail Details With attachment using IMAP[^]
20 Mar 2015 by debasish mishra
You can use Imapx Libraries.Using these libraries worked for me.The best one in IMAP i believe.http://imapx.codeplex.com/[^] If you are using these type of dlls and connecting to Gmail server then may be your organization firewall is blocking the inbound and outbound calls.This might be...
27 Jun 2014 by mayuresh_joshi
I am working on C# project in which I need to add the labels in Gapps account. I am able to add the label but not able to create sub label in newly created label. Here is the sample code for creating label.GoogleMailSettingsService service = new GoogleMailSettingsService(_domain,...
27 Jun 2014 by MuhammadUSman1
try following link. it may help you.google-gdata
25 Mar 2016 by freedeveloper
Simple Implementation of Google API IDataStore that use MS-SQL server to store your token file
27 Dec 2018 by Vivek Johari
Creating an Azure SQL Database Contents Introduction Creation of Azure SQL Database Step 1: Select Database Name Step 2: Select Azure Subscription Step 3: Choose Resource Group Step 4: Choose Database Source Step 5: Choose SQL Server Step 6: Choose Elastic Pool Option Step 7: Choose Service Tier for
30 Sep 2023 by OriginalGriff
Id suggest that you start by creating a trivial add on, and get that working first. Then gradually build up to what you eventually want to produce as it going to be pretty complicated - which means there are a lot of thing you will need to learn...
1 Oct 2023 by Romain Latry
--> I'd like to create a sort of plug-in / add-on for email boxes (Gmail first) that: allows people to sort their non-important emails saved in their inboxes and to delete them very easily automatically delete unecessary emails gamify the...
2 Feb 2015 by Sandeep Mogaveer
I've set of code of VFP which i created to send mail. It is working fine but i wanted to change send email address. Earlier i was using a rediffmail id where i'm able to hide the original email id from recipient. For Ex : if i'm sending mail through abc@rediff_maildomain.com, i'll specifiy...
2 Aug 2020 by Zhivko Kabaivanov
I am using a MailSystem[^] library to check Gmail account every 10 minutes. In my application, I connect/log two different Gmail accounts at startup. Whenever I switch the checking emails methods, I receive the exception: Exception: Unable to...
12 Feb 2019 by Richard MacCutchan
Plenty of suggestions here: move an email from one gmail account to another using gmail-api - Google Search[^]
15 Apr 2019 by YawerIqbal
Last week in a meeting client explained requirement: “.. we receive emails in a mail box, and we manually create contacts in CRM using sender name and address for further processing, we want to automate this.. .
27 Sep 2013 by sundaram meenakshi
I want to create a windows form application using c#,my task is to download the attachment sent by one particular sender(say abc),daily.I google'd nearly for 2days,but,all in vain.I tried using Pop3,it shows only the unread mails,that to in some random order,i do not understand why. Imap is also...
27 Sep 2013 by Sergey Alexandrovich Kryukov
There is no such thing as "downloading attachments". If some of the mail content is some Web links, then you may have something to download, but it would not be a part of a message.Actually, the term "attachment" is highly misleading. Nothing is actually "attached" to the mail. Actually, all...
3 Mar 2014 by Member-515487
i have create one page and schedule at every day 1 pm and email will be send as per reqbut after 15 to 20 userit get errorService not available, closing transmission channel. The server response was: 4.4.5 Server busy, try again later. (mx.google.com) j3sm44131820pbh.38 - gsmtp
3 Mar 2014 by Jhone2011
use sendAsync() method of STMPCLIENT class, read online articles for more detail
3 Mar 2014 by Anubhav689
Hey,It's hard to say something by just knowing that after 15-20 users your application is giving the error but still I am trying to solve your problem.Look, we can only send 500 mails using the SMTP Configuration for Gmail/ Yahoo/ Hotmail but if we are sending bulkmail from Outlook or...
14 Sep 2014 by Member 11082048
Hi.I am working with VB.Net, I followed the instructions to get a list of messages (gmail api v1) and tasks (tasks api v1) from Google: https://developers.google.com/gmail/api/v1/reference/users/messages/listhttps://developers.google.com/google-apps/tasks/v1/reference/tasks/listBut...
20 May 2020 by Grupo Microsistemas
I´m trying to send a email using Oauth2, but i´m getting a error when i authenticate my user. This is the error "An unhandled exception of type 'MailKit.Security.AuthenticationException' occurred in mscorlib.dll Additional information: 334:...
20 May 2020 by Garth J Lancaster
The 334 indicates an authentication error of some kind - I'd have expected extra information in the response alluding to the exact problem
20 May 2020 by MadMyche
I would recommend that you read through the following page and verify that you have everything set up correctly; sounds like the MailKit sample code may not be the same as Google provides MailKit Issue #962: AuthenticationException 334[^] It...
9 Mar 2014 by Nelek
This is not how CP usually works. Most important goal here is to learn and help learning.You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc. Please have a look to What have you tried?[^] to see a good...
17 Mar 2014 by Zeeshan17
Hi,I looking to build gmail messaging app using php.My requirement is as follows:- Be able to display and respond to Gmail messagesShould be able to see all of the Gmail messages as well as be able to respond to all of them correctly.- The three primary objectives are as...
23 Jan 2015 by Member 10690878
Hi i need your support guys as the below code of sending mail part is not working as i am trying many time but i haven't receive any mail, so could you please help me to fix this case there is no any error message but no any email is coming to my inbox. ("admin@gmail.com is just a sample and...
23 Jan 2015 by sameeakhtar786
Please go through my blog you will get a working code to send email.http://sameeakhtar786.blogspot.in/[^]
24 Jan 2015 by sameeakhtar786
Nothing to do !!!Just call the method from where you want to send the message.example--First change the settings in the method and call the method as belowProtected void btnsend_click(-------------------){//do your stuff hereSendMail();}
20 Sep 2015 by Member 11998985
have the following snippet of code that goes through email into GMAIL:
13 Oct 2015 by Stanley_B707
image mainimage has multiple redundant style definition. If you make it abssolute, margins are irrelevant. If you set top then the bottom clause takes it down to 0 distance from bottom from left and right will work same way. You do not need to define display:block because image is already block...
15 Sep 2013 by Member 10043948
i want a code in c# for gmail and hotmail credentials for required authentication and logging in to my asp.net website.After successful authentication it should redirect back to my webpage with all the contactlists by providing security.Any ideas or sample codes please help me..
15 Sep 2013 by Leena 206
Do u know about Oauth? Just google it, you will Find good way.. google[^]
21 Oct 2022 by Chaitanya 2022
I am creating a web application with ASP .Net WEB API for integrating GMail API. I am reading threads then reading messages on each thread id with a loop of threads. It is taking too much loading to get response. Please help me if i did anything...
21 Oct 2022 by OriginalGriff
Threading is not a Magic Bullet that will unconditionally increase your app speed: A thread needs a free core in order to run, so if you spin up X threads and there are X / 2 cores in the machine, you cannot run all thread simultaneously, and at...
6 Mar 2020 by aravindnass
Hi, I can read/modify gmails from my own Gmail account via Gmail API using its credentials using Google.Apis.Auth.OAuth2; using Google.Apis.Gmail.v1; But now, IT operation provide me a shared Gmail or delegate. So I want to access, read/modify from that delegate email. How can I access...
6 Mar 2020 by Member 14765588
GmailCredentials Info = new GmailCredentials(); private static string ApplicationName = "xxxxx"; var service = new GmailService(new BaseClientService.Initializer() { HttpClientInitializer =...
22 Jul 2017 by Member 13323218
George the script is NOT working for me either. Did you ever find a solution? Please let me know and my email is : navalofficer0707@gmail.com Thank you
26 May 2015 by tarun satepuri
I have an ics file which is used to schedule appointment.I am sending that appointment details to my gmail with template and an attachment of .ics file.my issue is iam not getting Rsvp events and when,where,who agenda sort of fields are not...
4 May 2017 by Hitesh Chavada
How to use two step authentication (Gmail) during sending mail in C# win form What I have tried: Try this solution security - SmtpClient in C# using smtp.Gmail.com:857 with Google's 2 Step Verification activated - Stack Overflow[^] but it's doesn't work
4 May 2017 by Nirav Prabtani
You need to generate app password from the account which has two step authentication is activated You should generate app password from here Generate App Password.[^] Formore info c# - How do I send an email with Gmail and SmtpClient when the sending account uses two factor authentication?...
7 Jan 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
Your question is not clear. I don't think it is related to any project or programming task.Please come up with specific issues you face during programming.
26 May 2014 by Tkach Aleksey
WPF Gmail-style emails input control using C#, with email validation
1 Jun 2016 by Faziki
Hello guys,1st post here! YAY :) Im Really NOOB with API'S and cant get any Working code that helps :( I dont ask much, just for community support and direction :PTo the point, Im struggling with Googles API. all i want is the code to work and im stuck now for 4 days on a piece of...
11 Feb 2014 by Member 10589334
I have my email hosted on gmail cloud server, and I am about to get SharePoint 2013. I would like to use SharePoint to archive my gmail email on-premise. Can you advise on what I should do?PS: Someone suggested this:the only option I can see is to create a document library with an...
27 Dec 2015 by Smit Modi
I am trying to develope android email client of my own. For that I need to create a login page where user will login using his gmail credentials. I looked up for same but ended up with gmail login where application will directly authenticate current user of device (using play services). How do I...
27 Dec 2015 by Richard MacCutchan
Go to the obvious place: https://developers.google.com/gmail/api/?hl=en[^].
4 Jan 2016 by ridoy
Along with above solution a bunch of resources for you:How to use Gmail account to authenticate the app in android? - Stack Overflow[^]android - Login using Gmail credentials - Stack Overflow[^]
3 Jan 2016 by JoCodes
Check Auth using gmail Api[^]Another Sample[^]
7 Jan 2014 by wernkebm
I cannot seem to find, online, the resources that describe how to interact with gmail (or any email provider), other than sending emails. I would like to know how to receive the emails, using pop3 or imap protocol. Can anyone help?
26 Mar 2021 by Member 15120648
I have the following HTML code: Full Name: Message:
15 Oct 2017 by Member 13466155
I want to develop a login portal which will have one specialty- keeping record of the client device information for security purpose. It should be similar to what google team do for gmail. When we login to gmail account with a new device, we get a mail from gmail team regarding whether we have...
15 Oct 2017 by OriginalGriff
Without asking them - and I doubt if they would tell you - we can't tell. But... it won't be MAC address (they are only unique within a LAN / WiFi segment, not globally, and very easy to spoof) And it won't be IP address (they change when you power cycle the router most of the time, and aren't...
26 Aug 2015 by Member 8403990
How do i Create a button in which will open gmail and searches for any keyword ?
27 Aug 2015 by Richard MacCutchan
The same way you create a button to do anything. Either use the design window in AndroidStudio/eclipse to create a button, or write the XML by hand. Then add a button handler in your intent to perform the required actions. There are many samples at http://www.codeproject.com/KB/android/[^] that...
29 Jan 2014 by elshorbagy
I want to import Gmail contacts in my web application. I read the guide lines for Google API v3, but it is very complicated to me, if there is a simple example or simple tutorials I will appreciate it.I'm using VS 2008, Framework 3.5Thank you
29 Jan 2014 by Ranjan.D
Have a look into this article - How to use Google Contacts API via Oauth2 authentication[^][Edit member="Tadit"]Link text added to reflect the Article/QA title.[/Edit]
29 Jan 2014 by Soumitra Mithu
Try this.Import Gmail Contacts into ASP.NET GridView[^][Edit member="Tadit"]Link text added to reflect the Article/QA title.[/Edit]
24 Jun 2017 by Member 12674660
i am developing a software for a consulting company. i need google hangouts within my app,so users of application can have conversations . How to do it What I have tried: i have checked a lot on google api ,but i could not understand the process.
24 Jun 2017 by Dave Kreskowiak
We're not doing your research for you. Start reading here[^].
23 Apr 2014 by Arnaldo P. Castaño
I have Phproxy 0.52b working on this domain: http://programmingmath.esy.es but is not working for Gmail, that is, I can not sign in to Google. I know there are web proxies that are based on Phproxy and allow you to access Gmail, how can I modify Phproxy for this purpose, appreciate any help,...
6 Apr 2015 by mayooran99
I executed few requests through POSTMAN but I am always getting this error: { "error": { "code": 404, "message": "Not Found", "errors": [ { "domain": "global", "message": "Not Found", "reason": "notFound" } ] } }these...
2 Sep 2021 by Gbetnkom Jeff
Hi everyone, hope you are doing well. I've tried to retrieve all mails from my Gmail INBOX but it's not working unfortunately. There is no error. It's just showing me i've no mail in that folder. What I have tried: public static void...
2 Sep 2021 by mareos
I think gmail only allows connections with TLS, so you should use POP3S instead of POP3 Try changing Store store = emailSession.getStore("pop3"); to Store store = emailSession.getStore("pop3s"); also connection should use the same host...
2 Sep 2021 by Richard MacCutchan
See Set up Gmail with a third-party email client - Google Workspace Admin Help[^]
27 Jun 2015 by Member 11473803
I want to send email using smtp from my asp.net webpage through gmail. I did this 3/4 month ago. But now my code dosn't work. May be security purpose for gmail. Now i cant find the way of sending email. Please help me. This is my code. protected void SendMail() { // Gmail...
27 Jun 2015 by F-ES Sitecore
This is why you shouldn't send email via gmail, you should use the smtp server provided by your webhost or isp. Log into your gmail account manually as if it decides you need to pass a cpatcha test then it won't allow you to send email until it's done manually. There might be other issues,...
8 Nov 2013 by kingsa
Hi All, I have a application for using my he can access with his facebook or gmail credentials can u guide or send snippets