[英]how to attach a file and send a email using angular js
I am trying to create a view to send an email by attaching a file. 我正在尝试创建一个视图以通过附加文件来发送电子邮件。 I just started coding but not sure how to attach .could anybody help me for this.
我刚刚开始编码,但不确定如何附加。有人可以帮助我吗? here is my small code.
这是我的小代码。
<div>
<div> To</div>
<div><input type="text" name="" placeholder="" size="70" /></div>
</div>
<div>
<div>Subject</div>
<div><input type="text" name="" placeholder="" size="70"/></div>
</div>
after this I have to add image and by click that image I have to attach a file and enter message, then click send button. 之后,我必须添加图像,然后单击该图像,我必须附加一个文件并输入消息,然后单击“发送”按钮。
您可以看一下ngDroplet
模块。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.