Hi Gerard,

127.0.0.1 is a hardcoded address that points to the "local" machine, that is 
the same machine that witango is installed on - so, the first question is: do 
you have an SMTP server installed on that machine?

If not, then that would explain your error message.

127.0.0.1 would "not" be the address of your D-Link router, so I don't that's 
your problem. Besides, if you're running a small home-based network (which it 
sounds like you are) where your D-Link is between you and the Internet, then by 
default D-Link will not block any outbound ports (only incoming from the 
Internet).

If your SMTP server is on another machine on your local network, then enter 
that IP address in your Witango.ini configuration file (example: 192.168.0.3). 
Then check if that machine has a firewall, because it's port "25" will have to 
opened.

If your SMTP server is on another network outside your local network, then that 
network may have a router/firewall protecting incoming connections - in which 
case port "25" will have to opened there, plus check for a firewall on the 
machine behind that router/firewall which is hosting the SMTP server (if the 
SMTP machine is not the same as the router/firewall machine).

The closer the SMTP server, the simpler the solution, but the further away, the 
more complex the solution.

Hope that helps.


Scott Cadillac, 
Email: [EMAIL PROTECTED] 
http://scott.cadillac.bz 
    

> -----Original Message-----
> From: Gerard [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 25, 2006 6:27 AM
> To: [email protected]
> Subject: Witango-Talk: Can't email from my email function
> 
> 
> Hello,
> 
> 
> I designed an upload form that allows customers to upload 
> files to a server.  That portion is working fabulously.
> 
> 
> I would now like to forward an email informing the 
> individuals selected from the checkboxes that the file has 
> been uploaded.  All is working well except for an error that 
> I get with the email function.  I highlighted the debugging 
> results that pertain to my problem.  Possibly, the fact that 
> the server points to itself 127.0.0.1 could be the problem, 
> but more likely than not, it appears that it's port 25 that 
> is the problem.  In speaking with my IP provider they told me 
> that certain ports are not usable, including the infamous 
> port 80 and 25 to name a few.
> 
> 
> The irony is that an email function that I built a couple of 
> years back, that worked fine, now doesn't work.
> 
> 
> In the D-links router software I know where I need to change 
> the port number, but cannot find where to do so in the 
> httpd.config or anywhere else to point to the open email SMTP 
> port 26 that I created.
> 
> 
> Does anyone have any advice for me?
> 
> 
> Thanks,
> 
> 
> Gerard
> 
> 
> 
> 
> 
>  
> 
> 
> Error
> 
> 
> An error occurred while processing your request: 
> 
> File: upload.taf
> Position: Email_to_Litho_Employees
> Class: Internal
> Main Error Number: -321
> 
> Unable to connect to the specified SMTP sever.
> 127.0.0.1
> 
> File: upload.taf
> Position: Email_to_Litho_Employees
> Class: Internal
> Main Error Number: -101
> 
> General error during data source operation.
> 
> ________________________________
> 
> [Application File]
> 
> START /LithoExpressUploads/upload.taf 
> _function=UploadFile&_UserReference=093EFFB57F6F4F4344750E31 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="FileUploaded"; 
> filename="C:\Documents and Settings\Gerard\Desktop\Test Doc 
> For Upload.txt" Content-Type: text/plain This document was 
> planted here to test this upload function. 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="Client" ABC Corp 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="Email" 
> [EMAIL PROTECTED] 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="Leonard" Leonard 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="Linda" Linda 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="Comments" Test the 
> Comment box. -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="path" C:\Documents and 
> Settings\Gerard\Desktop\Test Doc For Upload.txt 
> -----------------------------7d62793a22026a 
> Content-Disposition: form-data; name="SUBMIT" Submit 
> -----------------------------7d62793a22026a-- 
> 
> [If Action]
> 
> If_UploadFile 
> 
> [ElseIf Action]
> 
> ElseIf_UploadFile 
> 
> [Results Action]
> 
> Validate_Required_Fields 
> 
> [Warning]
> 
> Missing argument: Ben
> 
> [Warning]
> 
> Missing argument: Mac
> 
> [Warning]
> 
> Missing argument: Ben
> 
> [Warning]
> 
> Missing argument: Mac
> 
> [Changed Vars]
> 
> local$path=Test Doc For Upload.txt user$EmailRecipient=y 
> [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
> 
> [If Action]
> 
> If_FileName_is_EMPTY 
> 
> [Else Action]
> 
> Else 
> 
> [File Action]
> 
> Upload_File 
> 
> [Query]
> 
>  
> 
> [Mail Action]
> 
> Email_to_Litho_Employees 
> 
> [Query]
> 
> Server: 127.0.0.1 Port: 25 Message: [Subject: Client File 
> Uploaded to Litho Express Inc., from ABC Corp : Test Doc For 
> Upload.txt Date: Wed, 24 May 2006 21:56:59 -0500 From: 
> [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: 
> Mime-Version: 1.0 Content-Type: text/plain; 
> charset="iso-8859-1" Content-transfer-encoding: 
> quoted-printable X-Mailer: Tango 2000 Version 4.00.087 ]
> 
> [Error]
> 
> -321 Unable to connect to the specified SMTP sever. 127.0.0.1 
> 
> [Error]
> 
> -101 General error during data source operation. 
> 
> [ActionResults]
> 
>  
> 
> [user$ Vars]
> 
> EmailRecipient=y [EMAIL PROTECTED]; 
> [EMAIL PROTECTED]; variableTimeout=30
> 
> [local$ Vars]
> 
> path=Test Doc For Upload.txt resultSet=[Array:0x0] variableTimeout=30
> 
>

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to