views:

4193

answers:

6

Is this possible? I am able to send through localhost, but on godaddy the email doesn't get sent. Has anyone managed to achieve this?

I'm using C#

+3  A: 

This seems to be a common issue.

There are two things required.

This should make it work correctly.

Reed Copsey
so it IS possible to send mail programmatically through google apps mails servers from GoDaddy)?
Yes. It should work fine, provided you do everything correctly.
Reed Copsey
The 'configuration specified here' link you provided is giving me ASP.NET errors... :-s
jonathanconway
@jonathanconway: It was working when I posted it. Hopefully they'll get their site fixed soon ;)
Reed Copsey
@Reed, really? Still broken for me. "Server Error in '/' Application. "Could not find stored procedure 'Nop_SettingLoadAll'.Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'Nop_SettingLoadAll'."
jonathanconway
A: 

IIRC, godaddy does not allow permissions to create the SmtpClient object. So, unless something has changed, you cannot send email using godaddy.

What is the exact exception you are seeing?

Thanks! Dave

dave wanta
+1  A: 

It appears that GoDaddy blocks the SSL ports required by gmail's smtp access. This means you are out of luck at this point. You could just use GoDaddy's local relay:

relay-hosting.secureserver.net with no credentials.

http://help.godaddy.com/article/955

jkelley
A: 

almost forgot here are gooogles detailed instructions.... the above tool will change automatically 8-)

http://www.google.com/support/a/bin/answer.py?hl=en&answer=33353

andersen
A: 

When using relay-hosting with Godaddy the email objects FROM email address MUST be a Godaddy "white Listed" email.

They do this to stop spammers hijacking an account

There is an alternative for using the relay-host

Using the GoDaddy form-mailer, (Google Serach: "_gdForm/webformmailer.asp")

This alternative can be used to send a pre-designated "form-mailer" email account all the web forms and it does work! but does require some hosting.content.form-mailer setup on GoDaddy.

check out how I've used the form-mailer:

(only catch is, it takes away the ability to code a subscribe/unsubscribe XML database, as the form data is sent off to this inaccessable ASP file) So I may end up revert back to using relay hosting in ASP.NET

www.earthed.net.au\News.aspx www.earthed.net.au\Contact.aspx www.earthed.net.au\Support.aspx

My ultimate goal was to have an email come into my inbox from [email protected] with the necessry form field data, but no matter how you go your Host provider's security setting will ultimately determine your ability to do this.

Also tried using google and hotmail smtp hosts (as I have an account with each) and same secirty restriction story, maybe a lesser known free web email provider that has lower security settings allowing full relay hosting (if so let me know)

Ian