Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Smtp.SendMailMerge and database Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bojan
Newbie
Newbie
Avatar

Joined: 06 October 2011
Location: Yugoslavia
Online Status: Offline
Posts: 1
Posted: 06 October 2011 at 10:32am | IP Logged Quote bojan

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 View bojan's Profile Search for other posts by bojan
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 06 October 2011 at 11:36pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide