Author |
|
bojan Newbie
Joined: 06 October 2011 Location: Yugoslavia
Online Status: Offline Posts: 1
|
Posted: 06 October 2011 at 10:32am | IP Logged
|
|
|
Hello,
I am trying to implement a newsletter solution as seen in http://www.afterlogic.com/mailbee-net/docs/MailBee.SmtpMail.Smtp.SendMailMerge.html using a SQL 2005 database table as a data provider.
Rihgt now, it is not properly working for me, I gave a connection string and change the adapters to match SQL (I`m writing the code in C#). The query itself should not be a problem either.
Since it is a web application, I followed the instructions on how to make it work.
Can i perhaps have an insight to the database structure used in the above example, or do you have some sort of complete example on how to do this ?
Thank you.
http://www.afterlogic.com/mailbee-net/docs/MailBee.SmtpMail.Smtp.SendMailMerge.html
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 06 October 2011 at 11:36pm | IP Logged
|
|
|
In the code sample you are referring to, it is assumed that the database record of mailing_list table contains the following fields: ID for unique user identifier (integer), Email for customer's e-mail address and Body for message text to be sent out.
As that documentation page states, connection string might be different in your case. There's a helpful reference resource for building connection strings of various types for different database engines.
And by the way, Developer's Guide for MailBee.NET Objects includes a section explaining various mail merge techniques, you can find it here.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|