Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
Jason, I tried to reply to your follow-up privately but your address was not recognized by your server. Is it forged? Anyway I paste the message contents into this newsgroup reponse instead: ------------ Well, not without me opening up the project and adding more info. However, the incomplete header in this case comes from the fact that the To: field is not properly filled in... The system works like this: 1) It builds a list of users and email pairs from the CVSROOT/users file (Falls back to the ini file if this file is not found) 2) Then it looks in the list of subscribed users to see which users will get the email. This list is CVSROOT/loginfousers The log file should reflect this parsing as in the following example: 20020614 17:59:45 DEBUG: Reading the subscribed user list in d:/cvs/pc\CVSROOT\loginfousers 20020614 17:59:45 DEBUG: Parsing the subscribed users 20020614 17:59:45 DEBUG: Found user bosse 20020614 17:59:45 DEBUG: Adding user email Bo Berglund <bosse at somedomain.com> 20020614 17:59:45 DEBUG: Found user shannon 20020614 17:59:45 DEBUG: Adding user email Shannon Cash <shannon at somedomain.com> 20020614 17:59:45 DEBUG: Found user liz 20020614 17:59:45 DEBUG: Adding user email Liz Lagmanson <liz at somedomain.com> 20020614 17:59:45 DEBUG: Processing log message ... etc ... What it actually does is adding the 'subscribed' user to the To: field if found. Now, in your log example this is totally missing. You must build both the users and the loginfousers file as described in the readme file. But of course there is a bug in my program, it should check that there is at least one recipient before trying to send the message. Now the mailserver is the one detecting this error... /Bo -----Original Message----- From: Jason R. Weiss [mailto:jason at getpersonified.com] Sent: den 16 juni 2002 22:57 To: bo.berglund at telia.com Subject: RE: [Cvsnt] How do I send an e-mail with cvs log data from CVS server running on WinXP after a commit? This is exactly what I was after. Thank you. I have a quick question. Is there a way to get more debug information than this? It tries to send the e-mail, but logs an error about some incomplete header or something. 20020616 15:54:57 CVS message: Update of /cvsrep/ge/resources 20020616 15:54:57 DEBUG: Loading users data from ini file 20020616 15:54:57 DEBUG: User #1 = Wiseman:Jason Weiss <jason at getpersonified.com> 20020616 15:54:57 DEBUG: User #2 = dave:Dave Wolf <dave at getpersonified.com> 20020616 15:54:57 DEBUG: Creating commit log message... 20020616 15:54:57 DEBUG: Getting mail address for user: Wiseman 20020616 15:54:57 DEBUG: MailAddress=jason at getpersonified.com MailName=Jason Weiss 20020616 15:54:57 DEBUG: Reading the subscribed user list in :local:/cvsrep\CVSROOT\loginfousers 20020616 15:54:57 DEBUG: Parsing the subscribed users 20020616 15:54:57 DEBUG: Processing log message 20020616 15:54:57 DEBUG: Standard input: Update of /cvsrep/ge/resources 20020616 15:54:57 DEBUG: After processing: Update of /cvsrep/ge/resources 20020616 15:54:57 DEBUG: Parameter4: ge/resources classgenerator.properties,1.53,1.54 20020616 15:54:57 DEBUG: Subject of message = CVS commit on module ge/resources 20020616 15:54:57 DEBUG: ---- Outgoing message details ----- 20020616 15:54:57 DEBUG: Mailhost: mail.getpersonified.com 20020616 15:54:57 DEBUG: Date: 6/16/2002 3:54:57 PM 20020616 15:54:57 DEBUG: Subject: CVS commit on module ge/resources - 6/16/2002 3:54:57 PM 20020616 15:54:57 DEBUG: From (addr): jason at getpersonified.com 20020616 15:54:57 DEBUG: From (name): Jason Weiss 20020616 15:54:57 DEBUG: ReplyTo: jason at getpersonified.com 20020616 15:54:57 DEBUG: ----------------------------------- 20020616 15:54:59 ERROR - Sending mail: Incomplete Header /Bo (Bo Berglund, developer in Sweden) _______________________________________________ Cvsnt mailing list Cvsnt at cvsnt.org http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs