CnSmtpConnection: userNotifications and Attachment Files

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

CnSmtpConnection: userNotifications and Attachment Files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

by Robin Arzoni >> Tue, 27 Apr 1999 4:43:14 GMT

Firstly, this message is to inform non-Cardinal CardSchema users that CardSchema 2.2.21 contains a CnSmtpConnection class that allows you to send e-mail and attachments from a JADE app.

Secondly, the documentation doesn't make it clear that you must subclass CnSmtpConnection if you want to trap notifications in the userNotification method. The updated documentation is attached to this posting.

Thirdly, please be aware that in the current version, attachment files are not closed until the CnSmtpConnection object is deleted. In the next release of CardSchema, these files will be closed when the sending of the message is complete.

Thanks,
Robin Arzoni
JADE Systems Group,
Cardinal Group
Attachments
787_1.doc
(117.5 KiB) Downloaded 122 times
Last edited by ConvertFromOldNGs on Fri Aug 07, 2009 3:49 pm, edited 1 time in total.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: CnSmtpConnection: userNotifications and Attachment Files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

by Paul Mathews >> Wed, 19 May 1999 8:42:00 GMT

Besides Postie.exe and the CardSchema are people using other methods
for integrating with EMail ?

Are these facilities available to non cardinal companies and by what means ?

How are people using HTML documents.

Why/How are people using HTML in their Email from Jade.

Is Cardinal/Jade doing anything with XML and who could I talk to about this.

Paul Mathews
pem@cmsystemsgroup.com.au
Phone: [612] (99717384) Fax[612] (99711679)
(Dee Why,Sydney,Australia)

Please visit our homepage cmsystemsgroup.com.au.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: CnSmtpConnection: userNotifications and Attachment Files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

by Silver Springs ... >> Wed, 26 May 1999 1:55:25 GMT

I provide a simple interface with SMTP email in my main application using the MAPISEND.EXE utility that comes free with Exchange Server. I simply call this using calls to shellExecute (usuable after loading the shell32 external library -- see Nov.98 edition of JADE World).

It works well. You call MAPISEND with a command string or a text file that detail the parameters of the email eg. recipients, cc's, subject, content etc.

You can probably use the intrinsic app.createExternalProcess method also although I havenae tried this.

Further details upon request.

SilverSprings ............................... silversprings@easyliving.com

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: CnSmtpConnection: userNotifications and Attachment Files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

by Allistar Melville >> Wed, 26 May 1999 18:39:47 GMT
Besides Postie.exe and the CardSchema are people using other methods for integrating with EMail ?

We are interfacing with an exchange server using MS dll's (users can print reports to an email address). I'm not too sure of the specifics, but it seems to work ok (but you need exchange/outlook installed on
your system).

Allistar.

------------------------------------------------------------------
Allistar Melville (BSc) Home: allistar@ihug.co.nz \_
Software Developer Work: allistar@focussoft.co.nz </'
Auckland, NEW ZEALAND /)
(/`
"Science built the Academy, superstition the inquisition."
[Robert G. Ingersoll] ------------------------------------------------------------------

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: CnSmtpConnection: userNotifications and Attachment Files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:41 am

by Lukas Hazlehurst >> Thu, 27 May 1999 20:55:40 GMT
Besides Postie.exe and the CardSchema are people using other methods for integrating with EMail ?


Well i've written a small SMTP/POP server suite. Email programs can use the pop server to read their mail and the SMTP to transmit messages. SMTP server also recieves incoming mail for local accounts.

I wrote it (still working on it occasionally) as a test-learning jade project so there are some big bugs in it, but you're more than welcome to use the source code to see how the protocols work etc etc.

Lukas
lukas@programming.ac.nz


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 30 guests