WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Postie

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

kSendText Simple Example

 Keywords: kSendText Postie Email Attachment HTML 

AddExtender("WWPST44I.DLL")
host="mail.hollywood.com"
fromaddr="steve@hollywood.com"
userid=""
password=""
port=""
tolist="holly@hollywood.com|michelle@underground.com|fred@splat.com "
cclist=""
bcclist="smartin@smilie.com"
subject="Unofficial Smilie Dictionary"
mymsg="<html><head><title>Postie.</title></head><body><h1>Hey You!</h1>Did you receive your BCC from me?</body></html>"
attachments="c:\jokes\smilies.txt|d:\temp\frownies.txt"
flags="h"
kInit(host,fromaddr,userid,password,port)
kDest(tolist,cclist,bcclist)
ret = kSendText(subject,mymsg,attachments,flags)
If ret == 0
   errline=kStatusInfo()
   Message("ErrLine",errline)
EndIf

Article ID:   W17593
Filename:   kSendText Simple Example.txt
File Created: 2014:02:10:08:58:08
Last Updated: 2014:02:10:08:58:08