I've tried using the Redemption.dll (v188.8.131.524) and each time the code executes Access 2000 (9.0.6926) SP3 crashes.
Public Function SendMail(m_RecipEmail As String, m_Subject As String, m_Note As String, Optional m_QryTbl As String)
Set olAPP = CreateObject("Outlook.Application")
Set olNamespace = olAPP.GetNamespace("MAPI")
Set stpEmail = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem
Set oItem = olAPP.CreateItem(0) 'Create a new message
.Item = oItem 'Set Item property
.Recipients.Add "firstname.lastname@example.org" 'm_RecipEmail
.Subject = m_Subject
.Importance = olImportanceNormal 'Normal importance
.Body = m_Note
Set oItem = Nothing
Set stpEmail = Nothing
Set olNamespace = Nothing
Set olAPP = Nothing
The code is being called from a simple command button on a form. If I put a break point in the code and step through it the code executes through to the end, but as soon as the Function ends, Access crashes. I'm stuck :(, does anyone have any clue what is going on ?