[Mono-list] Smtp status

Gaurav Vaish gvaish@adobe.com
Wed, 26 Feb 2003 11:39:54 +0530


----- Original Message -----
From: "Per Arneng" <pt99par@student.bth.se>
To: "Gaurav Vaish" <gvaish@adobe.com>
Cc: <mono-list@ximian.com>
Sent: Wednesday, February 26, 2003 11:27
Subject: Re: [Mono-list] Smtp status


>>
>>     * SmtpClient::SendMultipartMail(MailMessage) [line 106] - boundary is
a
>> constant / hardcoded string. Ideally you should generate it dynamically.
>> You may like to have a look at my implementation [1].
>
> This was just a quick hack to get it working. First i thought of
>  using a hashcode. But i will gladly look at your implementation :)

    Oh! I forgot to give the reference.
    Here it is.

[1]:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/csmail/csmail/src/CSMail.Util
s/UniqueValueGenerator.cs?rev=1.2&content-type=text/vnd.viewcvs-markup

    Look for the method: GenerateBoundary.




Happy Hacking,
Gaurav
http://mastergaurav.virtualave.net/iitk
---------------------------------------