Click here to Skip to main content
15,890,609 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 Updated

Gmail 

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...
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...
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...
14 Jun 2022 by Limupua Service
Tried logging into it, resetting my account and even creating new accounts but it didnt work What I have tried: Sending Mail
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 Richard MacCutchan
See Set up Gmail with a third-party email client - Google Workspace Admin Help[^]
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...
10 Aug 2021 by Heba Kamel
Hi, I am trying to send mail from gmail and it's sent successfully in localhost but when publish website on server didn't send any help here?it's my code MailMessage mail = new MailMessage(); mail.Subject = strSubject; mail.From = new...
26 Mar 2021 by Member 15120648
I have the following HTML code: Full Name: Message:
1 Jan 2021 by OriginalGriff
Wrong place to ask - you need to talk to the admins so ask here: Bugs and Suggestions[^] You will need to tell them some details about the account - email and so forth - so that they know which account you are talking about.
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...
2 Jul 2020 by Andre Oosthuizen
Google's Gmail website automatically blocks many email images until it's sure the messages are coming from a trusted source.> Gmail blocks only images that are stored on another website. Spammers often use linked images to verify that your email...
2 Jul 2020 by Akshay malvankar
i am sending image in my mail body like this
2 Jul 2020 by OriginalGriff
That's because most email systems deliberately will not display images from other domains - spammers were using them to identify "live" email addresses, as you can server the image and note where it came from if you try slightly hard. That gives...
15 Jun 2020 by Member 14863691
below the attached solution work over local machine and server. string fromEmail = "from@gmail.com"; MailMessage mailMessage = new MailMessage(fromEmail, "to@gmail.com", "Subject",body); mailMessage.IsBodyHtml = true; SmtpClient smtpClient = new...
27 May 2020 by Garth J Lancaster
Pretty sure you asked the same thing recently .. this post Q: How do I authenticate with an OAUTH2 access token? · Issue #606 · jstedfast/MailKit · GitHub[^] points out that await credential.RefreshTokenAsync(CancellationToken.None); seems to...
27 May 2020 by Grupo Microsistemas
Hello, i have an app that send emails correctly, the problem is later that day a error shows up saying "Authentication Error code:334". I think that i need to refresh the token or maybe gmail smtp have a limit for free emails. What I have tried:...
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 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...
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
6 Mar 2020 by Member 14765588
GmailCredentials Info = new GmailCredentials(); private static string ApplicationName = "xxxxx"; var service = new GmailService(new BaseClientService.Initializer() { HttpClientInitializer =...
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...
4 Feb 2020 by OwenDavies
Looks like sSMTP is no longer maintained, MSMTP is the suggested replacement. This post discusses how to do the replacement.
1 Jan 2020 by Member 10128787
I have written a code in VB.NET to send email from my gmail account. For many years it was working fine, now our office space has shifted to another location and the code has stopped working. It throws "server does not support secure connection" error. I tried to put EnableSsl = False, but it...
31 Dec 2019 by OriginalGriff
Your port and suchlike look OK, so it's probably that GMail doesn't "trust" your app. Have a look here: Less secure apps & your Google Account - Google Account Help[^] and change the security level.
23 Dec 2019 by Member 14698398
How do I make a responsive email template using HTML and CSS? Gmail is not supporting my media queries. Media queries am using are below: @media all and (max-width:599px){} @media (max-width:767px){} @media only screen and (max-width: 479px){} What I have tried: I tried to make it my email...
26 May 2019 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 […]
2 May 2019 by Richard MacCutchan
You already posted this question at Gmail API to access, read/modify the delegated emails or shared gmail using C#[^]. Please do not repost.
16 Apr 2019 by aravindnass
Hi, As part of my project, I can able to read the email using Gmail API but my problem is when I fetch the body, the signature is seen along with the body. So I need to remove the Gmail signature and fetch only the content or message of body. is there is any other way to remove the Gmail...
15 Apr 2019 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.
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.. .
26 Feb 2019 by F-ES Sitecore
Have you followed the various configuration steps? SMTP relay: Route outgoing non-Gmail messages through Google - G Suite Admin Help[^] One thing I can see right off the bat is that you're not using the smtp server detailed in the documentation so I'd make sure you've gone through the...
26 Feb 2019 by RobScripta
Hello, I have my own server, and I also used it for sending and receiving mail. After being hacked for the second time I gave up and signed up for gmail handling my email, using my own domain. I also have two-step verification enabled, being hacked twice makes you cautious. I want to send...
26 Feb 2019 by Maciej Los
I'd strongly recommend to read this: c# - Gmail Error :The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required - Stack Overflow[^]
12 Feb 2019 by Richard MacCutchan
Plenty of suggestions here: move an email from one gmail account to another using gmail-api - Google Search[^]
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
19 Dec 2018 by F-ES Sitecore
create gmail account c# - Google Search[^]
25 Nov 2018 by Vivek Johari
This post discusses how to migrate SQL database to Azure SQL database using SSMS deploy.
24 Nov 2018 by Vivek Johari
Migrating SQL Database To Azure SQL Instance using Microsoft Database Migration Assistant (DMA) Tool Contents Introduction Microsoft Database Migration Assistant (DMA) tool Migrate SQL Server database To Azure SQL Instance using DMA tool Detecting the compatibility issues using Assessment Type
19 Nov 2018 by Vivek Johari
Migrating SQL Database to Azure SQL Database using SSMS Export/Import Contents
20 Jul 2018 by markwhite1
Hi, I am trying to access mail from gmail server, but when I try to connect it gives me error: Unable to read data from transport connection: connection attempt failed because the connected party did not properly respond after a period of time, or establish connection failed because connected...
20 Jul 2018 by Jochen Arndt
Quote: When I am running same application on my development PC it works perfectly, but when install setup on client PC it gives error That indicates that it is a problem with the client system or it's local network environment. Quote: I tried disabling anti-virus and firewall but same error....
20 Jul 2018 by Richard MacCutchan
This is a configuration or other settings issue at that PC and you will need to do some debugging to find out what is happening. in the meantime you can check Read Gmail messages on other email clients using POP - Gmail Help[^], and also try manually connecting through a command window on the...
18 Apr 2018 by Member 13785991
Hello, I am trying to make responsive email signature. It works on some client but gmail does not work at all. And have no idea what I can do more to make it work. What I have tried:
27 Mar 2018 by Jochen Arndt
See What are some of the most common mistakes people make when using JavaMail?[^]: Quote: Setting various socketFactory properties. Long, long ago JavaMail didn't have built in support for SSL connections, so it was necessary to set these properties to use SSL. This hasn't been the case for...
27 Mar 2018 by poojakumawat1
i am trying to send mail through java code. getting this error Mail Sending Failed in CASEID 00015063 with SUBJECT at RESPONSE 3078CD0006626 - PROCESSED REASON javax.mail.MessagingException: A1 BAD Invalid SASL argument. t21mb170186760ivm; nested exception is: ...
30 Jan 2018 by Jochen Arndt
In addition to your thread at the mentioned article which seems to have solved your problem and to have an answer here: There are no Gmail specific "raw" data. It is the format of mail messages as defined by RFC 2822: Internet Message Format[^] and related RFCs like RFC 2045 - 2049 for the MIME...
15 Jan 2018 by Michael Haephrati
I am trying to find out how to analyze raw data of a Gmail email and save its elements (i.e. Body, Subject, Date and attachments). I found code samples for parsing multi-part data which I think can be used. Raw Gmail Data - See this explaination[^] What I am looking for is a specific solution...
12 Jan 2018 by Richard MacCutchan
Here is a copy of a typical Gmail message (interestingly from you): Delivered-To: anonymousnam AT gmail.com Received: by 10.2.15.201 with SMTP id 70csp1706370jao; Fri, 12 Jan 2018 02:08:02 -0800 (PST) X-Google-Smtp-Source:...
7 Nov 2017 by Member 11339247
I want to send mail to the client in nopcommerce 3.70 but it is getting the error while sending the mail. It shows "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required." when send email to the client emailid. ...
7 Nov 2017 by Member 11339247
Finally got an answer and i.e. want to take the permission from gmail account that it is our mail only[as per the security propose]. This permission link "Someone just used your password to try to sign in to your account. Google blocked them, but you should check what happened." has send by...
7 Nov 2017 by Afzaal Ahmad Zeeshan
This is one of the most basic problems with SMTP configurations. Primarily, your solution should've worked, but it didn't. Because the error says, Quote: 5.5.1 Authentication Required. This requires authentication, not a secure channel. In this case, I would recommend checking the...
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...
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...
3 Oct 2017 by omerkamran
I want to send video through email and verify that it has been viewed/played. In whatsapp we have a feature to verify if the video has been seen or not at which the tick marks are colored to blue. Is there any way or software through which i can verify if the video sent through email is played...
3 Oct 2017 by Jochen Arndt
There is no method if the video has been send as attachment. All you can do is using some kind of Email tracking - Wikipedia[^]. If the mail contains a link to the video and it is stored on a server controlled by you, you can provide a personalised link and check the server logs for an access...
3 Oct 2017 by OriginalGriff
No. There is no way at all. Once a file is sent, it's sent: and you cannot control or monitor what happens to it from that point: you can't even tell if the email has been viewed, or if so then if the video has been saved or opened. And video files (with one exception that I am aware of) cannot...
28 Aug 2017 by Heba Kamel
Hi, I used this code to sending email from my desktop application string smtpAddress = "smtp.gmail.com"; int portNumber = 587; bool enableSSL = true; string emailFrom = "xyz@gmail.com"; string password = "myPassword"; string...
15 Aug 2017 by Patrice T
Quote: I don't know anything about programming and that is why I want to learn it. Find tutorials on internet to get you started. Advice: not use C/C++ for beginning, use a managed language that take care of details and let you concentrate on learning programming, like Visual Basic, Java, C# or...
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
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[^].
16 Jun 2017 by Member 13044111
I have Integrated Email in C# and Mail is Received In spam In gmail how can i resolve It .using go daddy What I have tried: public static string sendemail(string To, string message, string subject) { try { MailMessage mail = new MailMessage(); ...
16 Jun 2017 by OriginalGriff
Simple: don't send mail that looks like spam. Spam filters are pretty complex these days, and work by looking at the content of the message and determining if it's likely to be a genuine mail, or unsolicited advertising. (They also look at the source, subject, and suchlike, and use complicated...
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?...
31 Jan 2017 by Mannava Siva Aditya
Trying to Send Bulk EMails in asp.net using smtp gmail server getting SMTPException was unhandled by user code. An exception of type 'System.Net.Mail.SmtpException' occurred in System.dll but was not handled in user codeAdditional information: Failure sending mail.My Code:string...
31 Jan 2017 by Member 12976951
MailMessage mail = new MailMessage(); mail.To.Add(email); mail.To.Add("xxx@gmail.com"); mail.From = new MailAddress("yyy@gmail.com"); mail.Subject = "sub"; mail.Body = body; mail.IsBodyHtml...
20 Dec 2016 by Member 12156147
Hi everyone,I am desperately trying to figure out how to create an HTML email with gmail.I created a design in Photoshop with hyperlinks and saved it for the web in html format.I watched a lot of tutorials and everything looks so simple: copy/paste the html code in the gmail message...
1 Oct 2016 by Member 12768963
Ok sorry for that I thought it was a programming problem anyway I found the solution I changed the smtp server to hotmail because it won't stop suddenly and tell you that your email might be taken by someone else but in hotmail the credentials and the from are the same too so I...
30 Sep 2016 by Member 12768963
How can i send an email using gmail without authentication? I mean the sender should only use his email account, without using his password and the email should be sent. If that's not possible how do others do it?What I have tried:I've already done it and the message is being sent...
30 Sep 2016 by F-ES Sitecore
What you're trying to do is called message relaying and gmail doesn't let you do it and it's one of the many reasons you shouldn't be using gmail to send email. Use the smtp server provided by your webhost instead which is likely to allow relaying (and that's how others "do it").Things you...
30 Sep 2016 by David_Wimbley
In order to send an email via gmail you must use a password. I highly highly doubt google would just let everyone and their mother send passwords on behalf of others without authentication.I think exchange offers the ability to send on behalf of another user, only after you've authenticated...
26 Jul 2016 by Malikdanish
I have two methods the first one is the simplest one like below , while in second one i am formatting my email content , the second method calls another method to format and then it calls another method for smtp settings, the first method works fine it is sending email to my domain email address...
26 Jul 2016 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
After so much of discussion, seems like you are missing something.Please refer my past answer, which gives the whole code to send mail using gmail. sending email to gmail from asp.net[^]
23 Jul 2016 by Vignesh Mani
Send Mail / Contact Form using ASP.NET and C#[^]
26 Jun 2016 by Member 12595721
Login with the provided gmail username and password at first. Later when you get the complete access, change it.
26 Jun 2016 by Veena Hosur
Hi,i am trying set our domain as smtp in gmail by 2 step verification i got app password.i have entered that password.its showing temporary error 404What I have tried:i have tried to change username and password