Click here to Skip to main content
15,893,588 members
Everything / Email

Email

email

Great Reads

by JosipK, Marko Kozlina
C# and VB.NET console applications that demonstrate how to create and send an email reply with IMAP and SMTP protocols in .NET Framework
by DataBytzAI
Easy way to send email on Azure with no mail server, using DNS MX and SMTP
by bbirajdar
How to embed an image in email body
by Afzaal Ahmad Zeeshan, Iqra Ali
Since I wrote an article previously, I had been asked on various occasions to share the code on Yahoo! or Bing, etc. I wanted to write an article, with the code, which covers all of those vendors as well.

Latest Articles

by Chris_Green
It all started with an email sent to a daemon.  A windows service hosting two modules, each of which monitors an inbox for automation, dutifully ignored warnings from IT that basic authentication for O365 would be switched off in several months. This is how we solved it.
by Marijan Nikic
A simple solution using Powershell for preparing emails from Windows batch in Outlook; supports HTML body
by Peter Huber SG
A WPF TextBox which can validate email addresses depending on your needs, plus detailed description of the many ways a valid email address may look like.
by DataBytzAI
Easy way to send email on Azure with no mail server, using DNS MX and SMTP

All Articles

Sort by Updated

Email 

13 Mar 2024 by Peter Huber SG
Read my article, which explains in detail how emails are encoded, the different parts they have, how to deal with HTML and pure text, attachments, pics and much more POP3 Email Client with full MIME Support (.NET 2.0)[^]
6 Mar 2024 by Odukoya Ademola
*Title*: Error: Failed to start TLS when sending OTP email using Mailtrap in Go *Description*: I'm working on implementing OTP email verification for user sign-in in my Go application using Mailtrap as the SMTP server. However, when attempting...
27 Dec 2023 by Richard MacCutchan
Python will do the work for you: email.parser: Parsing email messages — Python 3.12.1 documentation[^].
26 Dec 2023 by Shivani 2
i am confused how can i start parsing an email What I have tried: still haven't tried anything because i am confused at the very starting .
24 Sep 2023 by Graeme_Grant
With GMail, you don't use your normal account and password. You need to generate a "special" app paasword for the email address that you want to use. Please read this: Sign in with app passwords - Gmail Help[^] Here is a quick'n'dirty (tested &...
24 Sep 2023 by Member 11400059
hi. I try create asp.net core MVC with .NET 7. I create class for send email to user for confirm their email. but I get this error: SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server...
5 Aug 2023 by Sandeep Mewara
Sounds like you are talking of CodeProject logins. If so, you can go ahead and do that yourself for each of the logins: 1. go to Your Settings[^] 2. select the "Privacy" tab, and 3. choose between "Close my account" and "Forget me Forever".
29 May 2023 by the wolf 2023
For some reason I do not know how to solve this problem, how to connect SMTP to my titan email. here is the code:
29 May 2023 by Andre Oosthuizen
Your error referes back to your first line ofr validation - if( $_POST['form_name'] != '' AND $_POST['form_email'] != '' AND $_POST['form_subject'] != '' ) which tells you that one of your required fields is empty. The way to solve this is to...
9 May 2023 by Gcobani Mkontwana
Hi Team I have a code that sends verification code to a user email, but when debugging as to find out why this is not sending. Its showing an invalid address from and to. But these address i am using them for my outlook and do work, checked...
9 May 2023 by Richard MacCutchan
$mail->SetFrom($this->sender, "Verification Code"); $mail->AddAddress($this->receiver); You have not initialised $this->receiver anywhere, but you are using the name 2023@outlook.com as sender. So you need to check both fields...
9 May 2023 by OriginalGriff
We can't really help - you need to use the debugger to look at exactly what $this->receiver contains while your code is running, and we can't do that. Also try check the $mail Username and Password are still set correctly.
3 May 2023 by Gcobani Mkontwana
Hi Team I am using gmail smtp setting but they seem not to allow me to send email when user register and gets a confirmation. Its giving me this issue, " error sending confirmation email: SMTP connect() failed....
10 Mar 2023 by Gcobani Mkontwana
Hi Team I am attaching pdf on my html content, but its not loading to open and need some help around, i experience this issue What I have tried:
9 Mar 2023 by Gcobani Mkontwana
Good day I need your help, i am getting a message when i try to open pdf document says failed to load a pdf document " Expected: application/pdf (.pdf); found: text/plain (.txt) " What I have tried: $filenameee = $_FILES['id']['name']; //...
8 Mar 2023 by Gcobani Mkontwana
Hi Team I need some help with my script, i am only managing to send pdf attachment but cant be able to view it as a document. Please assist me and guide me, thank you. What I have tried:
8 Mar 2023 by Richard MacCutchan
See view pdf in php - Google Search[^]. Please try doing your own research first.
3 Mar 2023 by Gcobani Mkontwana
Hi Team I having this problem by using my logs from the server. Im sending email as pdf and using function to do using phpmailer. But now the logs show have a problem with line 94 on the application.php. How can i resolve this issue? What I...
3 Mar 2023 by OriginalGriff
The error message is very explicit: the file (or part of the path to it) does not exist, or isn't accessible. At a guess, the file is local to your computer, and your code is running on the server which has no access to your local file system....
3 Mar 2023 by Gcobani Mkontwana
Hi Team I need some clarity on using php without composer, for example i need to have all phpmailer files to send email with attachment to my project. I downloaed them online and want to use them on my project to send email with attachment. The...
1 Mar 2023 by Gcobani Mkontwana
Hi Team I am struggling to create a view pdf document using php when receipient receives email attachment. My code only view pdf from the browser. How do i link it with front end(html, jquery)? What I have tried:
1 Mar 2023 by Gcobani Mkontwana
Hi Team I need some help, i have a logic that attached document as pdf, this document does saves to the database well. But the problem i cant seem to achieve get the document as pdf on the email, only shows text its not right to a user and need...
1 Mar 2023 by Dave Kreskowiak
Are you trying to send the PDF as an attachment in an email? Your question isn't very clear on this. Also, you're code seems to be "monolithic", meaning doing more than one thing at a time. Break this code down into multiple functions. One to...
21 Jan 2023 by Dave Kreskowiak
There is no way for you to determine if the email address in the from field is legitimate or not. Spammers can put any email address they want in the From field.
21 Jan 2023 by Slow Eddie
Is it possible for a person to send an email with a company email address when they are not working for that company? For example, Sue sends me an email from XYZ company when she does not work for XYZ and does not have a Sue@XYZ.com? What I...
21 Jan 2023 by Richard MacCutchan
Yes, it is possible and that is how spammers often get people to do things they would be better not doing. If you suspect the email is frauduent then do not open it. If you write an unsoliceted email to the correct person it will go to the real...
19 Jan 2023 by DerekT-P
I have a web application that sends significant volumes of emails, using SMTP. The SMTP server is Office365.com and this is storing copies of sent emails in the SENT folder when viewed in Outlook.office365.com I can periodically using the web...
19 Jan 2023 by Dave Kreskowiak
If you're using the SMTP route into Outlook365, you do not have the option of turning SentItems off. On normal servers, using SMTP does not put anything in SentItems, but Office365 is not the standard email environment the web uses. Things are a...
9 Jan 2023 by Patient_Learner
I need to send mass emails to my website members easily based on specific criteria in the MySQL database. This is required for the multivendor e-commerce website (I built it with PHP). I am using Hostinger as a hosting provider. For example: I...
9 Jan 2023 by OriginalGriff
You can't: Can I send mass mail? (Support.Hostinger)[^]: Sending newsletters is allowed as long as you stay within our email limits, whether you're using Hostinger Email or Titan Email. However, no mass mailers/spammers are allowed according to...
16 Nov 2022 by wwwwww1233212
Hey before you flag me for not meeting your requirements understand that this is a genuine question: Good day i would like to create an email hosting platform using Node js Thanks What I have tried: I've tried researching different ways of...
16 Nov 2022 by Dave Kreskowiak
My vote of 1. You didn't ask a question at all. You just made a statement that you want to create an email platform. OK. Permission granted, please proceed. Now, if you meant to ask a question about how to do that, you just said you don't have a...
16 Nov 2022 by Richard MacCutchan
You will need to learn RFC 5321: Simple Mail Transfer Protocol[^].
16 Nov 2022 by OriginalGriff
Start here: self hosting email - Google Search[^] But be aware, you have a lot of reading to do ... and node.js is probably not a good starting point.
22 Sep 2022 by Chris_Green
It all started with an email sent to a daemon.  A windows service hosting two modules, each of which monitors an inbox for automation, dutifully ignored warnings from IT that basic authentication for O365 would be switched off in several months. This is how we solved it.
27 Aug 2022 by Member 13378958
my site name exmaple.com need any one mail send admin@exmaple.com not gmail configration need only exmaple.com coding What I have tried: asp email send
27 Aug 2022 by Richard MacCutchan
asp email send - Google Search[^]
11 May 2022 by Haifovchanin
The application may access the same mailbox from two different computers and retrieve unread emails. I'd like to change mail status to Read immediately on mail retrieving to avoid downloading the same email to multiple stations. What I have...
11 May 2022 by Dave Kreskowiak
That's not how an email server works. You cannot guarantee both machines will NOT get the same email. No, you cannot download the emails and simultaneously mark them as read. While machine1 is downloading the emails, machine2 can be doing the...
2 Feb 2022 by Raj Negi
I am trying to send email by using ASP.NET C# code. My website is hosted in godaddy server. It gives this error: Unable to read data from the transport connection: net_io_connectionclosed. using System.Net.Mail; using MailMessage =...
2 Feb 2022 by sendiltr
its a framework issue, moving your project to framework 4.6 will resolve the issue.
1 Jan 2022 by oofalladeez343
I am trying to send an email via Java for an assignment. I have to send the email then take a screenshot of the email and send it to my teacher. What I have tried: import java.util.*; import javax.mail.*; import javax.mail.internet.*; import...
20 Aug 2021 by Marcombat
I'm sending email using python and want to include euro sign € in the message. I get the following error codec can't encode character '\u20ac' in position 61: ordinal not in range(128) What I have tried: I tried replacing € with ...
20 Aug 2021 by Richard Deeming
Use UTF-8: Unicode HOWTO — Python 3.9.6 documentation[^]
18 May 2021 by TheKhanSoft
I indent to get generated salary slip from each of the rows of a DataGridView, in C#. Each of the salary slips must be: 1 generated from a single row 2 each cell should be included in relevant section i.e. deduction in deduction, basics in basics etc. 3 if a cell in the row is empty or has 0 in...
12 May 2021 by KlingCan
>I have c# application that reads email, i read xml and pdf file when i have no Embedded attachments. When i tried to read pdf from Embedded attachement, the code only reads .bmp, jpg files. My code string strFiltro = String.Format("SINCE...
26 Mar 2021 by Member 15120648
I have the following HTML code: Full Name: Message:
26 Jan 2021 by RickZeeland
Maybe this article will be of help: HowToUseGitSendEmail[^] If you use Gmail: Go to Google -> My Account -> Connected Apps & Sites -> Allow less secure apps -> Switch ON
26 Jan 2021 by Khairi Khaled
• In my work, network element configuration files downloaded automatically in hourly basis to the 3rd party server, I have configured the folder where the files downloaded on it as local Repo. • Recently, git schedule created to check the...
22 Dec 2020 by Marijan Nikic
A simple solution using Powershell for preparing emails from Windows batch in Outlook; supports HTML body
30 Nov 2020 by BBO001
So i would wanted to send a reminder email if reach 2 days before the Actual Date. Example: Assuming today is 8th & the Actual Date is 10th so it will send a reminder email out. So i've write the email store procedure, it is able to send but i...
30 Nov 2020 by Yvan Rodrigues
All major providers require confirmation to comply with anti-spamming laws. If you operate your own server, most mailing list software will allow you to do what you are trying to do, such as GNU Mailman, LISTSERV, Majordomo etc.
30 Nov 2020 by Member 13541763
I am working on an application, our process is that when a new user signs up, s/he is added to list(contact list of email service provider) with tags like 'New', 'Trial User' etc, to easily identify user status and send them emails accordingly....
20 Nov 2020 by Member 13004859
Hi all,I am newbie to ASP.NET and now start learning MVC , to enhance my skills on .NET platform . Currently , i am practicing myself to do different task & pretty much know about MVC and eager to know how we can send email to client mailbox by using MVC5 . Can anyone share any link or blog ;...
10 Nov 2020 by OriginalGriff
There are two elements to a solution: First, add a DATETIME column to your Users table to say "needs an email on" and set it to the current date plus two days. Then write a little checking app, which gets all the users from the DB where that...
10 Nov 2020 by Member 14743579
I was tried lots of code to send email to user after 2 days of registration but i was not solved this issue. What I have tried: I am trying to get registration date from table and compare it with current date and send auto email after 2 days to...
10 Nov 2020 by Sandeep Mewara
Would recommend use a separate process (mostly a windows service) to do such periodic work. (not the web application you are using) Service will periodically check your database for users and the date they registered. If it's more than 2 days,...
2 Oct 2020 by Member 14954192
I used a free html Generator. The preview is perfect. When I insert it to the Email, the Pictures get disorted. This is my Code: body { margin: 0; padding: 0; } table, td, tr { vertical-align: top;...
2 Oct 2020 by Gerry Schmitz
Looks like you're trying to use an html generator for a "device", not for emails. Google specifically for email: (free) email html generator
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...
27 Jul 2020 by Gerry Schmitz
E-Mail Delivery in Reporting Services - SQL Server Reporting Services (SSRS) | Microsoft Docs[^]
2 Jul 2020 by Andre Oosthuizen
@Sam, have a look at PHPMailer available on github. It covers all grounds for sending mails, read through the documentation first to understand what it does, there are also plenty samples available.
2 Jul 2020 by Sam Vorst
Hi, I want to forward an email based on the origin of a page, lets say I have 3 contact forms and I fill contact form 1 in. It'll send it to info@contactform1.com automaticly. If I fill in contact form 2, it sends automatically an email to...
2 Jul 2020 by F-ES Sitecore
You haven't given enough information for a proper answer, but assuming you have multiple forms all submitting to the same server-side page then add a "hidden" field to the form to indicate the source. Read the value of the hidden field in your...
12 Jun 2020 by Tshumore
I cant get this working no matter which workarounds i put in my code . What i am trying to do is send an email using my domain Exchange Server and my usual domain email address. This is my code : static void Main(string[] args) {...
8 Jun 2020 by OriginalGriff
Talk to Yahoo, not us - they don't tell us why they do things ...