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="[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 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="[email protected]"
                password="xxxxxx"
                defaultCredentials="false"
                enableSsl="true"/>
        </smtp>
    </mailSettings>

    /Dennis

  • Alex Skrypnyk 6148 posts 24097 karma points MVP 8x 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" />
    
Please Sign in or register to post replies

Write your reply to:

Draft