The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl eAuction 1.6.1.x >> Discussion of Functions >> Sending Email with Win2k Advanced Server https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1128283991 Message started by ehunyadi on 10/02/05 at 22:13:10 |
Title: Sending Email with Win2k Advanced Server Post by ehunyadi on 10/02/05 at 22:13:10 I am running Win2k Advanced Server using ArgoSoft mail server. My php applications are all able to send mail, but my eAuction pl scripts are not. My mail server runs on the same server as the scripts. Is there any way that I can point the script to my own server without getting the "just testing" message? Any assistance in this, or any directions to go in would be greatly appreciated! |
Title: Re: Sending Email with Win2k Advanced Server Post by Dieter Werner on 10/04/05 at 09:56:06 Search eAconfig.pl for Code:
and enter the path to the mail-programm. |
Title: Re: Sending Email with Win2k Advanced Server Post by ehunyadi on 10/04/05 at 23:59:02 I tried this to no avail. I will attempt to contact the author of ArgoSoft mail server (Archie is good about helping) to see if he has any ideas. When/if I get it to work, I will post it here for the benefit of others that use eAuction. Thanks, again! |
Title: Re: Sending Email with Win2k Advanced Server Post by tmk12v on 04/19/06 at 23:06:13 When I set the proper path to sendmail I receive the error "Recipient not specified"? If I change the path to make in wrong, then I get the just testing and the email is then displayed on the monitor. How do I fix this to get rid of the Recipient not specified error? I'm running this on OSX 10.2.8 server. I have both sendmail and SMTP working with other scripts. Thank you, Tom |
Title: Re: Sending Email with Win2k Advanced Server Post by Dieter Werner on 04/20/06 at 11:10:25 tmk12v wrote:
You should check the content of the user.dat files ... Is the displayed email-message containing the recipient? |
Title: Re: Sending Email with Win2k Advanced Server Post by tmk12v on 05/09/06 at 01:36:50 I do see email addresses in the user.dat file. I fixed the problem by adding -t to the end of the sendmail direectory path. Also I can only use sendmail as any attempt to use SMTP fails? I always get the email displayed on teh screen like sendmail cannot be found. Even if I change the line from 1 to 0, if sendmails path is not correct I get the error. It shouldn't even be looking for sendmail at that point I think? Thanks, Tom |
Title: Re: Sending Email with Win2k Advanced Server Post by Dieter Werner on 05/09/06 at 12:26:07 The -t is not needed because the script adds it to the path. If you add it too, the result would be: /PathToSendmail/sendmail -t-t and that can't work. But I think there is no sendmail program with win2k servers!? |
Title: Re: Sending Email with Win2k Advanced Server Post by tmk12v on 05/10/06 at 06:46:18 I'm sorry, I should state what I am using. I have OSX server 10.2.8 and it does have sendmail. I did not add the -t to the path but I did add it to the code below else { open MAIL, "|$config{'mailprog'} -t" or oops($txt{'eMail Service not available'}); This is found in the sendmail sub. I did notice you have similar code in the "Recover needed paths" sub but without addig the -t to the code above, I just kept getting no receiver address errors. Below is how my code looks in the Config.pl file $config{'get_path'} = 1; # Set this from 1 to 0 if you want to use your own setting $config{'basepath'} = '/Im/not/using'; # 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'} = '/usr/sbin/sendmail'; # no additional options please # or Configure your MAIL HOST (SMTP) #$config{'mailhost'} = 'http://mail.mytwsite.com'; # Set this from 0 to 1 if the script is running with a real Web-Server $config{'web_server'} = 1; No matter how I configure $config{'get_mail'} to 1 or 0, if the sendmail path is incorrect I get the No Sendmail error? So how do you force it to use SMTP? I do have the settings correct for my SMTP host as far as I can tell. I would appreciate any help on this. Thanks, Tom |
Title: Re: Sending Email with Win2k Advanced Server Post by Dieter Werner on 05/10/06 at 17:48:26 If you want to use 'sendmail' Quote:
If you want to use SMTP Quote:
|
Title: Re: Sending Email with Win2k Advanced Server Post by tmk12v on 05/12/06 at 07:36:29 At first I thought I must be losing my mind as both look almost identical. But then I saw the # sign change at the front of the sendmail command or the SMTP command to comment the command out. Thanks for pointing that out. Might want to add a little blurb on this in the instructions just above this section :-) I know people messing with your program should understand a little perl and I do but sometimes you just don't see the little things like in this case. Thanks, Tom |
The eAuction Support Forums » Powered by YaBB 2.2! YaBB © 2000-2007. All Rights Reserved. |