Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lee 1130 posts 3088 karma points
    Jan 16, 2014 @ 09:52
    Lee
    0

    Anyone successfully used gmail as SMTP?

    I have tried the following based on the settings from the gmail account

    <network 
     host="smtp.gmail.com" 
     port="465" 
     userName="username@gmail.com" 
     password="thepassword" 
     defaultCredentials="false" 
     enableSsl="true" />
    

    However, it just hangs when sending using library.SendMail() ?? Is there some trick when using gmail SMTP for sending mail?

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 16, 2014 @ 10:10
    Dennis Aaen
    0

    Hi Lee,

    Could you give this a try, hopefully it will work for you. I haven't tested it.

    <mailSettings>
        <smtp>
            <network
                host="smtp.gmail.com"
                port="587"
                userName="xxxxxx@gmail.com"
                password="xxxxxx"
                defaultCredentials="false"
                enableSsl="true"/>
        </smtp>
    </mailSettings>

    /Dennis

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 9x admin c-trib
    Jan 16, 2014 @ 15:27
    Alex Skrypnyk
    0

    We use the same, problem in port.

    <network host="smtp.gmail.com" port="587" enableSsl="true" defaultCredentials="false" userName="xxx@gmail.com" password="xxx" />
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies