Send Emails from app through Gmail

Discussion in 'Email' started by jueputasal, Jun 30, 2011.

  1. Hey,

    I own dncflr.com, its hosted on Winhost. I've been using google apps for a while now, for emailing purposes. all the MX records are pointing to google. no problem there.

    I started developing and RSVP system, so i used the no-reply address i setup on googleapps, to send the email from.
    Code:
    <mailSettings>
    	<smtp deliveryMethod="Network">
    		<network host="smtp.gmail.com" enableSsl="true" port="587" userName="[email protected]" password="*********" />
    	</smtp>
    </mailSettings>
    
    tested it on my dev pc. no problem there.

    so i moved the code base to the server. test it there. the emails were not being sent, no error code or exception was being thrown up.

    while in my research i ran into this website
    http://blog.emeraldwalk.com/2010/11/Winhost-smtp-relay-settings.html

    so i decided to try using my personal gmail address, like so
    Code:
    <mailSettings>
    	<smtp deliveryMethod="Network">
    		<network host="smtp.gmail.com" enableSsl="true" port="587" userName="[email protected]" password="*********" />
    	</smtp>
    </mailSettings>
    
    No other changes were made, but the emails were sent this time around.

    Is there a way to enable the usage of email addresses from a domain hosted on Winhost?

    thanks
     
    Last edited by a moderator: Oct 14, 2015
  2. Last edited: Oct 14, 2015

Share This Page