Smart Mailer PHP Support Product Page

Smart Mailer to Multiple Recipients + dynamic template? How to?

Asked 23 Aug 2012 00:16:20
1
has this question
23 Aug 2012 00:16:20 justin dallas posted:
Hi there, just bought a whole bunch of your super DMX extentions!!

Im using Smart Mailer, and want to send to multiple recipients - which works super ... my problem is with the templates, Ive selected a dynamic PHP file, that shows/hides newsletter info based on what issue/week the newsletter is being sent out.

My question is: how do I pass the ID of my query through the template page, so the correct info is sent?

to help - here are my 2 pages:
1) what news letter should look like my-web.co.za/viewnewsletter.php?id=1

2) my sending page my-web.co.za/admin/sendnewsletter.php?id=1


Can you confirm as well, that the SMartmailer component is able to use dynamic content as its template?

Thanks, Justin

Replies

Replied 23 Aug 2012 13:43:51
23 Aug 2012 13:43:51 justin dallas replied:
I really do need assistance urgently on this!!!!

I looked through the Forums, & this question has come up a few times ... PHP SMart Mailer - recordset variables in body? www.dmxzone.com/forum/topic/32959/

This is essentially what im asking about.

DMxZONE Please respond!!!
Replied 25 Aug 2012 19:44:10
25 Aug 2012 19:44:10 justin dallas replied:
Im SHOCKED how slack the response is from support ... I mean, Ive bought an application, on your assurance that it could send dynamic content as a newsletter - but, you will not tell me how to do this.

I realise that there may be other queries - but, I, as a customer have needs, & you as a supplier need to support.

Either, there is not enough manpower - or you guys are not really that interested. Either way, there is NO chance I will puchase from your site again.
Replied 27 Aug 2012 07:23:50
27 Aug 2012 07:23:50 Teodor Kuduschiev replied:
Hello Justin,

Can you please tell us what exactly the problem using Recordset bindings is?
Replied 27 Aug 2012 14:20:30
27 Aug 2012 14:20:30 justin dallas replied:
It sends nothing If I use a recordset binding php page as my ‘template’ file in smart mailer.

Ive passed the unique ID but, for some reason, it will not send the info required ... If I use a static HTML page, it works fine.

I need a workaround method to pass the ID to the template.
Replied 27 Aug 2012 20:08:06
27 Aug 2012 20:08:06 justin dallas replied:
my-web.co.za/admin/newsletter.php?id=1 - the ‘send newsletter’ link actions the news letter - & passes an issue ID value (which filters news items form the database for that issue – ie: id=1 .. that means, select all news items that have issueID as 1 – pretty straight forward ... variable is passed in page.php?id=1 format

my-web.co.za/admin/sendnewsletter.php?id=1 – this is my smart mailer script, with the code you generously gave me ... all variables are pretty straight forward, & its set to bring in my dynamic template below ... whilst passing the id=1 variable above

my-web.co.za/viewnewsletter.php?id=1 – this is the template thats called into the smart mailer ... as you can see, the template is working fine ... there just seems to be an issue in when the smart mailer is calling the template ...

When you hit the ‘SEND NEWSLETTER’ link – it runs the smart mailer ... but, the only thing that I receive is a horizontal line ... no info.

Ive tried the above, point it to use a static HTML template file – works magically!!! But, just having an issue when I use the dynamic php file, that is filtering from the database the issues content.
Replied 28 Aug 2012 07:19:16
28 Aug 2012 07:19:16 Teodor Kuduschiev replied:
Unfortunately this is not possible to filter the results on your mail template page.
Replied 28 Aug 2012 21:15:34
28 Aug 2012 21:15:34 justin dallas replied:
is there no workaround, by hand sifting the code?

surely getting a variable to be included or passed should be a relevantly easy function?

Please consider this - as it would vastly improve the marketability of your product.
Replied 29 Aug 2012 08:15:47
29 Aug 2012 08:15:47 Teodor Kuduschiev replied:
I will discuss your suggestions with our developers so they can include this in the future updates.

Reply to this topic