嗨,我想通过smtp协议发送邮件到我的一个Gmail帐户...
我试过但最后发生了错误:
telnet> open alt4.gmail-smtp-in.l.google.com 25
Trying 74.125.131.27...
Connected to alt4.gmail-smtp-in.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP b4si2095585vdw.57 - gsmtp
HELO stackoverflow.com
250 mx.google.com at your service
MAIL FROM: <test@stackoverflow.com>
250 2.1.0 OK b4si2095585vdw.57 - gsmtp
RCPT TO: <????@gmail.com> // filtered ;)
250 2.1.5 OK b4si2095585vdw.57 - gsmtp
DATA
354 Go ahead b4si2095585vdw.57 - gsmtp
test
ok
it done
.
550-5.7.1 [5.22.81.102] The IP you're using to send mail is not authorized to
550-5.7.1 send email directly to our …Run Code Online (Sandbox Code Playgroud) 如何在不知道文件内容的情况下将哈希表写入文件?
Hashtable DTVector = new Hashtable();
Run Code Online (Sandbox Code Playgroud)
只需将其存储到文件中,然后读取它并再次创建一个哈希表.