Index: TECH/Mail/impl/SMTPVerzender.cls.xml =================================================================== diff -u -r861 -r1577 --- TECH/Mail/impl/SMTPVerzender.cls.xml (.../SMTPVerzender.cls.xml) (revision 861) +++ TECH/Mail/impl/SMTPVerzender.cls.xml (.../SMTPVerzender.cls.xml) (revision 1577) @@ -7,6 +7,11 @@ %Net.SMTP + +%Net.MailMessage +1 + + 1 1 @@ -15,6 +20,9 @@ @@ -26,7 +34,7 @@ Set ..SMTP = ##class(%Net.SMTP).%New() Set ..SMTP.smtpserver=..GeefSMTPServer() - #dim Status As %Status = ..SMTP.Send(Mail.GeefMailMessage()) + #dim Status As %Status = ..SMTP.Send(..GeefMailMessage(Mail)) If $$$ISERR(Status) { @@ -55,6 +63,101 @@ + + + +Deze was [ Private ] , nu public gemaakt voor UT :-(((( + +Mail:TECH.Mail.Mail +%Net.MailMessage + + + + +Mail:TECH.Mail.Mail +1 +%Boolean + + + + +1 + + + + +1 + + + + +Mail:TECH.Mail.Mail +1 + + + + +1 +%String +0) + #dim RecipientsInfo As %String = "Intended Recipients : (redirected by configitem vhLib.Mail_RedirectMailToDevelopment)"_$$$CRLF + Set:(..MailMessage.From'="") RecipientsInfo=RecipientsInfo_" From: "_..MailMessage.From_$$$CRLF + Set:(..MailMessage.To.Count()>0) RecipientsInfo=RecipientsInfo_" To : "_##class(TECH.ListUtils).ListToPieces(..MailMessage.To,", ")_$$$CRLF + Set:(..MailMessage.Cc.Count()>0) RecipientsInfo=RecipientsInfo_" Cc : "_##class(TECH.ListUtils).ListToPieces(..MailMessage.Cc,", ")_$$$CRLF + Set:(..MailMessage.Bcc.Count()>0) RecipientsInfo=RecipientsInfo_" Bcc : "_##class(TECH.ListUtils).ListToPieces(..MailMessage.Bcc,", ")_$$$CRLF + Set RecipientsInfo=RecipientsInfo_"============================================================"_$$$CRLF + If ..MailMessage.IsHTML { + Set RecipientsInfo=$$$Replace(RecipientsInfo,$$$CRLF,"
") + Set RecipientsInfo=RecipientsInfo_"
" + } + Quit RecipientsInfo +]]>
+
Index: TECH/Mail/impl/Mail.cls.xml =================================================================== diff -u -r1576 -r1577 --- TECH/Mail/impl/Mail.cls.xml (.../Mail.cls.xml) (revision 1576) +++ TECH/Mail/impl/Mail.cls.xml (.../Mail.cls.xml) (revision 1577) @@ -97,6 +97,12 @@ ]]> + +%Boolean + + + BijlageLocaties:%ListOfDataTypes @@ -213,74 +219,6 @@ ]]> - -%Net.MailMessage - - - - -%Boolean - - - - -1 - - - - -1 - - - - - - - %String - -%String -0) - #dim RecipientsInfo As %String = "Intended Recipients : (redirected by configitem vhLib.Mail_RedirectMailToDevelopment)"_$$$CRLF - Set:(..MailMessage.From'="") RecipientsInfo=RecipientsInfo_" From: "_..MailMessage.From_$$$CRLF - Set:(..MailMessage.To.Count()>0) RecipientsInfo=RecipientsInfo_" To : "_##class(TECH.ListUtils).ListToPieces(..MailMessage.To,", ")_$$$CRLF - Set:(..MailMessage.Cc.Count()>0) RecipientsInfo=RecipientsInfo_" Cc : "_##class(TECH.ListUtils).ListToPieces(..MailMessage.Cc,", ")_$$$CRLF - Set:(..MailMessage.Bcc.Count()>0) RecipientsInfo=RecipientsInfo_" Bcc : "_##class(TECH.ListUtils).ListToPieces(..MailMessage.Bcc,", ")_$$$CRLF - Set RecipientsInfo=RecipientsInfo_"============================================================"_$$$CRLF - If ..IsHTML { - Set RecipientsInfo=$$$Replace(RecipientsInfo,$$$CRLF,"
") - Set RecipientsInfo=RecipientsInfo_"
" - } - Quit RecipientsInfo -]]>
-
- %ListOfDataTypes