📜  发送邮件 C# - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:31.445000             🧑  作者: Mango

代码示例2
var values = new Dictionary
{
    { "thing1", "hello" },
    { "thing2", "world" }
};

var content = new FormUrlEncodedContent(values);

var response = await client.PostAsync("http://www.example.com/recepticle.aspx", content);

var responseString = await response.Content.ReadAsStringAsync();