Email merge is giving me grief. I had this working went on to do other stuff and now have returned and it does not work.
I am using email_send2() to do the work in a function that is called by a grid. All works, but the variables in my Html_Message do not get passed. I do get the email message but the variable place holders are replaced.
Tried a simpler string and still no luck. I am wondering if anyone else is having this issue with build 3739?
Regards,
Michael Carroll
www.redrocksbluesky.com
www.theminimalistrunner.com
[email protected]
435-275-5170
I am using email_send2() to do the work in a function that is called by a grid. All works, but the variables in my Html_Message do not get passed. I do get the email message but the variable place holders are replaced.
Tried a simpler string and still no luck. I am wondering if anyone else is having this issue with build 3739?
Code:
FUNCTION send_conf_email AS C (,vName as C, vEmail as C,vPswd as C,vGUIDLink as C) outbound_email_link = "http://www.minimalistrunner.com/conf.a5w?uid=" + vGUIDLink dim pm as P pm.from = "[email protected]" pm.from_alias = "The Minimalist Runner" pm.to = "[email protected]" 'pm.cc = pm.bcc = "[email protected]" pm.subject = "The Minimalist Runner - Registration" dim vmsg as c vmsg = <<%html% <html> <head> </head> <body> <p>Hello and welcome to The Minimalist Runner, <br /> </p> <p class="style1">Once you have confirmed your account with the minimalist runner you can then edit your account profile, add minimalist shoes (including your own bare feet), add race results, and get your name up on the leader board. </p> <p align=left class="style1">Registration will also enable you to receive notifications and newsletters about up and coming barefoot / minimalist races, events, and cool products. We will never sell your contact information and you always have the ability to opt out, or change your notification settings. </p> <blockquote class="style1"> <p align="left"> <strong>Please confirm your account by clicking the link below:</strong><br /> <a href="{outbound_email_link}">{outbound_email_link}</a></p> </blockquote> <p class="style1"> Here's your login info:<br /> <br /> <strong>Email:</strong>{vEmail}<br /> <strong>Password:</strong>{vPswd} <br /> </p> <p>Anyway that should get you on the site. As for me I am going for a run. Hmmm Five Fingers or Barefoot today? <p class="style1"> Sincerely, <br /> <br /> <br /> Michael Carroll<br /> <a href="http://www.redrocksbluesky.com">www.redrocksbluesky.com</a><br> <a href="http://www.theminimalistrunner.com">www.theminimalistrunner.com</a><br> <a href="mailto:[email protected]">[email protected]</a></font> </body> </html> %html% pm.Html_Message = evaluate_string(vmsg) email_send2(pm)
Michael Carroll
www.redrocksbluesky.com
www.theminimalistrunner.com
[email protected]
435-275-5170
Comment