Hi Douglas
I downloaded it and played with it. It does generate an email from a
form. I was looking to do it from a query. I want to run a query and it
process all the records that are late and send email directly.
I wrote an Mail Assistant app that works via DDE to do just this.
http://balance-infosystems.com/products/mail.assistant/
Example code is
With MailAssistant
.connect
If Not .connected Then
' try launching
.launch
.connect
End If
If .connected Then
'.verboseOff
.serverName "default"
.serverAddress "your.smtp.server.ip.or.address"
.serverPort "25"
.preferencesSave
'.verboseOn
.templateName ("approval to proceed")
.newHTMLMessage
.addressedFrom "from.addr...@your.domain"
.addressedTo "to.addr...@clients.domain" ' multiple
addresses separated by commas
.copiedTo "interested.parties@domains" ' multiple
addresses separated by commas
.blindCopiedTo "audit.addres...@your.dormain" ' multiple
addresses separated by commas
.messageSubject "Artwork Approval And Order Confirmation
for Job Number [JOB NUMBER]"
.messageData "[JOB NUMBER=G52636],[DATE=26th, July
2007],[SENDER NAME=Mary Joseph],[RECEIVER NAME=Joseph Mary],[APPROVAL
NUMBER=25635],[JOB DESCRIPTION=Some sort of job description],[JOB
QUANTITY=3000],[DATE TO BE DELIVERED=28th of July, 2006],[TOTAL
COST=5489.00], [PAYMENT TERMS=50% on Approval, 50% on Delivery],[SENDER
EMAIL=keith.hutchi...@balance-infosystems.com]"
.messageAttachments "rproxy.pdf" ' full path is normally
required, multiple attachments by separating by commas, attachment
dialog by pass an empty string
.messagesSend
'.verboseOff
Else
MsgBox "Unable to connect to Mail Assistant"
End If
.disconnect
End With
Regards
Keith