Run time error with ProIV E-mail
Posted 01 September 2011 - 03:41 PM
The e-mail appears to work as it should and the functions complete processing, but we are getting an Runtime error (see attachment). It appears to be on the "Send()" method in the e-mail active X control. I have checked the ActiveX gallery and the local machine folder and everything seems to be in place. I have re-genned all of the functions that use the control but we still get the error. It seems to be sporadic sometimes it will give the error and other times it will work just fine. Any ideas in solving this issue would be greatly appreciated.
Posted 02 September 2011 - 12:51 PM
I have also attached a couple of functions that we use within our app to e-mail. One is a global update and the other is a global screen (dialogue). I have not included the file definition as it forms part of our security model, but you should be able to easily figure out/create your own version that holds the e-mail configs.
P.S. We use Linux, so if you use windows you may have to byte swap (ischk) the attached vpx.
// // Send the e-mail, setting up all the data first. // // Set up the SSO properties from the entered values EmailSSO.smtpServername = RM_SMTP_SERVER_NAME EmailSSO.smtpUsername = RM_SMTP_USER_NAME EmailSSO.smtpPassword = RM_SMTP_USER_PASSWORD EmailSSO.subject = 'ISO Claims Post Error Notification' EmailSSO.smtpPort = CONV(RM_SMTP_PORT) // // Use a method to set the sender // EmailSSO.setFrom(From) // // and the recipient // EmailSSO.appendTo(Recipient) // // Append the message - this allows long messages // EmailSSO.appendMessage(Message) // // Attach the xml document to the e-mail // EmailSSO.addAttachment(Attachement) // // Send the mail // EmailSSO.send() // //Clear the 'To', 'Cc','Message' and 'Attachements' buffers // EmailSSO.clearToRecipients() EmailSSO.clearCcRecipients() EmailSSO.clearMessage() EmailSSO.clearAttachments() RETURN
Posted 02 September 2011 - 06:41 PM
Don't know why the ActiveX e-mail was having issues. We did report it to PROIV support. If the testing goes good we will discontinue using the ActiveX and switch to the SSO.
Again thank you very much for taking the time to provide us with such detailed information. It is greatly appreciated.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users