login() for emailI'm using a Corel Webserver control to capture data from a web page. Works great. After the posting, I want to send an email to a staff member that the data has been posted. I have the following code:
m.logon("","" ), , , m.addAddress("products@consoftonline.com"), , m.setSubject("A Patient from the Portal"), m.setMessage("Please check Patient: " + theName + " " + theAppointmentDate), , m.send()
The problem is that the Logondlg box appears each time . It's supposed to send the message automatically. What am I missing?
|