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!

Can I use Paradox 8 as an e-mail marketing tool?

Status
Not open for further replies.

hotrodjim48

IS-IT--Management
Mar 18, 2003
4
US
I have a customer using Paradox 8 to keep track of customers and what they purchase from them. The dbase has about 5000 customers in it. Right now, using filters they group customers by purchases and print mailing labels and send them an apropriate catalog. In the dbase it has email address and when you click on the e-mail Paradox invokes an e-mail client... They are wondering if they can filter customers who bought chocolate chip cookies and e-mail them all "monthly specials" by the query results of the choclate chip cookie customers. So it looks like a personal e-mail to them and not have a bunch of e-mail address in the to: portion without having to do one email at a time.
 
Sure, at least I think so. I belive Paradox started supporting MAPI in version 8. Look up "Mail" in objectpal help. It's easy to set up in a scan in the filtered table.

var
m MAIL
tc tcursor
endVar

tc.open("customer table")
scan tc:
m.addAddress(tc.customer-email-address)
m.setSubject("Cookies")
m.setMessage("Buy our Yummy Cookies")
m.send()
endscan

I do something similar to this at the end of the day to send my customers shipping details for their orders.

Good luck
Perrin
 
Forgot to add you need to m.emptyAddress() or m.empty() to clear the mail for the next message

scan tc:
m.addAddress(tc.customer-email-address)
m.setSubject("Cookies")
m.setMessage("Buy our Yummy Cookies")
m.send()
m.empty()
endscan

or

m.setSubject("Cookies")
m.setMessage("Buy our Yummy Cookies")
scan tc:
m.addAddress(tc.customer-email-address)
m.send()
m.emptyAddress()
endscan

Perrin
 
Thank you... Happy that you are a programer... Have a CSE deg. But don't know syntax...
Thank you,
Thank you,
Thank you,
Will post back and let you know how it went.
Jim
 
I have successfully done this - but the message length was a problem. As long as you keep it short (say, a brief note and link), you should be okay. You can also add attachments (i.e. a TXT file). Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
OK, I'm getting a syntax error on the word email.
I coppied what you had?
Any suggestions?
 
Can you post your code and I'll see if I can find the problem.

Perrin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top