1 year ago

#346548

test-img

ivansiluianov

How to send SMTP message from Onion SMTP server

I try to send mail with SMTP from onion smtp (mail2tor service), but it doesnt working, I just dont get this mail.

SmtpClient Smtp = new  SmtpClient("smtp.xc7tgk2c5onxni2wsy76jslfsitxjbbptejnqhw6gy2ft7khpevhc7ad.onion", 25);
        Smtp.Credentials = new NetworkCredential("tillicollapse@mail2tor.com", "********");
        Smtp.EnableSsl = false;

        MailMessage Message = new MailMessage();
        Message.From = new MailAddress("tillicollapse@mail2tor.com");
        Message.To.Add(new MailAddress("tillicollapse@mail2tor.com"));
        Message.Subject = "test";
        Message.Body = "test test";
    Smtp.Send(Message);

I expect, that this mail will send to my mail. I try to check settings in mail2tor, if they are require confirmation for third party applications. I try to use other ports, like 587, 465 I try to enable/disable SSL

c#

.net-core

smtp

smtpclient

tor

0 Answers

Your Answer

Accepted video resources