Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I add email capability from my program

Status
Not open for further replies.

bdenson

Programmer
Dec 12, 2001
14
GB
I would like to write a bit of code to send emails from my program (written in a proprietry language to drive high speed laser printers) so that performance stats can be monitored.

I need to know how emails are formatted. Can I just create a text file like SMTP

HELO
MAIL FROM: test@2020dml.com
RCPT TO: barry@2020dml.com
DATA
this is a test
.
QUIT

or is SMTP a two way thing?

How do I deal with attachments, CC's, BCC's etc?

Is there any packages around which can pick up messages from a watched directory and pass them to the SMTP server?

Any help much appreciated.

Barry

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top