Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can Someone Help


smithygotlost

Recommended Posts

Posted

I Cant Get The Smtp Mail To Setup

 

I Installed It Realised I Needed The Smtp Auth So Installed The Contrib Still No Joy

 

i read the endless pages of stuff on how to set it up ! all says the same things just 100 times over

 

 

My host says the email is working and i have managed to send emails using other programs on the server !

 

but oscommerce cant send emails ! why is this ??

 

Come On Please Help

 

 

Mike

Posted

Perhaps letting us know more about your server environment would help -try changing to sendmail if you are on a linuxserver. SMTP is usually a Microsoft thing.

Nothing unreal exists

Posted
I Cant Get The Smtp Mail To Setup

 

I Installed It Realised I Needed The Smtp Auth So Installed The Contrib Still No Joy

 

i read the endless pages of stuff on how to set it up ! all says the same things just 100 times over

My host says the email is working and i have managed to send emails using other programs on the server !

 

but oscommerce cant send emails ! why is this ??

 

Come On Please Help

Mike

 

Why do you need to use smtp ? Try using sendmail instead.

 

Jonathan

Posted
Perhaps letting us know more about your server environment would help -try changing to sendmail if you are on a linuxserver. SMTP is usually a Microsoft thing.

 

yeh erm !

 

on my site i have a thing that gives me options for the smtp/pop3 or sendmail !

 

i have tryed both !

 

tell me what you want to know and i can give it you

Posted

production environment? WIN?UNIX?

 

PHP MYSQL version, OSC version 0 just rattle stuff off - who's your hosting company - do you have ssh access, can you telnet? everything!!!! what mods have you made.... everything!!!!! :D

Nothing unreal exists

Posted

Server Host: ws3 (ws3) Database Host: mysql1.100ws.com (64.72.112.117)

Server OS: Linux 2.6.20.4-SE Database: MySQL 4.1.11-Debian_4sarge5

Server Date: 04/10/2007 21:23:50 Datebase Date: 04/10/2007 18:23:50

Server Up Time:

HTTP Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d VDB/1.1.1-se

PHP Version: 4.4.0 (Zend: 1.3.0)

 

oscommerce version 2.2

 

my hosting company is 100webspace.com

 

i dont have ssh access and i cant telnet

 

i have installed the following mods :

 

- admin login

- order edit

- email auth settings

- theme

- main center catagories

- voucher mod

- column size ajuster

 

lol

 

what else u need ?

Posted

OK - can you get to your raw server logs, you're gonna need to see if there are any errors that come through - I would but money on this being the auth contribution, I am using the sendmail on almost an identical server - no problems - right now ;)

 

ok use this email sender: (make a file called mailtest.php and test that)

 

<?php

 $to = "<enter a valid email address from your domain or like a hotmail account>";
 $subject = "My Test HTML";
 $message =<<<EOM
 <html>
 <body><h1>My HTML Message</h1>
<p>This is text</p>
 </body>
 </html>
EOM;

 $headers = "From: <change this to a valid email account on your domain> " . "\r\n" .
		 "Content-Type: text/html;". "\r\n";

 if(mail($to, $subject, $message, $headers)){
echo "Mail sent successfully!";
 }
 else {
echo "Mail could not be sent, please check your settings.";
 }

?>

 

This should send mail through the send mail system - and completely out of OSC's scripts. see if this works, I would send this straight to you regular email account outside of your domain.

Nothing unreal exists

Archived

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

×
×
  • Create New...