I have an app which sends a programmatically formatted email to a fixed
address using 'Intent'
Trouble with this is it looks 'kludgey' the user  gets an email proforma
come up with keyboard when really it would be best to send it without
further user involvement - so I've been trying to figure Java mail.....
Got some useful looking code which references JAVAX 
For example 
-----------------
import javax.activation.DataHandler;   
import javax.activation.DataSource;   
import javax.mail.Message;   
import javax.mail.PasswordAuthentication;   
import javax.mail.Session;   
import javax.mail.Transport;   

public class GMailSender extends javax.mail.Authenticator {   
    private String mailhost = "smtp.gmail.com";   
    private String user;   
etc etc etc 
---------------
I know Ive got to change import to use and capitalise and change extends to
':' and all that java to c# stuff but how to I get a ref to the Java mail
libraries?
I am having trouble getting a reference in Visual studio - I've downloaded
Javamail1.4.4 but all I see is a set of folders with 'jar' files in them -
shouldn't there be some dll's I have to reference inVS2010 ? Sorry to be so
dumb here I just don't understand how all this works - I'm obviously not
doing the right thing installing Java mail - Any clues on this gratefully
appreciated 

John Murray


_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to