Tutorial for plugin ?

By gkornbluth - November 29, 2011

Hi Djulia and others,

I’ve made some modifications and added some variables to add_notify.php to work with my application and they works perfectly.

I’m stuck on how to insert a link in the sent email message that’s generated from something like this:

Note: One of the defined variables is: $recNum = mysql_insert($tableName,$columnsToValues);

Or you can download the images by <a ref='http://{$_SERVER['HTTP_HOST']}/downloads.php?$recNum'>BY CLICKING ON THIS LINK</a>

When I insert that, instead of a clickable link, I get the href code in the actual email, like this:

Or you can download the images by <a href='http://96.0.18.42/downloads.php?45'>BY CLICKING ON THIS LINK</a>

I’m sure it’s something simple, but I can’t seem to figure it out.

Thanks for your help,

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Tutorial for plugin ?

By Djulia - November 30, 2011

Hi Jerry,

You can perhaps modify the value of the heading.

To replace : Content-type: text/plain; charset=UTF-8

with :

Content-type: text/html; charset=UTF-8

Djulia

By gkornbluth - November 30, 2011

Djulia,

That worked perfectly.

So easy when you know how...

I have learned so much about plugins from you.

Thank you for all your help.

Best,

Jerry
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php