SmtpServer.zip

Sending email messages in .Net

1,029

Sending an e-mail message (even with attachments) in Delphi for .Net (ASP.NET or WinForms) is very simple.You don't have to learn complicated syntaxes and other commands to achieve the task.The System.Web.Mail namespace provides the classes for sending ema...

How to send email by TIdSMTP VCL ?

1,015

TIdSMTP component is very useful VCL in Delphi 2009. Here's the simple example to send email.uses IdSMTP, IdMessage;;procedure KMAIL( sTo, title, body:string);var  IdMsg : TIdMessage;begin  IdMsg := TIdMessage.Create(nil);  try    ...

Bash script to install postfix and sasl for sending email

1,190

In CentOS 7,Postfix is a powerful and widely-used Mail Transfer Agent (MTA).It's a cornerstone of email infrastructure,responsible for sending and receiving emails on your server.Here's a breakdown of Postfix in a CentOS 7 context:What Postfix Does::Sendin...

Set up an SMTP server on CentOS 7

718

To set up an SMTP server on CentOS 7, you can use a popular mail server software called Postfix. Here are the steps to install and configure Postfix:1. Update System: Make sure your system is up-to-date by running the following commands:2. Install Postfix:...

When subject is crashing in TIdSMTP VCL

615

In case of using Delphi 2009 with Indy 10,when I try to send an email with TIdSMTP,on the received email this text arrived as questions marks '?????'.This is caused by TIdSMTP VCL bug.You can fix it by upgrading Indy10 at ftp: / / indy.fulgan.com download...

How to encode subject content when sending mail with TIdMessage ?

1,070

Today,I tried to develop mail application with TIdMessage,but I have problem in character set encoding.And I found the answer at http: / / www.yac.com.pl this wrapper class, .And then.Actually CharSet property of TIdMessage should work fine,but it doesn't...

Implementing C#'s foreach loop in Delphi 8

459

In C# the foreach statement repeats a group of embedded statements for each element in an array or an object collection. Delphi 8 does not have an eqivalent of the foreach statement. Let's see how to code a foreach statement in Delphi...First, here's a sim...

Delphi for .Net Code Folding keyboard shortcuts

523

Privately I don't think this shortcut is not easy to memory and frequently used so not practical.However Delphi for .Net's Code Editor introduced Code folding. Code folding lets you collapse (hide) and expand (show) sections of your code to make it easier ...

How to encrypt a string

461

If you need to encrypt a string in Delphi for .NET you can use the System.Security.Cryptography namespace.Here's a sample function:Note: the example below uses MD5 algorithm implementation,for a list of possible implementations read MSDN help for System.Se...

Creating thumbnail images

859

Suppose you have a Web Form where uploading of files is enabled,using the HtmlInputFile HTML control,and a user is uploading an image.If you accept only images of a specified size,you might need to shrink the uploaded image / create a thumnail.Here's how...

Send An Email Using A Bean

1,011

This JSP snippets shows how to send an email using a reuasable javabean.SendMailBean.java. InputForm.jsp .

Send Email Using C#

1,374

In C#,MailMessage is a class within the `System.Net.Mail` namespace used to represent an email message.It allows you to set properties like the sender,recipient,subject,body,attachments,and other email-related attributes.You can then use a `SmtpClient` obj...

How To Send An E-mail By Code

1,108

Use this function to send an e-mail through your program.You must have the component TNMSMTP from FastNet tools. This component is included in Delphi 4-5 Professional and Enterprise .