VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

VB HTML Mail via SMTP

Pablo Cuadrado  (1 Submission)   Internet/HTML   VB Script   Intermediate   Wed 3rd February 2021

It's a function that allows you to send an e-mail with both HTML and Plain Text formats, using the Winsock control. It's an enhancement to Brian Anderson's code.

Inputs
SourceForm, DestAddress, Server, Optional BodyHTML, Optional BodyTXT, Optional SenderName, Optional SenderAddress, Optional DestName, Optional Subject.

Assumes
You gotta have a Winsock control or create an instance of it.

Returns
SMTP Errors, status codes.

Side Effects
None.

API Declarations
' A global variable.
Public Response As String

Rate VB HTML Mail via SMTP (3(3 Vote))
VB HTML Mail via SMTP.bas

VB HTML Mail via SMTP Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters