Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

GoDaddy Sendmail / SMTP Windows Server Nightmare


steffanih

Recommended Posts

Can anyone sort their suggestions out in a reasonable way as applies to getting osCommerce email functions operating on Windows server? I have read througfh the forums and SMTP is working for some. Here they claim I cannot use SMTP and when I ask about sendmail, I get the runaround. I just want our customers to receive their order confirmation emails and to be able to use the osCommerce contact form. Help ;)

 

There are no settings to adjust. As the previous email stated, the function in question is only supported on Linux hosting accounts. You are welcome to use an email function related to a Windows hosting account.

Collaboration Data Objects (CDO) can be used to send email from Windows shared hosting websites running IIS 6 or IIS 7. The following code sample demonstrates how to use CDO to create and send email.

 

 

 

<%

sendUrl="http://schemas.microsoft.com/cdo/configuration/sendusing"

smtpUrl="http://schemas.microsoft.com/cdo/configuration/smtpserver"

 

 

' Set the mail server configuration

Set objConfig=CreateObject("CDO.Configuration")

objConfig.Fields.Item(sendUrl)=2 ' cdoSendUsingPort

objConfig.Fields.Item(smtpUrl)="relay-hosting.secureserver.net"

objConfig.Fields.Update

 

 

' Create and send the mail

Set objMail=CreateObject("CDO.Message")

' Use the config object created above

Set objMail.Configuration=objConfig

objMail.From="sender@coolexample.com"

objMail.ReplyTo="sender@coolexample.com"

objMail.To="recipient@coolexample.com"

objMail.Subject="subject"

objMail.TextBody="body"

objMail.Send

%>

 

 

Please let us know if we can help you in any other way.

 

Sincerely,

-----------

Online Support Representative

 

Customer Inquiry

Without switching my hosting plan, what settings do I need to make my

sendmail function properly using osCommerce?

Thanks,

------------------------

 

 

On Aug 3, 2010, at 2:51 PM, wrote:

 

>

> 24/7 Sales & Support: (480) 505-8877 – 24/7 Billing Support: (480)

> 505-8855

>

>

> Our support staff has responded to your request, details of which

> are described below:

>

> Discussion Notes

> Support Staff Response

> -----------------------

>

> Thank you for contacting Online Support.

>

> The function you are working is only available on Linux hosting

> accounts. As you are using a Windows hosting account you will not

> see that function on a PHP info page like you should. You cannot

> use SMTP to send email from a hosting account with us.

> If you find that you need to switch the operating system of your

> hosting account, you can do so at any time.

>

>

> To Switch Your Hosting Account Operating System

>

>

>

> Log in to your Account Manager.

>

> From the Products section, click Web Hosting.

>

> Click the domain name you want to use.

>

> Go to the Edit Account Details tab.

>

> From the Plan menu, select a new hosting plan.

> NOTE: If you do not see the Plan menu, contact customer support.

>

>

>

> Click Save Changes or Add, and then complete your purchase.

>

>

> This change may make take up to 72 hours depending on the size of

> the site, the number of databases and other factors that may

> increase the complexity of the migration. You will receive an email

> message when we complete your upgrade.

>

>

> NOTE: If your website contains certain advanced features, such as

> ASP, ASP.NET, CGI, or PHP applications and you select a hosting

> plan that does not support those advanced features, your website

> may no longer function properly after the plan change. Please make

> sure your website does not contain advanced features BEFORE moving

> to a plan that may not support them or be prepared to modify your

> Web content accordingly.

>

>

> NOTE: If you created databases that are incompatible with the new

> operating system, you must delete them before proceeding. Data

> existing in compatible databases will be preserved.

>

>

>

> In order to be able to send email through our hosting accounts that

> we offer you must use the following relay server in your code:

>

> relay-hosting.secureserver.net

>

> You do not need to provide a user name and password for this relay

> server as it does not require authentication.

>

> Please let us know if we can help you in any other way.

>

> Sincerely,

> -------------

> Online Support Representative

Link to comment
Share on other sites

  • 1 month later...

Hi there,

 

I had a similar problem. The short answer is GoDaddy doesn't allow connections to other servers in their shared hosting plans. You have to use sendmail for Linux hosting. I was banging my head against the wall trying to figure out why I couldn't get oscommerce to connect to Gmail and this is why.

 

Hope this helps.

 

Chet

Link to comment
Share on other sites

Chet,

 

Actually, Godaddy does not allow for SMTP connections with your FREE email account provided with the hosting. You can purchase an email account from them that will allow you to use SMTP relays to external sites.

 

 

 

Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...