send mail in php using template

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kabucek
Forum Commoner
Posts: 50
Joined: Thu Sep 04, 2008 2:20 pm

send mail in php using template

Post by kabucek »

Hello @ll,

I'm using these piece of code to process registration link on my website, but for some reason for one of the registrations links its not working. Is this code incorrected?

Code: Select all

emailResponseScript&#058;$custResponseArray['templateURL']='http://<website-name>/<folder1>/<subfolder1>/emailTemplates/<name-of-template>.html';$custResponseArray['subjectTemplate']='Confirmation <!prodInfo:name!>';$custResponseArray['fromEmailAdr']='Admin@something.com';$custResponseArray['fromEmailName']='<Example Name Coordinator>';$custResponseArray['destEmailAdrTemplate']='<!emailAdr!>';$custResponseArray['destEmailNameTemplate']='<!first!> <!last!>';$custResponseArray['showProcessMsg']='true';




I have this code setup for couple other registrations and its working fine but not for one. Any suggestions? Thanks
Post Reply