Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SMTP Email Problems


jrumpff

Recommended Posts

Hi, I have just installed http://www.oscommerce.com/community/contributions,901

and am having some serious problems with sending email via my host through SMTP...

 

In the Admin System (or wherever I send Email) I get the error:

 

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.mywebsite.com.au:25 (Connection refused) in /home/mywebsite/public_html/admin/includes/classes/class.smtp.php on line 87

 

I currntly have the SMTP settings set to:

 

E-Mail Transport Method: smtp

E-Mail Linefeeds: LF

Use MIME HTML When Sending Emails: false

Verify E-Mail Addresses Through DNS: false

Send E-Mails: true

SMTP Server Host address: mail.mywebsite.com.au

SMTP Server Helo (name ISP default empty) address:

SMTP Server Port (default 25) address: 25

SMTP Server use password address: false

SMTP E-mail Username: [email protected]

SMTP E-mail Password: XXXXXXXX

SMTP Name address to use protocol SMTP: [email protected]

Link to comment
Share on other sites

Hi, I have just installed http://www.oscommerce.com/community/contributions,901

and am having some serious problems with sending email via my host through SMTP...

 

In the Admin System (or wherever I send Email) I get the error:

 

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.mywebsite.com.au:25 (Connection refused) in /home/mywebsite/public_html/admin/includes/classes/class.smtp.php on line 87

 

I currntly have the SMTP settings set to:

 

E-Mail Transport Method: smtp

E-Mail Linefeeds: LF

Use MIME HTML When Sending Emails: false

Verify E-Mail Addresses Through DNS: false

Send E-Mails: true

SMTP Server Host address: mail.mywebsite.com.au

SMTP Server Helo (name ISP default empty) address:

SMTP Server Port (default 25) address: 25

SMTP Server use password address: false

SMTP E-mail Username: [email protected]

SMTP E-mail Password: XXXXXXXX

SMTP Name address to use protocol SMTP: [email protected]

 

If you are able to telnet to your hosting smtp server (unlikely) you can try the test procedure located here:

http://www.artran.co.uk/computers/telnetSMTP.html

You can also run this test from your PC which may be relevant especially if your ISP and hosting provider are the same.

 

Perhaps a better test is located here:

http://www.websitepulse.com/help/tools.php

Click the Service tab, in the Enter Test Target window select smtp, enter the domain/IP, type in the Verification Code at the bottom and click Perform Test. When I ran this test against mail.mywebsite.com.au it comes up with "Cannot resolve hostname" so I think your stuck at square 1; you need to enter the correct fully-qualified smtp server name or IP.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...