- Home /
Serialize data to XML File, then send via email as attachment on iOS.
I used XMLSerializer to serialize data from my class into an XML file. Then I used smtp.send() to send the attached file via email, since OpenURL(mailto) seems unable to use attacments. Problem is, the system works in Net 2.0 Subset in editor, but when ran on iOS device, the sending fails due to an authentication error. Switching to Net 2.0 fixes the sending problem, but the XML serialization fails on a JIT error. I found u3DXT and Prime[31]'s email plug ins, but I don't want to buy if there's just another way.
Your answer
Follow this Question
Related Questions
Serializing and Deserializing from/to XML inside Resources folder 1 Answer
URGENT - Serializing error The type of argument is not primitive 0 Answers
[SAVING] LIST cannot be serialized because it does not have a default public constructor 0 Answers
.net 4 won't deserialize properties with private / protected setters 0 Answers
IsolatedStorageException: Could not find a part of the path 0 Answers