在不使用MFMailComposeViewController的情况下从我的应用发送电子邮件 [英] Send an email from my app without using MFMailComposeViewController
问题描述
是否可以通过点击按钮使用我自己的电子邮件地址将自动生成的电子邮件发送到我的另一个电子邮件地址?
Is it possible to send an automatically generated email using my own email address to another email address of mine by clicking a button?
我尝试使用 MFMailComposeViewController
但出现了另一个视图。我可以在没有此视图的情况下执行此操作吗?
I tried to use MFMailComposeViewController
but another view appeared. Can I do it without this view?
推荐答案
您只能通过创建自己的服务器端邮件程序来完成。点击按钮,你必须发送包含所有所需数据的请求(电子邮件地址,正文,主题等),服务器将发送邮件。
You can do it only by creating own server-side mailer. On button clicking you have to send request with all needed data (email address, body, subject, etc) and server will send mail.
如果你想直接从app发送 - MFMailComposeViewController是唯一的法律方式
If You want send directly from app - MFMailComposeViewController is the only LEGAL way
这篇关于在不使用MFMailComposeViewController的情况下从我的应用发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!