Hi:
We have just migrated to Lotus Notes/Domino from Exchange.
Now my lovely emails of files from Paradox are refused as Paradox 9 does not seem to recognise Notes!
Is anybody aware of this issue and how to resolve it?
Thanks!
VAR
m MAIL
ENDVAR
m.addAddress("bill.gates@microsoft.com")
m.setSubject("Todays Orders")
m.setMessage("Attached are the header and detail orders received by us on the last working day before today")
m.addAttachment("Header.txt")
m.addAttachment("Detail.txt")
m.send()
endMethod
Oddly, the Mail::send() method doesn't return a value indicating success or failure.
I note the Help topic for send() suggests it may be necessary to call logon() before calling send(); howeer, it appears that logon() doesn't return a value, either.
However, the logonDlg() does return a logical value. So, the following code works on my end:
Code:
method run(var eventInfo Event)
var
m Mail
endVar
if m.logonDlg() then
m.addAddress("nouser@example.com")
m.setSubject("Paradox Mail Test")
m.setMessage("This is a test of the Paradox 10 Mail type.")
m.send()
m.logOff()
endIf
endMethod
Now, my email server isn't Lotus Notes. I did need to define a profile on my Windows XP box for the currently registered MAPI client, but the dialogs for all of that appeared as expected.
Thanks (as usual!), footpad.
You got me on the right track with LogonDlg.
This prompted me to create a new profile; I did, pointing it at Notes...and it works a treat.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.