先贴个阿里云邮件推送服务的官方文档
https://help.aliyun.com/document_detail/29461.html?spm=5176.doc29414.6.588.nKgaTE
里面的部分内容如下:
SDK安装
手动安装
- 在解压的文件中可以找到aliyun-net-sdk-core.dll和aliyun-net-sdk-dm.dll这两个文件
- 在您的Visual Studio项目上右键点击 -> 添加引用 -> 浏览(如果你用的是MonoDevelop,请自行按照相应导入dll的方法导入这个.dll文件),选择以上.dll文件,点击“确定”按钮,您就可以在工程中使用阿里云邮件推送C# SDK了
快速入门
调用简单发信API示例(
SingleSendMail接口说明)
- [backcolor=transparent] [backcolor=transparent]using[backcolor=transparent] [backcolor=transparent]Aliyun[backcolor=transparent].[backcolor=transparent]Acs[backcolor=transparent].[backcolor=transparent]Core[backcolor=transparent];
- [backcolor=transparent] [backcolor=transparent]using[backcolor=transparent] [backcolor=transparent]Aliyun[backcolor=transparent].[backcolor=transparent]Acs[backcolor=transparent].[backcolor=transparent]Core[backcolor=transparent].[backcolor=transparent]Exceptions[backcolor=transparent];
- [backcolor=transparent] [backcolor=transparent]using[backcolor=transparent] [backcolor=transparent]Aliyun[backcolor=transparent].[backcolor=transparent]Acs[backcolor=transparent].[backcolor=transparent]Core[backcolor=transparent].[backcolor=transparent]Profile[backcolor=transparent];
- [backcolor=transparent] [backcolor=transparent]using[backcolor=transparent] [backcolor=transparent]Aliyun[backcolor=transparent].[backcolor=transparent]Acs[backcolor=transparent].[backcolor=transparent]Dm[backcolor=transparent].[backcolor=transparent]Model[backcolor=transparent].[backcolor=transparent]V20151123[backcolor=transparent];
实际编程时提示using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Exceptions;
using Aliyun.Acs.Core.Profile;
这些都找不到,WHY?已经把那两个DLL引用进来了啊