sample source for sending email

gkumar

Active Member
Licensed User
Longtime User
Hello Forum,

Can I get some sample code for sending email option? with or without attachment. and also the steps to configure it.

Thanks.
 

gkumar

Active Member
Licensed User
Longtime User
I tried using email object, like

Dim Message As Email
Message.To.Add("gkumar@****.com")
Message.CC.Add("[email protected]")
StartActivity(Message.GetIntent)

But in the emulator it shows the To edit box and subject, Its not showing cc, subject and Body part and instead of "Send" button it shows "Send MMS" once I type email address. Also its not sending the email. status will be stuck at "Sending..."

What settings I am missing here?

Thanks,
 
Upvote 0

gkumar

Active Member
Licensed User
Longtime User
Great! with the real device its working. One thing I wanted to ask you is, whether it is possible to change the view positions in the mail activity window. For example, moving the bottom 'Send' "cancel' panel to top.

Thanks,
 
Last edited:
Upvote 0
Top