1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

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


Last Updated:

  1. f2002642

    f2002642 New Member This Topic's Starter

    Joined:
    Oct 7, 2010
    Messages:
    1
    Likes Received:
    0
    [​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...