cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Scolari" <a.scol...@ticino.com>
Subject RE: XSP and sending 100 emails
Date Fri, 03 Oct 2003 07:28:05 GMT
Hi Joose.

> can sendmail XSP be used to send 100 emails in a loop?

Yes, you can do like you've written:

while (morerecipients) {
	<mail:send-mail>
	  <mail:charset>ISO-8859-1</mail:charset>
	  <mail:smtphost>mail.xxx.ch</mail:smtphost>
	  <mail:from>xxx@xxx.ch</mail:from>
	  <mail:to><xsp:expr>email</xsp:expr></mail:to>
        <mail:subject><xsp:expr>subject</xsp:expr></mail:subject>
	  <mail:body><xsp:expr>text</xsp:expr></mail:body>
  	</mail:send-mail>
}

Best regards,


Andrea Scolari


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message