The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Discussion of Functions >> eMail notifications
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1134354909

Message started by annetappe on 12/12/05 at 03:35:08

Title: eMail notifications
Post by annetappe on 12/12/05 at 03:35:08

I don't think email is functioning on my version 1.6.1.60.

I also don't know when it is suppose to send email.  Could someone direct me to this info?

I know it should send 'outbid' notice so it is definitely not working.  The email address is correct and valid.  The sendmail location is correct.  I tried the script using 'get_mail' and 'mailprog' and same results.

Here are my settings within eConfig161.pl:

# Configure your MAIL PROGRAM

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

Thanks for any help.  I find this program to be very good for a proposed application I have - excellent response for help also - above normal - and very much appreciated.



Title: Re: eMail notifications
Post by Dieter Werner on 12/12/05 at 12:05:47

Let the script search for your email prog.

Code:
$config{'get_mail'}            = 1;
will do the job.

P.S.
You can use the 'Lost Alias ...' button in order to check the email function.

Title: Re: eMail notifications
Post by annetappe on 12/12/05 at 17:37:52

No Luck!

As stated originally (in my non-technical words) I had already tried that.  I did find out after several responses from host services that the sendmail was at [ /usr/lib/sendmail ] not [ /usr/sbin/sendmail ].  I changed and still does not work using 'get_mail' or 'mailprog'.

I also added [ -t ] to 'mailprog' like in old EA1.5 and that did not work either - of course, you state 'no additional options' but I tried.

I have also tried other settings I found on this forum and they do not work.

I did upload a 'mail' program to same sub-directory as eAuction161 that uses the [ /usr/lib/sendmail ] and it functions ok from this directory so it leads me to believe it is problem in eAuction script.

I just downloaded and started to use in last couple of weeks so I downloaded current version again yesterday and compared to my version I am using = the same.  So no trash I don't think.

I am using 'Lost Alias' as you suggested to test if working or not.

Here are my settings within eConfig161.pl:

# Configure your MAIL PROGRAM

  $config{'get_mail'}            = 1; # Set this from 1 to 0 if you want to use your own setting    
  $config{'mailprog'}            = '/usr/lib/sendmail'; # no additional options please
   
Any other suggestions would be appreciated.

Thanks.

Title: Re: eMail notifications
Post by Dieter Werner on 12/12/05 at 18:06:28

What's the path (to sendmail) you use with the 'other' programs?

Title: Re: eMail notifications
Post by annetappe on 12/12/05 at 18:43:08

?sendmail syntax used in mail program that worked
=================================

exactly same as above = /usr/lib/sendmail (no options)

That is the mystery.  Here are my settings now in eConfig161.pl:

# Configure your MAIL PROGRAM

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

***I can send using OutlookExpress to the email addresses within each user/reg account and the email addr are valid and received so that is not the simple problem.

I set up a 'user' with your email address = mailmaster@interwer.com (if that is valid and you can see) at this URL to see if you can receive email using 'lost...' (dw is name / passord is password):

http://www.sbectrojans.org/eAuction.htm

Any additional recommendations I will do.  This site is not a primary site and I would trust allowing you access if that would help.  I know I don't like to do that because then someone claims I messed something up - not much to mess up here.  I am using this site to test your script without interrupting (me) our sbectrojans.com web site.

Thanks again.

Title: Re: eMail notifications
Post by Dieter Werner on 12/13/05 at 10:21:56

Check your PM box ...
There is a new message.

Title: Re: eMail notifications
Post by annetappe on 12/13/05 at 11:05:32

I received your PM msg and thanks.

I have double checked everything and I just don't see any errors.

I am beginning to believe that the web host email server IP is on a blacklist like SpamCop and the 'returned mail' is being sent to dump without me seeing it.  It is 4am here. I am going to call web host later this morning and have them verify my suspicions.

I don't want you wasting time if that is the problem.  It is the only other thing I can think of to eliminate.

I will let you know when I find out.

Thanks for all your help so far.


Title: Re: eMail notifications
Post by Dieter Werner on 12/13/05 at 12:01:09

I see ...

Some remarks regarding the function get_path:
there is implemented a methode that tries to find
- the path to the directory where the data files are stored (the basepath)
and another methode that tries to find
- the path to 'sendmail' (a system program of the server)

If the path to 'sendmail' can't be detected, the value of $config{'web_server'} will be 0 and each email-message will appear on the monitor.

Title: Re: eMail notifications
Post by annetappe on 12/13/05 at 23:26:23

Resolved.

Thanks for your help.

I knew the script looked ok.

It was a rare happening that the web host mail server WAS on a blacklist as of 8pm yesterday evening.  I did not receive the return mail because the service was dumping all of it to lessen the bandwidth - they told me.

Thank you again.

Title: Re: eMail notifications
Post by Dieter Werner on 12/14/05 at 00:31:58

Your welcome  :)

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