[cvsnt] How to invoke internal mailer

Bart S barts2108 at yahoo.co.uk
Tue Dec 16 21:57:26 GMT 2008


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.


I tried it again to download the sources ..

The link I get through your site is 

http://march-hare.com/archive/cvsnt-2.5.04.3236.tar.gz

Opened it, view the triggers/email_trigger.cpp and see inside
bool CSmtpMailIo::start_mail(const char *from, const std::vector<cvs::string>& to)


........

    }
    if(!get_smtp_response(m_sock))
        return false;
    for(size_t n=0; n<to.size(); n++)
    {
        if(strchr(to[n].c_str(),'@') || !emaildomain[0])
        {
            CServerIo::trace(3,"SMTP C: RCPT TO:<%s>",to[n].c_str());
            m_sock.printf("RCPT TO:<%s>\r\n",to[n].c_str());
        }
        else
        {
            CServerIo::trace(3,"SMTP C: RCPT TO:<%s@%s>",to[n].c_str(),emaildomain);
            m_sock.printf("RCPT TO:<s@%s>\r\n",to[n].c_str(),emaildomain);

........................................

<s@%s> bug is still there.... valid download from your site



________________________________
From: Arthur Barrett <arthur.barrett at march-hare.com>
To: Bart S <barts2108 at yahoo.co.uk>; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Sent: Tuesday, 16 December, 2008 22:49:13
Subject: RE: [cvsnt] How to invoke internal mailer

Bart,

> Any time to file the bug report that I mentioned before ?


You mean this one:

> 
> m_sock.printf("RCPT TO:<s@%s>\r\n",to[n].c_str(),emaildomain);
>                      ^^^


As can be seen from a quick look at the repository - Tony fixed that 2.5
years ago:

----------------------------
revision 1.1.2.24
date: 2006/06/02 09:20:03;  author: tmh;  state: Exp;  lines: +4 -4;
kopt: kv;
filename: email_trigger.cpp;
email trigger
----------------------------

cvs diff -r 1.1.2.23 -r 1.1.2.24 email_trigger.cpp
Index: email_trigger.cpp
===================================================================
RCS file: /usr/local/cvs/cvsnt/triggers/email_trigger.cpp,v
retrieving revision 1.1.2.23
retrieving revision 1.1.2.24
diff -r1.1.2.23 -r1.1.2.24
1058,1059c1058,1059
<                       CServerIo::trace(3,"SMTP C: RCPT TO:
%s",to[n].c_str());
<                       m_sock.printf("RCPT TO: %s\r\n",to[n].c_str());
---
>                       CServerIo::trace(3,"SMTP C: RCPT
TO:<%s>",to[n].c_str());
>                       m_sock.printf("RCPT TO:<%s>\r\n",to[n].c_str());
1063,1064c1063,1064
<                       CServerIo::trace(3,"SMTP C: RCPT TO:
%s@%s",to[n].c_str(),emaildomain);
<                       m_sock.printf("RCPT TO:
%s@%s\r\n",to[n].c_str(),emaildomain);
---
>                       CServerIo::trace(3,"SMTP C: RCPT
TO:<%s@%s>",to[n].c_str(),emaildomain);
>                       m_sock.printf("RCPT
TO:<s@%s>\r\n",to[n].c_str(),emaildomain);



If you want to look at the CVSNT code please check out from
cvs.cvsnt.org.  Do not use extremely out of date web mirrors of the
repository for basing any analysis on.  We also strongly recommend that
you run the latest stable release 2.5.04 and test all bugs against the
testing release 2.5.05.

Regards,


Arthur Barrett



      


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook