[Mono-list] Smtp Classes Got Attachments
PER ARNENG
pt99par@student.bth.se
Fri, 21 Feb 2003 04:23:13 +0100 (MET)
--NextPart_000_1113_1962_1fe8
Content-Type: text/plain
The attached code sent this mail.
Attachment now works but there is some
testing and code cleaning left to do :)
// Per Arneng
--NextPart_000_1113_1962_1fe8
Content-Type: unknown/unknown; name="../src/Test.cs"
Content-Disposition: attachment; filename="../src/Test.cs"
Content-Transfer-Encoding: base64
Ly8gVGVzdC5jcwovLyBhdXRob3I6IFBlciBBcm5lbmcgPHB0OTlwYXJAc3R1
ZGVudC5idGguc2U+CnVzaW5nIFN5c3RlbS5XZWIuTWFpbDsKdXNpbmcgU210
cENsaWVudDsKCnB1YmxpYyBjbGFzcyBUZXN0IHsKCQogICAgcHVibGljIHN0
YXRpYyB2b2lkIE1haW4oIHN0cmluZ1tdIGFyZ3MgKSB7CgkKCXN0cmluZyBz
ZXJ2ZXIgPSAibWFpbC5zdHVkZW50LmJ0aC5zZSI7IC8vICJtYWlsLnN0dWRl
bnQuYnRoLnNlIjsKCXN0cmluZyBlbWFpbCA9ICJwdDk5cGFyQHN0dWRlbnQu
YnRoLnNlIjsKCXN0cmluZyBlbWFpbFRvID0gIm1vbm8tbGlzdEB4aW1pYW4u
Y29tIjsKCglTbXRwQ2xpZW50IGNsaWVudCA9IG5ldyBTbXRwQ2xpZW50KCBz
ZXJ2ZXIgKTsKCSAgICAKCU1haWxNZXNzYWdlIHBsYWluTXNnID0gbmV3IE1h
aWxNZXNzYWdlKCk7CglwbGFpbk1zZy5IZWFkZXJzWyJYLUN1c3RvbUhlYWRl
ciJdID0gImN1c3RvbSB2YWx1ZSI7IAoJcGxhaW5Nc2cuVG8gPSBlbWFpbFRv
OwoJcGxhaW5Nc2cuRnJvbSA9IGVtYWlsOwoJcGxhaW5Nc2cuU3ViamVjdCA9
ICJTbXRwIENsYXNzZXMgR290IEF0dGFjaG1lbnRzIjsKCXBsYWluTXNnLkJv
ZHkgPSAiVGhlIGF0dGFjaG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