Search: 
Knowledge Base Entry

Using SMTP to send email with HTML or Attached Files

Date Entered:  6/5/2002

Last Update:  6/4/2004

APPLIES TO

SYNOPSIS

How can I send attached files or HTML text in the body of my message?

SOLUTION

The easiest way to do this is with the HTMLMailer control in V6 of IP*Works! This component includes an AddAttachment method which takes a filename as input, and automatically encodes the file into the outgoing email. It also includes a MessageHTML property that allows you to specify the html part of the email.

If you do not use the HTMLMailer or FileMailer control - you'll need to use the MIME object in conjunction with the SMTP control and MIME encode your message.

| About | Privacy Policy | Terms of Use |
© Copyright 2010 /n software inc.