⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 SMTP protocol implementation for sending emails
💻 TXT
字号:
README.TXT for SMTEST.EXE

SMTEST.EXE is a simple test program that uses the
SendMail library (SM.DLL) to send an mail message.
It requires three command-line parameters -

- the recipient's name.
- the name of the SMTP server which will receive
  the message.
- the name of a file containing the message text
  in ASCII format.

SMTEST is a console application. To build it, run
the SMTEST.BAT file from the command line. The BAT
file assumes that the SendMail.H file is available
in the current directory.

08/13/98============================================

The original version of sendmail.c did not leave
the required empty line after the email headers.
This has been fixed.

Also, if you're using an ISP's SMTP server, there's
a fair chance that they implement at least simple
security. They may refuse to forward a message if
the sender name is not identical to the one you
used to log on to the SMTP server with. For example,
I log on to server smtp.gte.net with a user name
of "ronburk@gte.net". If I then run smtest.exe as-is,
it will fail. To make this work, I change the
following line in smtest.c:

 sm.lpszSender        = "SM DLL";

to be:

sm.lpszSender        = "ronburk@gte.net";

Then all is well. As always, sendmail.log is the first
place to look if you have problems.

 Ron Burk

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -