send mail in php using template

Discussion in 'PHP' started by kabucek, Sep 4, 2008.

  1. #1
    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?

    emailResponseScript:$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';
    Code (markup):


    I have this code setup for couple other registrations and its working fine but not for one. Any suggestions? Thanks
     
    kabucek, Sep 4, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    At first, you code isn't easy to read, try to add enters!
    Secondly; i've viewed your code; but it's just part of... so we need more! :)
     
    EricBruggema, Sep 5, 2008 IP