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#
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#
This seems to be a common issue.
There are two things required.
This should make it work correctly.
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
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.
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
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)