1. Download our Official Android App: Forums for Android!

Connecting gmail.... using SMTP... urgent

Discussion in 'Android Apps & Games' started by f2002642, Oct 7, 2010.

  1. f2002642

    f2002642 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Oct 7, 2010

    Oct 7, 2010
    1
    0
    5
    [​IMG]
    Hi Guys
    when i tried to send a mail ... using "smtp.gmail.com" as host and "587" as port. I am getting the following error.....

    javax.mail.MessagingException: Could not connect to SMTP host: nested exception is: java.net.SocketException: Permission denied
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1391)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412) at
    javax.mail.Service.connect(Service.java:310)
    at
    javax.mail.Service.connect(Service.java:169)
    at
    javax.mail.Service.connect(Service.java:118)
    at
    javax.mail.Transport.send0(Transport.java:188)
    at
    javax.mail.Transport.send(Transport.java:118)

    Request time failed: java.net.SocketException: Address family not supported by protocol

    Snapshot attached....


    Please help me out in resolving this......
     

    Attached Files:


    Advertisement

Share This Page

Loading...