i am getting this error
the script works fine at run time, but i get this error if i try to edit any email script at all.
this happened a few weeks ago after a patch update, but i cant remember which one to roll back to.
here is the code, which all seems fine
anyone seen this or have a fix.
thanks
script: xg1_open_email_client1
line 110 variable " _to" not found
line 110 variable " _to" not found
this happened a few weeks ago after a patch update, but i cant remember which one to roll back to.
here is the code, which all seems fine
Code:
Dim message_type as c message_type = "" to_var = a5_eval_expression("=alltrim(Casefile->Clientemail)",local_variables()) param_to = to_var subject_var = a5_eval_expression("=\"Case Update from\"+ \" \" + Branch",local_variables()) param_subject = subject_var param_cc = "" param_bcc = "" message_var = a5_eval_expression("=\"Dear\" + \" \" + alltrim(casefile->Clientfirstname)+\",\" +chr(13)+chr(10)+chr(13)+chr(10)+\" \"+\"Your Protection Application has been processed and submitted to your provider.\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+\"We have diarised to contact your lender in 2 days to ensure your application has been received and is being processed.\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+\"If you have any questions please feel free to call me on 0845 2574141.\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+\"Kind Regards\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+ user_name() +chr(13)+chr(10)+\"Case Mangement.\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+\"Tel; 0845 2574141\" +chr(13)+chr(10)+chr(13)+chr(10)+ \"Address; 96 Sandgate Road, Folkestone, CT20 2BE\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+chr(13)+chr(10)+chr(13)+chr(10)+\"Please consider the environment before printing this email or any attachments \"+chr(13)+chr(10)+chr(13)+chr(10)+\"* mortgage products sourced using tri gold mortgage sourcing software.\"+chr(13)+chr(10)+chr(13)+chr(10)+\"_____________________________________________________________________________\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"\"Why not visit our website at www.directmortgagecentre.com, to see how we could help you�\"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"\"Direct Mortgage Centre Limited is authorised and regulated by the Financial Services Authority (302007). \"+chr(13)+chr(10)+chr(13)+chr(10)+\" \"+\"This email contains information which is confidential and may also be privileged. It is for the exclusive use of the addressee, please note that any distribution, dissemination, copying or use of this communication or the information in it is prohibited. If you have received this email in error, please telephone us on 08700 424446 immediately. Internet communications cannot be guaranteed to be secured or error-free as information could be\"",local_variables()) param_message = message_var attachment_list = "" param_attachments = alltrim(attachment_list) 'Send the e-mail using the Alpha Five e-mail client email_client(param_to,param_subject,param_message,param_attachments,param_cc,param_bcc,.t.,message_type) END IF
thanks
Comment