> DON'T HAVE ANY WHITESPACE BEFORE THE MAIL HEADERS. (sorry for the shouting, > but it's a classic misstake) I didn't realise that. Thanks. > Does it work "DTMLless". I.e. does it work with statically typed in email > addresses and such? Nope, 'From:Lee' still gives me [EMAIL PROTECTED] in the received message. > And you are running with the same mailserver, on the same host? Yup. Here's a little example of a mail program (some might call it an email spammer perhaps) to help me apply for some jobs. This is also why I wanted to know if sendmail could be used for usenet postings... <dtml-var standard_html_header> <dtml-sendmail mailhost="MailHost"> To: <dtml-var email> From: Lee Reilly Reply-To: [EMAIL PROTECTED] X-Mailer: Job Spammer Subject: <dtml-var position> practical training/internship position Content-Type: multipart/mixed; boundary="------------138879291FA1FC8B06755CEE" This is a multi-part message in MIME format. --------------138879291FA1FC8B06755CEE Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit --------------138879291FA1FC8B06755CEE Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Base: "http://homepages.strath.ac.uk/~aeu9717 2/" Content-Location: "http://homepages.strath.ac.uk/~aeu9717 2/" <html> <head> <title>Lee Reilly</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="description" content="seeking employment in the US for a period of 3 months starting in June 2001"> <meta name="keywords" content="lee, reilly, internship, web site, website, BUNAC, summer, work, employment, Scottish, Lee Reilly"> </head> <body bgcolor="#FFFFFF" text="#CCFFCC" link="#FFFFCC" vlink="#FFFFCC" alink="#FFFFCC"> <p><font color="#000000" size="2" face="Arial, Helvetica, sans-serif">Dear <dtml-var name>, </font></p> <p><font color="#000000" size="2" face="Arial, Helvetica, sans-serif">Further to you advertisement on <dtml-var advertisement> I am writing to enquire as to whether you have any summer internship / practical training opportunities available for Computer Science graduates this summer. I am due to graduate with a BSc Hons degree in Computer Science in June 2001 from the University of Strathclyde, Glasgow, and from there ... blah blah blah </body> </html> --------------138879291FA1FC8B06755CEE-- </dtml-sendmail> <h2>Cheers big yin!</h2> <p>You'll get the job ;-)</p> <dtml-var standard_html_footer> This gives me the *correct* results so I can't imagine that's a problem with the mailserver: Subject: web developer practical training/internship position Date: Thu, 25 Jan 2001 14:08:55 +0000 From: Lee Reilly <----- perfect! Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] So I think it's a problem with To: dtml-var "_.string.join(recipients,'@cs.strath.ac.uk,')">@cs.strath.ac.uk It's now more trouble than it's worth so I'll just implement it differently. It's quite annoying though! Thanks for your help anyway :) - Best regards, Lee _______________________________________________ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
