- 32
- 0
- 约4.35千字
- 约 10页
- 2017-06-13 发布于北京
- 举报
在Unity中发送邮件带图片的三种方式(C#脚本)(同时发多人不同邮件)
1,在正文中插入图片发送
usingUnityEngine;
usingSystem.Collections;
usingSystem.Net.Mail;
usingSystem.Net;
usingSystem;
usingSystem.IO;
publicclass SendMessage : MonoBehaviour {
string path =;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnMouseDown(){
stringreceiverName =receiverName;
stringreceiverEmail =receiverEmail;
stringsenderName =senderName;
stringsenderEmail =senderEmail;
path =Application.dataPath +/test.png;
原创力文档

文档评论(0)