The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> assign an email host - help
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1157410885

Message started by lets on 09/05/06 at 01:01:24

Title: assign an email host - help
Post by lets on 09/05/06 at 01:01:24

Having problems setting up the email aspect of the program (everything else works GREAT).

Win2000 server with SMTP...... here's my settings


Code:
# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM

  $config{'get_mail'}            = 0; # Set this from 1 to 0 if you want to use your own setting  
#   $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   $config{'mailhost'}      = 'mail.rhtubs.com';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;


I also tried, to no avail -  $config{'mailhost'}      = 'www.rhtubs.com';

Any ideas?

Title: Re: assign an email host - help
Post by lets on 09/05/06 at 17:13:13

A little more info


Code:
  $config{'get_mail'}            = 0; # Set this from 1 to 0 if you want to use your own setting  
#   $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   $config{'mailhost'}      = 'http://mail.rhtubs.com';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;


gets a "server overload' error


Code:
  $config{'get_mail'}            = 0; # Set this from 1 to 0 if you want to use your own setting  
#   $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   $config{'mailhost'}      = 'mail.rhtubs.com';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;


says I'll be receiving an email in a few minutes, but it never comes

ideas?

Title: Re: assign an email host - help
Post by Dieter Werner on 09/05/06 at 17:40:04

Try:
$config{'mailhost'}      = 'localhost';
or ask your provider for the URL of the public SMTP-Server.

Title: Re: assign an email host - help
Post by lets on 09/05/06 at 17:53:58


Dieter Werner wrote:
Try:
$config{'mailhost'}      = 'localhost';


That gets an error of "eMail Service not available"

I'll try your second suggestion of "ask your provider for the URL of the public SMTP-Server."

Title: Re: assign an email host - help
Post by lets on 09/06/06 at 03:38:15

This is getting frustration.... :P

After going round and round with my web host (and threating to move), this is what I got from them,

Your Windows Server should be able to send outbound mail through it's own
SMTP components.  However, you need to allow the server to be able relay
through itself (send mail through itself).  I made sure that it is able to
do this.  Please let me know if the script is generating any errors as it
maybe useful for troubleshooting.

Below is the relevant part of the config file with notations in CAPS


Code:
  $config{'get_mail'}            = 1; # Set this from 1 to 0 if you want to use your own setting  
#   $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   
#      $config{'mailhost'}      = 'mail.rhtubs.com';     SAYS IT SENT BUT I DONT GET ANYTHING
#   $config{'mailhost'}      = 'localhost';           SAYS IT SENT BUT I DONT GET ANYTHING
#      $config{'mailhost'}     = '127.0.0.1';       SAYS IT SENT BUT I DONT GET ANYTHING
#      $config{'mailhost'}     = 'rhtubs.com';      SAYS IT SENT BUT I DONT GET ANYTHING
#      $config{'mailhost'}     = 'www.rhtubs.com';  SAYS IT SENT BUT I DONT GET ANYTHING
#      $config{'mailhost'}     = 'http://www.rhtubs.com'; Error Server-Overload Please, contact the Auction Administrator if you belive this to be a server problem.
     $config{'mailhost'}     = 'mail01.inetu.net';

# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;


The last attempt of mail01.inetu.net is the setting on my personal email going through my hosts main mail server. It gave the same message saying it was sent, but I didn't get an email (and would think I'd need to put in the password somewhere for this).  :-/

*sigh*........ any ideas?

Title: Re: assign an email host - help
Post by lets on 09/06/06 at 04:02:15

Well.............. the problem appears to be with my server and mail system. It would appear the system wont, or can't send mail back to itself through this script...e.g. the server is on rhtubs.com and doesn't/won't send email to @rhtubs.com

In a fluke of frustration I changed my registered email to one on another domain, and it works just fine...................

oh and,    $config{'mailhost'} = 'localhost';    works.

Thanks

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.