Clarion 10
NT 9.11
Have email sending from my web app and all works fine. Including logging of sent emails.
However it seems slow, can take 4/5 seconds to send - previously used vuMail and it sent in less than a second.
Code below is what sends emails, am I doing correctly please.
Brian.
SendEmailNotice ROUTINE
email.pEmailSettingsPath = p_web.site.apppath
email.pEmailSubject = 'Transcription for: ' & p_web.GSV('CVF:cvfsysid') & ' ' &p_web.GSV('CVF:PatientName') & ' Customer: ' & p_web.GSV('CVF:CustomerName')
email.pEmailMessageText = app:TransEmail & '<13,10>' & '<13,10>' &app:ReturnText & '<13,10>' & '<13,10>' & app:Disclaimer
email.pEmailTo = CLIP(p_web.GSV('CVF:AssignedEmail'))
email.pEmailFrom = CLIP(p_web.GSV('UserName'))
email.pEmailReplyTo = CLIP(p_web.GSV('sta:emailaddress'))
email.pStartTLS = 1
r# = SendEmail(email)
DO AddEmailLog
EXIT
Thanks in advance.