文件名称:emailsmtp
介绍说明--下载内容均来自于网络,请自行研究使用
EmailSMTP,使用PB开发,调用SMTP协议发送邮件-EmailSMTP
This program sends E-Mail using the SMTP protocol. The SMTP object inherits from my Winsock object. It supports HTML formatted messages and attachments.
Images embedded within HTML messages are also supported. Just use src="cid:attach.#" in the IMG tag where# is the attachment number it refers to.
It also has optional logging to Jaguar.log so is suitable for deployment to EAServer.
Please note that the Win API function CryptBinaryToString used to base64 encode non-text attachments requires Win XP, Win Server 2003 or later.
Also included is a sample .reg file you can use to force FindMimeFromData to recognize an oddball file extension as plain ANSI text. Just edit the file and change all occurrences of ext to your file extension. If a text file is not recognized as text, it will be sent base64 encoded. This won t hurt anything but it will make the file 33 larger.
Click here to download the PowerBuilder sample: EMAILSMTP.ZIP
Win API Functions used:
This program sends E-Mail using the SMTP protocol. The SMTP object inherits from my Winsock object. It supports HTML formatted messages and attachments.
Images embedded within HTML messages are also supported. Just use src="cid:attach.#" in the IMG tag where# is the attachment number it refers to.
It also has optional logging to Jaguar.log so is suitable for deployment to EAServer.
Please note that the Win API function CryptBinaryToString used to base64 encode non-text attachments requires Win XP, Win Server 2003 or later.
Also included is a sample .reg file you can use to force FindMimeFromData to recognize an oddball file extension as plain ANSI text. Just edit the file and change all occurrences of ext to your file extension. If a text file is not recognized as text, it will be sent base64 encoded. This won t hurt anything but it will make the file 33 larger.
Click here to download the PowerBuilder sample: EMAILSMTP.ZIP
Win API Functions used:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
emailsmtp_8.pbt
emailsmtp_10.pbt
classes_root.reg
MAIL03.ICO
logo_01.jpg
emailsmtp_8.pbl
emailsmtp_10.pbl
emailsmtp_10.pbt
classes_root.reg
MAIL03.ICO
logo_01.jpg
emailsmtp_8.pbl
emailsmtp_10.pbl