I keep getting the "failure to connect" error message when trying to
send an email.
My system (engr01, winxp) is running a webserver and php, the mail
server is on a different system (ser01, win2000) on the intranet.
I have tried many combinations of
smtp=\\ser01; and none seem to work.
any ideas?
thanks 5 1712
I'm assuming you would need to provide the full address of your stmp
server. Something along the lines of stmp.example.com
That is if the server is visible on the intranet, your best bet is to
check your Outlook/Thunderbird Account settings, and include the address
of that SMTP in php.ini
Also you would have to make sure that the stmp host is accepting
connections from the machine where PHP is installed, in this case I
belive thats your PC.
Hope that helps.
Cheers,
D Dross wrote: I keep getting the "failure to connect" error message when trying to send an email.
My system (engr01, winxp) is running a webserver and php, the mail server is on a different system (ser01, win2000) on the intranet.
I have tried many combinations of
smtp=\\ser01; and none seem to work.
any ideas?
thanks
*** Dross wrote/escribió (21 Aug 2005 20:57:30 -0700): smtp=\\ser01; and none seem to work.
SMTP protocol has nothing to do with Microsoft Windows shares. You must
provide the domain name or IP address of the machine, something like:
smtp=ser01
smtp=ser01.full.domain.name
smpt=192.168.0.200
(it depends on your LAN settings)
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
I opened a dos window and pinged the mail server, the reponse was from
10.4.0.2
I entered that smtp=10.4.0.2; in the php.ini and I get
Warning: mail(): Failed to connect to mailserver at "10.4.0.2" port 25,
verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
in C:\xitami\xitami-24\app\webpages\alert_equipment_calibration.php on
line 18
Additional info: the path to the mailserver is \\serv01\wgpo0000
(What I am trying to do is once a day email to those who care a file
listing all the equipment that needs to be collected from the
production floor for calibration.)
thanks
*** Dross wrote/escribió (22 Aug 2005 05:46:05 -0700): I opened a dos window and pinged the mail server, the reponse was from 10.4.0.2 I entered that smtp=10.4.0.2; in the php.ini and I get
Warning: mail(): Failed to connect to mailserver at "10.4.0.2" port 25,
Then, rather than pinging do a telnet connection to port 25.
Additional info: the path to the mailserver is \\serv01\wgpo0000
That's impossible: \\serv01\wgpo0000 is a Windows share (i.e., a folder or
printer). You can't have a mail server in a folder, mail servers are
programs that listen on TCP ports (more specifically, port 25).
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
A previous poster had suggested I lookup the setup in the OUTLOOK
account. That is what it said.
I'll try telneting.
thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: manatlan |
last post by:
In an intranet/lan, i'd like to put a "python server script" (which run
forever) on a computer A...
On another computer B, I'd like to send smtp-email to the computer A ...
(send to...
|
by: Sean Lambert |
last post by:
I'm trying to setup SQLMail on a SQL Server. The same server has an
application running on it, which successfully uses Outlook as a mail
client. I have setup a Mail Profile under Outlook for the...
|
by: Maligaya Park |
last post by:
How do you setup SQL Mail? I tried following the procedures on the
online manual but I do not understand what "On the instance of SQL
Server, start the mail client using the newly created mail...
|
by: MLH |
last post by:
I cut a mail function off the m'soft site. Has always worked. However,
I would like to include error codes returned by the sendmail Fn and
be able to understand what they mean. I had my first...
|
by: Nathan Sokalski |
last post by:
I have an ASP.NET page that sends a Mail.MailMessage to several email
addresses (all mine). However, one of the addresses, the one ending in
@verizon.net, does not seem to be recieving the message...
|
by: antonyliu2002 |
last post by:
I've set up the virtual smtp server on my IIS 5.1 like so:
1. Assign IP address to "All Unassigned", and listen to port 25.
2. Access Connection granted to "127.0.0.1".
3. Relay only allow...
|
by: ibiza |
last post by:
Hi all,
I am trying to use the System.Net.Mail class for the first time, with
ASP.NET 2.0.
I setup everything according to
http://www.codeproject.com/aspnet/EasySMTP_package.asp, which gives...
|
by: xx75vulcan |
last post by:
Howdy,
I have successfully setup my php.ini file on a web server to
communicate with my Microsoft Exchange Mail server, and can test the
ability to send mail using the mail() function to...
|
by: nextpulse |
last post by:
On Fedora, using php5. The mail() function returns a success - but the
mail itself is not actually sent.
How do I go about debugging this? Do I need to do this at the linux
command level to ensure...
|
by: phpmagesh |
last post by:
Hi,
I am using mail function in my php page, As soon i update the details, i have to send mail to the customer with the updated details,
problem is when i send mail it simple through waring msg...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |