Skip to content

ErcanOPAK.com

  • ASP.Net WebForms
  • ASP.Net MVC
  • C#
  • SQL
  • MySQL
  • PHP
  • Devexpress
  • Reportviewer
  • About
C#

How to set delivery format while using SMTP client in C#?

- 02.10.1922.11.19 - ErcanOPAK
SmtpClient smtpClient = new SmtpClient();
smtpClient.DeliveryFormat = SmtpDeliveryFormat.International;

You must note that it is only available with .NET Framework 4.5 or later.

Related posts:

Formatting a Nullable DateTime with ToString() in ASP.Net MVC
Using Code Blocks, Mixing Text & C# Code and Comments in Asp.NET MVC Razor
@helpers in Asp.NET MVC Razor
How to use and get HiddenField Value in Gridview
How to use Stopwatch in C#
Post Views: 84

Post navigation

How to Solve The ‘Object reference not set to an instance of an object’ error in Batch Edit mode for ASPxGridView
Drop all the tables, stored procedures, triggers, constraints and all the dependencies in one sql statement

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Nov    

Most Viewed Posts

  • Get the First and Last Word from a String or Sentence in SQL (243)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (194)
  • How to make some specific word(s) Bold or Underline in ReportViewer (187)
  • How to solve “Response.Redirect cannot be called in a Page callback” for DevExpress Components (183)
  • Confirm before process with ASPxButton in Devexpress (171)
  • ASPxGridView – Disable CheckBox based on condition in GridViewCommandColumn (170)
  • Find numbers with more than two decimal places in SQL (168)
  • Devexpress ASPxGridview Column Grouping in Code (164)
  • DATEADD Function in SQL (163)
  • Tense Changes When Using Reported Speech (160)

Recent Posts

  • How to auto-scroll or manually to end of div when data is added
  • Filter Rows By Max Date in SQL
  • How to Validate a DateTime in C#?
  • Convert comma separated string into a List in C#
  • Converting a List to a comma separated string in C#
  • How to add placeholder to Multiple Selection DropDownList in Asp.Net MVC
  • How to use toFixed() for Float numbers in Javascript
  • Convert List to List in one line in C#
  • How to use column search in datatable when responsive is false
  • Checking multiple contains on one string

Recent Posts

  • How to auto-scroll or manually to end of div when data is added
  • Filter Rows By Max Date in SQL
  • How to Validate a DateTime in C#?
  • Convert comma separated string into a List in C#
  • Converting a List to a comma separated string in C#

Most Viewed Posts

  • Get the First and Last Word from a String or Sentence in SQL (243)
  • How to use Map Mode for Vertical Scroll Mode in Visual Studio (194)
  • How to make some specific word(s) Bold or Underline in ReportViewer (187)
  • How to solve “Response.Redirect cannot be called in a Page callback” for DevExpress Components (183)
  • Confirm before process with ASPxButton in Devexpress (171)

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter

Copyright © 2021 ErcanOPAK.com | powered by XBlog Plus WordPress Theme