是否可以将附件添加到我的邮件应用程序中?
我想将附件添加到我的邮件应用程序中,可以吗? 我正在我的应用程序中发送邮件和接收邮件,但我不知道如何通过邮件发送附件。请给我一个解决方案,
谢谢,
Anand
我正在使用 Furry SDK 和 Web 服务交换消息,但我需要发送附件。或者如何将字节发送到 Web 服务?
在Web服务中,如果我们传递字符串,我们将使用“@”,
当我们将二进制数据传递给Web服务时,我们使用什么?
在我的应用程序中,数据肥皂
NSString *soapMsg = [NSString stringWithFormat:@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\
<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">\
<soap12:Body>\
<InsertAttachmentint xmlns=\"http://tempuri.org/\">\
<Filename>string</Filename>\
<FileType>string</FileType>\
<FileContentint>base64Binary</FileContentint>\
</InsertAttachmentint>\
</soap12:Body>\
</soap12:Envelope>"];
在上面的肥皂中,我们在字符串的位置使用“%@”,那么base64Binary呢?
I want to add attachments to my Mail App Is it possible?
I am sending mails and receiving mails in my Application but i dont know how to send attachments through mail. please give me a solution for this
Thanks,
Anand
I am Exchanging the messages using with Furry SDK And Webservices, But i need to send Attachments. Or How to send Bytes to Webservices?
In Webservice if we pass string we are using "@"
What we use when we pass Binary Data to Webservice?
In My App Soap for Data is
NSString *soapMsg = [NSString stringWithFormat:@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\
<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\">\
<soap12:Body>\
<InsertAttachmentint xmlns=\"http://tempuri.org/\">\
<Filename>string</Filename>\
<FileType>string</FileType>\
<FileContentint>base64Binary</FileContentint>\
</InsertAttachmentint>\
</soap12:Body>\
</soap12:Envelope>"];
In the above soap We use "%@" in the Place of String, What about base64Binary?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
转到此链接
http://iphonesdksnippets.com/post/2009/04/30/Send-file-%28images%29-to-web-server-using-POST-method.aspx
go to this link
http://iphonesdksnippets.com/post/2009/04/30/Send-file-%28images%29-to-web-server-using-POST-method.aspx
附件的工作方式在 MIME 中定义(有关 MIME 和许多 RFC 定义了它的工作原理)。
附件只是多部分消息中的一个部分,带有
Content-Disposition:attachment
标头。 RFC 2183 对此进行了描述。编辑:您提到您正在使用 Flurry 发送电子邮件。您能否链接到任何文档,或提供有关电子邮件在 Flurry 中如何工作的任何示例代码?
The workings of attachments are defined in MIME (see that Wikipedia article for an overview of MIME and the many RFCs that define how it works).
An attachment is simply a part in a multipart message with a
Content-Disposition: attachment
header. This is described in RFC 2183.EDIT: You mention that you’re using Flurry to send email. Can you link to any documentation, or provide any example code for how email works in Flurry?