Hi Folks,
after playing around and heavy searching i cannot solve this problem without help.
Having no problems creating emails that way:
Dim Message As Email
Message.To.Add("[email protected]")
Message.subject = "Test"
Message.Attachments.Add(File.Combine(File.DirRootExternal, "sdcard- disk0/data/transfer/mytext.txt"))
Message.Body = "This is the body of the mail"
StartActivity(Message.GetIntent)
I would like to do something like this:
Message.Body = File.Combine(File.DirRootExternal, "sdcard-
disk0/data/transfer/mybody.txt")
But that does not work...
In short: i create the body of the mail dynamically as a txt-file and i would like to add this file (better the content of this file) to the body.
Any ideas are welcome
Thx Fatman
after playing around and heavy searching i cannot solve this problem without help.
Having no problems creating emails that way:
Dim Message As Email
Message.To.Add("[email protected]")
Message.subject = "Test"
Message.Attachments.Add(File.Combine(File.DirRootExternal, "sdcard- disk0/data/transfer/mytext.txt"))
Message.Body = "This is the body of the mail"
StartActivity(Message.GetIntent)
I would like to do something like this:
Message.Body = File.Combine(File.DirRootExternal, "sdcard-
disk0/data/transfer/mybody.txt")
But that does not work...
In short: i create the body of the mail dynamically as a txt-file and i would like to add this file (better the content of this file) to the body.
Any ideas are welcome
Thx Fatman