PFlores81 Active Member Licensed User Longtime User Sep 3, 2013 #1 Anyone want to tell me how I would go abouts adding an email to an "SMTP.To.Add" from an Encrypted RAF? I have it setup how it should be. I can read from it initially and write to it as well, But when reading from it for the smtp it errors. http://www.b4x.com/android/forum/threads/21099 basically same setup as here only without reading from a text file to input the SMTP.to.add I am using an encrypted raf Last edited: Sep 3, 2013
Anyone want to tell me how I would go abouts adding an email to an "SMTP.To.Add" from an Encrypted RAF? I have it setup how it should be. I can read from it initially and write to it as well, But when reading from it for the smtp it errors. http://www.b4x.com/android/forum/threads/21099 basically same setup as here only without reading from a text file to input the SMTP.to.add I am using an encrypted raf
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2013 #2 Check the value you read from the string. If it is a proper string then it will work. It doesn't matter to SMTP where the string came from. Upvote 0
Check the value you read from the string. If it is a proper string then it will work. It doesn't matter to SMTP where the string came from.
PFlores81 Active Member Licensed User Longtime User Sep 3, 2013 #3 Code: Copy raf.Initialize(File.DirDefaultExternal, "EMC.dat", False) SMTP.To.Add = (raf.ReadEncryptedObject ("KEY", raf.CurrentPosition)) Log(SMTP.To.Add) raf.Close This is where its being pulled from. If I remove the last ")" it tells me it expected another one. If I put it back, it tells me I have too many. Upvote 0
Code: Copy raf.Initialize(File.DirDefaultExternal, "EMC.dat", False) SMTP.To.Add = (raf.ReadEncryptedObject ("KEY", raf.CurrentPosition)) Log(SMTP.To.Add) raf.Close This is where its being pulled from. If I remove the last ")" it tells me it expected another one. If I put it back, it tells me I have too many.
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2013 #4 SMTP.To is a List. It should be: Code: Copy SMTP.To.Add(...) Upvote 0
PFlores81 Active Member Licensed User Longtime User Sep 3, 2013 #5 I figured I had it formatted improperly. Haha. Thanks Erel. Much appreciated Upvote 0