Copied to clipboard

Flag this post as spam?

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


  • Lee 1123 posts 3059 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="[email protected]" 
     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 4457 posts 17970 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="[email protected]"
                password="xxxxxx"
                defaultCredentials="false"
                enableSsl="true"/>
        </smtp>
    </mailSettings>

    /Dennis

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x 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="[email protected]" 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