f



can't send mail using mail()

hello,

i am new to sending mail with php. the first function i tried is the
mail(). when i passed the required parameters (to, message,subject),
the apache error log said that the parameters are uninitialised. but
the parameters already had value.

do you know what is wrong?

thank you
0
3/16/2009 12:28:31 PM
comp.lang.php 32646 articles. 0 followers. Post Follow

19 Replies
906 Views

Similar Articles

[PageSpeed] 23

fasisi wrote:
> hello,
> 
> i am new to sending mail with php. the first function i tried is the
> mail(). when i passed the required parameters (to, message,subject),
> the apache error log said that the parameters are uninitialised. but
> the parameters already had value.
> 
> do you know what is wrong?
> 
> thank you

Sorry, my crystal ball is broken.  I can't see your code.

Try posting your code so we can see what might be wrong.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/16/2009 1:14:28 PM
On Mar 16, 8:14=A0pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> fasisi wrote:
> > hello,
>
> > i am new to sending mail with php. the first function i tried is the
> > mail(). when i passed the required parameters (to, message,subject),
> > the apache error log said that the parameters are uninitialised. but
> > the parameters already had value.
>
> > do you know what is wrong?
>
> > thank you
>
> Sorry, my crystal ball is broken. =A0I can't see your code.
>
> Try posting your code so we can see what might be wrong.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

hello jerry,

this is the code

mail('fasisi2003@yahoo.com', 'test', 'test');

and this is the error log from apache:

[Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Warning:
mail() [<a href=3D'function.mail'>function.mail</a>]:
&quot;sendmail_from&quot; not set in php.ini or custom
&quot;From:&quot; header missing in C:\\Frans\\Private\\Projects\\php\
\basin\\genlibs\\pekerjaan.inc on line 228, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Stack
trace:, referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaa=
n=3D2

[Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP   1. {main}
() C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP   2.
tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
\pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=3D=
4&idpekerjaan=3D2

[Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP   3. mail
(*uninitialized*, *uninitialized*, *uninitialized*) C:\\Frans\\Private\
\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

0
3/16/2009 1:28:20 PM
babi gendut wrote:
> On Mar 16, 8:14 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> fasisi wrote:
>>> hello,
>>> i am new to sending mail with php. the first function i tried is the
>>> mail(). when i passed the required parameters (to, message,subject),
>>> the apache error log said that the parameters are uninitialised. but
>>> the parameters already had value.
>>> do you know what is wrong?
>>> thank you
>> Sorry, my crystal ball is broken.  I can't see your code.
>>
>> Try posting your code so we can see what might be wrong.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
> 
> hello jerry,
> 
> this is the code
> 
> mail('fasisi2003@yahoo.com', 'test', 'test');
> 
> and this is the error log from apache:
> 
> [Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Warning:
> mail() [<a href='function.mail'>function.mail</a>]:
> &quot;sendmail_from&quot; not set in php.ini or custom
> &quot;From:&quot; header missing in C:\\Frans\\Private\\Projects\\php\
> \basin\\genlibs\\pekerjaan.inc on line 228, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2

This first error message pretty much tells the story.

Though in the php manual (which we all know you read) is states the 4th 
parameter as optional. This is true with one exception, if your "From:" 
field is not set in your php.ini you WILL need to add it to your mail() 
function.

$header = "From: <your email address>\r\n";

main($to, $subject, $message, $header);


Scotty
0
futureshock (237)
3/16/2009 1:37:26 PM
On Mar 16, 8:37=A0pm, Scott Johnson <futuresh...@att.net> wrote:
> babi gendut wrote:
> > On Mar 16, 8:14 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> fasisi wrote:
> >>> hello,
> >>> i am new to sending mail with php. the first function i tried is the
> >>> mail(). when i passed the required parameters (to, message,subject),
> >>> the apache error log said that the parameters are uninitialised. but
> >>> the parameters already had value.
> >>> do you know what is wrong?
> >>> thank you
> >> Sorry, my crystal ball is broken. =A0I can't see your code.
>
> >> Try posting your code so we can see what might be wrong.
>
> >> --
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> > hello jerry,
>
> > this is the code
>
> > mail('fasisi2...@yahoo.com', 'test', 'test');
>
> > and this is the error log from apache:
>
> > [Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Warning:
> > mail() [<a href=3D'function.mail'>function.mail</a>]:
> > &quot;sendmail_from&quot; not set in php.ini or custom
> > &quot;From:&quot; header missing in C:\\Frans\\Private\\Projects\\php\
> > \basin\\genlibs\\pekerjaan.inc on line 228, referer:
> >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
>
> This first error message pretty much tells the story.
>
> Though in the php manual (which we all know you read) is states the 4th
> parameter as optional. This is true with one exception, if your "From:"
> field is not set in your php.ini you WILL need to add it to your mail()
> function.
>
> $header =3D "From: <your email address>\r\n";
>
> main($to, $subject, $message, $header);
>
> Scotty

hello,

i have added the header 'from' and i got different error log from
apache:

[Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Warning:
mail() [<a href=3D'function.mail'>function.mail</a>]: Failed to connect
to mailserver at &quot;localhost&quot; port 25, verify your
&quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use
ini_set() in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
\pekerjaan.inc on line 228, referer: http://localhost/basin/pekerjaan.php?i=
duser=3D4&idpekerjaan=3D2

[Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Stack
trace:, referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaa=
n=3D2

[Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   1. {main}
() C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   2.
tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
\pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=3D=
4&idpekerjaan=3D2

[Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
(*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*) C:
\\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
[Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
exist: C:/Frans/Private/Projects/php/favicon.ico

do i have to have mail server? like a free smtp server?

thank you,
fasisi
0
3/16/2009 1:50:02 PM
babi gendut wrote:
> On Mar 16, 8:37 pm, Scott Johnson <futuresh...@att.net> wrote:
>> babi gendut wrote:
>>> On Mar 16, 8:14 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> fasisi wrote:
>>>>> hello,
>>>>> i am new to sending mail with php. the first function i tried is the
>>>>> mail(). when i passed the required parameters (to, message,subject),
>>>>> the apache error log said that the parameters are uninitialised. but
>>>>> the parameters already had value.
>>>>> do you know what is wrong?
>>>>> thank you
>>>> Sorry, my crystal ball is broken.  I can't see your code.
>>>> Try posting your code so we can see what might be wrong.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> hello jerry,
>>> this is the code
>>> mail('fasisi2...@yahoo.com', 'test', 'test');
>>> and this is the error log from apache:
>>> [Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Warning:
>>> mail() [<a href='function.mail'>function.mail</a>]:
>>> &quot;sendmail_from&quot; not set in php.ini or custom
>>> &quot;From:&quot; header missing in C:\\Frans\\Private\\Projects\\php\
>>> \basin\\genlibs\\pekerjaan.inc on line 228, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>> This first error message pretty much tells the story.
>>
>> Though in the php manual (which we all know you read) is states the 4th
>> parameter as optional. This is true with one exception, if your "From:"
>> field is not set in your php.ini you WILL need to add it to your mail()
>> function.
>>
>> $header = "From: <your email address>\r\n";
>>
>> main($to, $subject, $message, $header);
>>
>> Scotty
> 
> hello,
> 
> i have added the header 'from' and i got different error log from
> apache:
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Warning:
> mail() [<a href='function.mail'>function.mail</a>]: Failed to connect
> to mailserver at &quot;localhost&quot; port 25, verify your
> &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use
> ini_set() in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \pekerjaan.inc on line 228, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Stack
> trace:, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   1. {main}
> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   2.
> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
> \pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*) C:
> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
> referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
> exist: C:/Frans/Private/Projects/php/favicon.ico
> 
> do i have to have mail server? like a free smtp server?
> 
> thank you,
> fasisi

In the From: field, you may need to use your account email.  This all 
depends on what mail service you are using.  I am not very knowledgeable 
with mail servers and such but I am sure someone may chime in to help. 
I do know that when testing mine, the From: field needs to be the same 
email that I have registered for that smtp service.

Scotty

0
futureshock (237)
3/16/2009 2:43:03 PM
babi gendut <Frans.Indroyono@gmail.com> wrote in comp.lang.php:
> On Mar 16, 8:37=C2=A0pm, Scott Johnson <futuresh...@att.net> wrote:
> > babi gendut wrote:
> > > On Mar 16, 8:14 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> > >> fasisi wrote:
> > >>> hello,
> > >>> i am new to sending mail with php. the first function i tried is th=
e
> > >>> mail(). when i passed the required parameters (to, message,subject)=
,
> > >>> the apache error log said that the parameters are uninitialised. bu=
t
> > >>> the parameters already had value.
> > >>> do you know what is wrong?
> > >>> thank you
> > >> Sorry, my crystal ball is broken. =C2=A0I can't see your code.
> >
> > >> Try posting your code so we can see what might be wrong.

<sig snipped>

> > > hello jerry,
> >
> > > this is the code
> >
> > > mail('fasisi2...@yahoo.com', 'test', 'test');
> >
> > > and this is the error log from apache:
> >
> > > [Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Warning:
> > > mail() [<a href=3D'function.mail'>function.mail</a>]:
> > > &quot;sendmail_from&quot; not set in php.ini or custom
> > > &quot;From:&quot; header missing in C:\\Frans\\Private\\Projects\\php=
\
> > > \basin\\genlibs\\pekerjaan.inc on line 228, referer:
> > >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >
> > This first error message pretty much tells the story.
> >
> > Though in the php manual (which we all know you read) is states the 4th
> > parameter as optional. This is true with one exception, if your "From:"
> > field is not set in your php.ini you WILL need to add it to your mail()
> > function.
> >
> > $header =3D "From: <your email address>\r\n";
> >
> > main($to, $subject, $message, $header);
> >
> > Scotty
>=20
> hello,
>=20
> i have added the header 'from' and i got different error log from
> apache:
>=20
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Warning:
> mail() [<a href=3D'function.mail'>function.mail</a>]: Failed to connect
> to mailserver at &quot;localhost&quot; port 25, verify your
> &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use
> ini_set() in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \pekerjaan.inc on line 228, referer: http://localhost/basin/pekerjaan.php=
?iduser=3D4&idpekerjaan=3D2

<snip>

> do i have to have mail server? like a free smtp server?

Yes.  Which version of Windows are you using?  I believe NT and XP=20
Professional have IIS.  You will need to enable IIS and configure the=20
SMTP server or get another mail server.

To learn about configuring IIS, you should Google IIS and/or check a=20
Windows newsgroup.

> thank you,
> fasisi

--=20
Curtis
$email =3D str_replace('sig.invalid', 'gmail.com', $from);
0
dyer851 (264)
3/16/2009 8:40:34 PM
babi gendut wrote:
> On Mar 16, 8:37 pm, Scott Johnson <futuresh...@att.net> wrote:
>> babi gendut wrote:
>>> On Mar 16, 8:14 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> fasisi wrote:
>>>>> hello,
>>>>> i am new to sending mail with php. the first function i tried is the
>>>>> mail(). when i passed the required parameters (to, message,subject),
>>>>> the apache error log said that the parameters are uninitialised. but
>>>>> the parameters already had value.
>>>>> do you know what is wrong?
>>>>> thank you
>>>> Sorry, my crystal ball is broken.  I can't see your code.
>>>> Try posting your code so we can see what might be wrong.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> hello jerry,
>>> this is the code
>>> mail('fasisi2...@yahoo.com', 'test', 'test');
>>> and this is the error log from apache:
>>> [Mon Mar 16 20:25:47 2009] [error] [client 127.0.0.1] PHP Warning:
>>> mail() [<a href='function.mail'>function.mail</a>]:
>>> &quot;sendmail_from&quot; not set in php.ini or custom
>>> &quot;From:&quot; header missing in C:\\Frans\\Private\\Projects\\php\
>>> \basin\\genlibs\\pekerjaan.inc on line 228, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>> This first error message pretty much tells the story.
>>
>> Though in the php manual (which we all know you read) is states the 4th
>> parameter as optional. This is true with one exception, if your "From:"
>> field is not set in your php.ini you WILL need to add it to your mail()
>> function.
>>
>> $header = "From: <your email address>\r\n";
>>
>> main($to, $subject, $message, $header);
>>
>> Scotty
> 
> hello,
> 
> i have added the header 'from' and i got different error log from
> apache:
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Warning:
> mail() [<a href='function.mail'>function.mail</a>]: Failed to connect
> to mailserver at &quot;localhost&quot; port 25, verify your
> &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use
> ini_set() in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \pekerjaan.inc on line 228, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP Stack
> trace:, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   1. {main}
> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   2.
> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
> \pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*) C:
> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
> referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
> exist: C:/Frans/Private/Projects/php/favicon.ico
> 
> do i have to have mail server? like a free smtp server?
> 
> thank you,
> fasisi

Yes, you either need a local mail server (warning - many email hosts 
will dump email from dynamic IPs because they are used for SPAM), or you 
need to connect to the email server you normally use.

Unfortunately, most email servers require authentication (those which 
don't are know as "spam relays"), which isn't quite so easy to do with 
the mail() function.  It can be done, but not too easily.

I would recommend you get the phpmailer class and use it - it makes 
emailing so much easier.


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/16/2009 9:39:33 PM
Hello Jerry,

> Yes, you either need a local mail server (warning - many email hosts
> will dump email from dynamic IPs because they are used for SPAM), or you
> need to connect to the email server you normally use.
>
> Unfortunately, most email servers require authentication (those which
> don't are know as "spam relays"), which isn't quite so easy to do with
> the mail() function. =A0It can be done, but not too easily.
>
> I would recommend you get the phpmailer class and use it - it makes
> emailing so much easier.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

did you notice the log entry:

[Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
(*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
C:
\\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
[Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
exist: C:/Frans/Private/Projects/php/favicon.ico

why the parameters are uninitialized? is it because i don't have a
local smtp server?

thanks,
fasisi
0
3/17/2009 9:50:52 PM
babi gendut wrote:
> Hello Jerry,
> 
>> Yes, you either need a local mail server (warning - many email hosts
>> will dump email from dynamic IPs because they are used for SPAM), or you
>> need to connect to the email server you normally use.
>>
>> Unfortunately, most email servers require authentication (those which
>> don't are know as "spam relays"), which isn't quite so easy to do with
>> the mail() function.  It can be done, but not too easily.
>>
>> I would recommend you get the phpmailer class and use it - it makes
>> emailing so much easier.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
> 
> did you notice the log entry:
> 
> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
> C:
> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
> referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
> exist: C:/Frans/Private/Projects/php/favicon.ico
> 
> why the parameters are uninitialized? is it because i don't have a
> local smtp server?
> 
> thanks,
> fasisi

Don't worry about later messages until you get the first one fixed.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/18/2009 12:26:43 AM
On Mar 18, 7:26=A0am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> babi gendut wrote:
> > Hello Jerry,
>
> >> Yes, you either need a local mail server (warning - many email hosts
> >> will dump email from dynamic IPs because they are used for SPAM), or y=
ou
> >> need to connect to the email server you normally use.
>
> >> Unfortunately, most email servers require authentication (those which
> >> don't are know as "spam relays"), which isn't quite so easy to do with
> >> the mail() function. =A0It can be done, but not too easily.
>
> >> I would recommend you get the phpmailer class and use it - it makes
> >> emailing so much easier.
>
> >> --
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> > did you notice the log entry:
>
> > [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP =A0 3. mail
> > (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
> > C:
> > \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
> > referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
> > exist: C:/Frans/Private/Projects/php/favicon.ico
>
> > why the parameters are uninitialized? is it because i don't have a
> > local smtp server?
>
> > thanks,
> >fasisi
>
> Don't worry about later messages until you get the first one fixed.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Hello jerry,

I have downloaded a phpmailer class and i have installed an smtp
server. When i tried send an email, I got error log said that:

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
fsockopen() [<a href=3D'function.fsockopen'>function.fsockopen</a>]:
unable to connect to localhost:25 (A connection attempt failed because
the connected party did not properly respond after a period of time,
or established connection failed because connected host has failed to
respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
\phpmailer\\class.smtp.php on line 89, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
trace:, referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaa=
n=3D2

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   1. {main}
() C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   2.
tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
\pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=3D=
4&idpekerjaan=3D2

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   3.
phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
\pekerjaan.inc:237, referer: http://localhost/basin/pekerjaan.php?iduser=3D=
4&idpekerjaan=3D2

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   4.
phpmailer->smtp_send($header =3D *uninitialized*, $body =3D
*uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
\phpmailer\\class.phpmailer.php:459, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   5. SMTP-
>Connect($host =3D *uninitialized*, $port =3D *uninitialized*, $tval =3D
*uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
\phpmailer\\class.phpmailer.php:678, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   6.
fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
*uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
\basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

---
the problem is, the smtp server is set to listen to port 25 and the
server is running at the time of sending email.

i think the problem is on the smtp server. what do you suggest?

thank you,

fasisi
0
3/20/2009 4:33:47 PM
babi gendut wrote:
> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> babi gendut wrote:
>>> Hello Jerry,
>>>> Yes, you either need a local mail server (warning - many email hosts
>>>> will dump email from dynamic IPs because they are used for SPAM), or you
>>>> need to connect to the email server you normally use.
>>>> Unfortunately, most email servers require authentication (those which
>>>> don't are know as "spam relays"), which isn't quite so easy to do with
>>>> the mail() function.  It can be done, but not too easily.
>>>> I would recommend you get the phpmailer class and use it - it makes
>>>> emailing so much easier.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> did you notice the log entry:
>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
>>> C:
>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
>>> referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
>>> exist: C:/Frans/Private/Projects/php/favicon.ico
>>> why the parameters are uninitialized? is it because i don't have a
>>> local smtp server?
>>> thanks,
>>> fasisi
>> Don't worry about later messages until you get the first one fixed.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
> 
> Hello jerry,
> 
> I have downloaded a phpmailer class and i have installed an smtp
> server. When i tried send an email, I got error log said that:
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
> fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]:
> unable to connect to localhost:25 (A connection attempt failed because
> the connected party did not properly respond after a period of time,
> or established connection failed because connected host has failed to
> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \phpmailer\\class.smtp.php on line 89, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
> trace:, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   1. {main}
> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   2.
> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
> \pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   3.
> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \pekerjaan.inc:237, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   4.
> phpmailer->smtp_send($header = *uninitialized*, $body =
> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \phpmailer\\class.phpmailer.php:459, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   5. SMTP-
>> Connect($host = *uninitialized*, $port = *uninitialized*, $tval =
> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> \phpmailer\\class.phpmailer.php:678, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   6.
> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> ---
> the problem is, the smtp server is set to listen to port 25 and the
> server is running at the time of sending email.
> 
> i think the problem is on the smtp server. what do you suggest?
> 
> thank you,
> 
> fasisi

It sounds like you don't have an MTA running on your system.  Which MTA 
are you running?  Are you sure it is configured correctly and running? 
Do you have a firewall which may be blocking it?

What happens if you go to a command line and enter

telnet localhost 25

?

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/20/2009 6:41:29 PM
On Mar 21, 1:41=A0am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> babi gendut wrote:
> > On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> babi gendut wrote:
> >>> Hello Jerry,
> >>>> Yes, you either need a local mail server (warning - many email hosts
> >>>> will dump email from dynamic IPs because they are used for SPAM), or=
 you
> >>>> need to connect to the email server you normally use.
> >>>> Unfortunately, most email servers require authentication (those whic=
h
> >>>> don't are know as "spam relays"), which isn't quite so easy to do wi=
th
> >>>> the mail() function. =A0It can be done, but not too easily.
> >>>> I would recommend you get the phpmailer class and use it - it makes
> >>>> emailing so much easier.
> >>>> --
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>> Remove the "x" from my email address
> >>>> Jerry Stuckle
> >>>> JDS Computer Training Corp.
> >>>> jstuck...@attglobal.net
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>> did you notice the log entry:
> >>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP =A0 3. mail
> >>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
> >>> C:
> >>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
> >>> referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=
=3D2
> >>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
> >>> exist: C:/Frans/Private/Projects/php/favicon.ico
> >>> why the parameters are uninitialized? is it because i don't have a
> >>> local smtp server?
> >>> thanks,
> >>>fasisi
> >> Don't worry about later messages until you get the first one fixed.
>
> >> --
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> > Hello jerry,
>
> > I have downloaded a phpmailer class and i have installed an smtp
> > server. When i tried send an email, I got error log said that:
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
> > fsockopen() [<a href=3D'function.fsockopen'>function.fsockopen</a>]:
> > unable to connect to localhost:25 (A connection attempt failed because
> > the connected party did not properly respond after a period of time,
> > or established connection failed because connected host has failed to
> > respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> > \phpmailer\\class.smtp.php on line 89, referer:
> >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
> > trace:, referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpeker=
jaan=3D2
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 1. {main}
> > () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
> >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 2.
> > tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
> > \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?iduser=
=3D4&idpekerjaan=3D2
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 3.
> > phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> > \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?iduser=
=3D4&idpekerjaan=3D2
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 4.
> > phpmailer->smtp_send($header =3D *uninitialized*, $body =3D
> > *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> > \phpmailer\\class.phpmailer.php:459, referer:
> >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 5. SMTP-
> >> Connect($host =3D *uninitialized*, $port =3D *uninitialized*, $tval =
=3D
> > *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> > \phpmailer\\class.phpmailer.php:678, referer:
> >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
>
> > [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 6.
> > fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
> > *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
> > \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
> >http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
>
> > ---
> > the problem is, the smtp server is set to listen to port 25 and the
> > server is running at the time of sending email.
>
> > i think the problem is on the smtp server. what do you suggest?
>
> > thank you,
>
> >fasisi
>
> It sounds like you don't have an MTA running on your system. =A0Which MTA
> are you running? =A0Are you sure it is configured correctly and running?
> Do you have a firewall which may be blocking it?
>
> What happens if you go to a command line and enter
>
> telnet localhost 25
>
> ?
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Hello Jerry,

what is MTA? and telnet said that it could not open connection to the
host on port 25. connect failed.

[out of topic]
this reminds me to other similar strange problem. i wrote a java class
and use a jdbc connector to sqlserver. the jdbc won't connect to
sqlserver on the same machine and telnet won't too. i call it strange
because a query analyser from other computer can communicate with the
sqlserver on my computer. so, the telnet can't make connection to its
host but other application can do it from other computer.
[/out of topic]

thanks,
fasisi
0
3/21/2009 2:35:24 AM
fasisi wrote:
> On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> babi gendut wrote:
>>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> babi gendut wrote:
>>>>> Hello Jerry,
>>>>>> Yes, you either need a local mail server (warning - many email hosts
>>>>>> will dump email from dynamic IPs because they are used for SPAM), or you
>>>>>> need to connect to the email server you normally use.
>>>>>> Unfortunately, most email servers require authentication (those which
>>>>>> don't are know as "spam relays"), which isn't quite so easy to do with
>>>>>> the mail() function.  It can be done, but not too easily.
>>>>>> I would recommend you get the phpmailer class and use it - it makes
>>>>>> emailing so much easier.
>>>>>> --
>>>>>> ==================
>>>>>> Remove the "x" from my email address
>>>>>> Jerry Stuckle
>>>>>> JDS Computer Training Corp.
>>>>>> jstuck...@attglobal.net
>>>>>> ==================
>>>>> did you notice the log entry:
>>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
>>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
>>>>> C:
>>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
>>>>> referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
>>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
>>>>> why the parameters are uninitialized? is it because i don't have a
>>>>> local smtp server?
>>>>> thanks,
>>>>> fasisi
>>>> Don't worry about later messages until you get the first one fixed.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> Hello jerry,
>>> I have downloaded a phpmailer class and i have installed an smtp
>>> server. When i tried send an email, I got error log said that:
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
>>> fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]:
>>> unable to connect to localhost:25 (A connection attempt failed because
>>> the connected party did not properly respond after a period of time,
>>> or established connection failed because connected host has failed to
>>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>> \phpmailer\\class.smtp.php on line 89, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
>>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   1. {main}
>>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   2.
>>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
>>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   3.
>>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   4.
>>> phpmailer->smtp_send($header = *uninitialized*, $body =
>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>> \phpmailer\\class.phpmailer.php:459, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   5. SMTP-
>>>> Connect($host = *uninitialized*, $port = *uninitialized*, $tval =
>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>> \phpmailer\\class.phpmailer.php:678, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   6.
>>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
>>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
>>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>> ---
>>> the problem is, the smtp server is set to listen to port 25 and the
>>> server is running at the time of sending email.
>>> i think the problem is on the smtp server. what do you suggest?
>>> thank you,
>>> fasisi
>> It sounds like you don't have an MTA running on your system.  Which MTA
>> are you running?  Are you sure it is configured correctly and running?
>> Do you have a firewall which may be blocking it?
>>
>> What happens if you go to a command line and enter
>>
>> telnet localhost 25
>>
>> ?
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
> 
> Hello Jerry,
> 
> what is MTA? and telnet said that it could not open connection to the
> host on port 25. connect failed.
> 
> [out of topic]
> this reminds me to other similar strange problem. i wrote a java class
> and use a jdbc connector to sqlserver. the jdbc won't connect to
> sqlserver on the same machine and telnet won't too. i call it strange
> because a query analyser from other computer can communicate with the
> sqlserver on my computer. so, the telnet can't make connection to its
> host but other application can do it from other computer.
> [/out of topic]
> 
> thanks,
> fasisi

An MTA is a Mail Transfer Agent - it's responsible for handling incoming 
and outgoing mail, usually with SMTP.  The messages and inability to 
connect to port 25 says either you don't have one running, or if it is, 
it is configured incorrectly.

One other possibility is that 'localhost' is configured incorrectly; it 
should always be directed to 127.0.0.1.  The fact your jbdc connector 
couldn't connect on the same server indicates that's a possibility; so 
is a firewall.

Until you can get your MTA problem straightened out, there isn't 
anything PHP can do.  I suggest you follow up with the support people 
for whichever MTA you said you had running.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/21/2009 2:47:16 AM
On Mar 21, 9:47=A0am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> fasisiwrote:
> > On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> babi gendut wrote:
> >>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >>>> babi gendut wrote:
> >>>>> Hello Jerry,
> >>>>>> Yes, you either need a local mail server (warning - many email hos=
ts
> >>>>>> will dump email from dynamic IPs because they are used for SPAM), =
or you
> >>>>>> need to connect to the email server you normally use.
> >>>>>> Unfortunately, most email servers require authentication (those wh=
ich
> >>>>>> don't are know as "spam relays"), which isn't quite so easy to do =
with
> >>>>>> the mail() function. =A0It can be done, but not too easily.
> >>>>>> I would recommend you get the phpmailer class and use it - it make=
s
> >>>>>> emailing so much easier.
> >>>>>> --
> >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>>>> Remove the "x" from my email address
> >>>>>> Jerry Stuckle
> >>>>>> JDS Computer Training Corp.
> >>>>>> jstuck...@attglobal.net
> >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>>> did you notice the log entry:
> >>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP =A0 3. ma=
il
> >>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*=
)
> >>>>> C:
> >>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
> >>>>> referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=
=3D2
> >>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
> >>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
> >>>>> why the parameters are uninitialized? is it because i don't have a
> >>>>> local smtp server?
> >>>>> thanks,
> >>>>>fasisi
> >>>> Don't worry about later messages until you get the first one fixed.
> >>>> --
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>> Remove the "x" from my email address
> >>>> Jerry Stuckle
> >>>> JDS Computer Training Corp.
> >>>> jstuck...@attglobal.net
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>> Hello jerry,
> >>> I have downloaded a phpmailer class and i have installed an smtp
> >>> server. When i tried send an email, I got error log said that:
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
> >>> fsockopen() [<a href=3D'function.fsockopen'>function.fsockopen</a>]:
> >>> unable to connect to localhost:25 (A connection attempt failed becaus=
e
> >>> the connected party did not properly respond after a period of time,
> >>> or established connection failed because connected host has failed to
> >>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>> \phpmailer\\class.smtp.php on line 89, referer:
> >>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
> >>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpek=
erjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 1. {mai=
n}
> >>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer=
:
> >>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 2.
> >>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
> >>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?idus=
er=3D4&idpekerjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 3.
> >>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?idus=
er=3D4&idpekerjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 4.
> >>> phpmailer->smtp_send($header =3D *uninitialized*, $body =3D
> >>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>> \phpmailer\\class.phpmailer.php:459, referer:
> >>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 5. SMTP=
-
> >>>> Connect($host =3D *uninitialized*, $port =3D *uninitialized*, $tval =
=3D
> >>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>> \phpmailer\\class.phpmailer.php:678, referer:
> >>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 6.
> >>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
> >>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
> >>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
> >>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>> ---
> >>> the problem is, the smtp server is set to listen to port 25 and the
> >>> server is running at the time of sending email.
> >>> i think the problem is on the smtp server. what do you suggest?
> >>> thank you,
> >>>fasisi
> >> It sounds like you don't have an MTA running on your system. =A0Which =
MTA
> >> are you running? =A0Are you sure it is configured correctly and runnin=
g?
> >> Do you have a firewall which may be blocking it?
>
> >> What happens if you go to a command line and enter
>
> >> telnet localhost 25
>
> >> ?
>
> >> --
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> > Hello Jerry,
>
> > what is MTA? and telnet said that it could not open connection to the
> > host on port 25. connect failed.
>
> > [out of topic]
> > this reminds me to other similar strange problem. i wrote a java class
> > and use a jdbc connector to sqlserver. the jdbc won't connect to
> > sqlserver on the same machine and telnet won't too. i call it strange
> > because a query analyser from other computer can communicate with the
> > sqlserver on my computer. so, the telnet can't make connection to its
> > host but other application can do it from other computer.
> > [/out of topic]
>
> > thanks,
> >fasisi
>
> An MTA is a Mail Transfer Agent - it's responsible for handling incoming
> and outgoing mail, usually with SMTP. =A0The messages and inability to
> connect to port 25 says either you don't have one running, or if it is,
> it is configured incorrectly.
>
> One other possibility is that 'localhost' is configured incorrectly; it
> should always be directed to 127.0.0.1. =A0The fact your jbdc connector
> couldn't connect on the same server indicates that's a possibility; so
> is a firewall.
>
> Until you can get your MTA problem straightened out, there isn't
> anything PHP can do. =A0I suggest you follow up with the support people
> for whichever MTA you said you had running.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I prefer a free MTA. Do you know a good free MTA?

fasisi
0
3/21/2009 8:27:29 AM
fasisi wrote:
> On Mar 21, 9:47 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> fasisiwrote:
>>> On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> babi gendut wrote:
>>>>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>>>> babi gendut wrote:
>>>>>>> Hello Jerry,
>>>>>>>> Yes, you either need a local mail server (warning - many email hosts
>>>>>>>> will dump email from dynamic IPs because they are used for SPAM), or you
>>>>>>>> need to connect to the email server you normally use.
>>>>>>>> Unfortunately, most email servers require authentication (those which
>>>>>>>> don't are know as "spam relays"), which isn't quite so easy to do with
>>>>>>>> the mail() function.  It can be done, but not too easily.
>>>>>>>> I would recommend you get the phpmailer class and use it - it makes
>>>>>>>> emailing so much easier.
>>>>>>>> --
>>>>>>>> ==================
>>>>>>>> Remove the "x" from my email address
>>>>>>>> Jerry Stuckle
>>>>>>>> JDS Computer Training Corp.
>>>>>>>> jstuck...@attglobal.net
>>>>>>>> ==================
>>>>>>> did you notice the log entry:
>>>>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
>>>>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
>>>>>>> C:
>>>>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
>>>>>>> referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
>>>>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
>>>>>>> why the parameters are uninitialized? is it because i don't have a
>>>>>>> local smtp server?
>>>>>>> thanks,
>>>>>>> fasisi
>>>>>> Don't worry about later messages until you get the first one fixed.
>>>>>> --
>>>>>> ==================
>>>>>> Remove the "x" from my email address
>>>>>> Jerry Stuckle
>>>>>> JDS Computer Training Corp.
>>>>>> jstuck...@attglobal.net
>>>>>> ==================
>>>>> Hello jerry,
>>>>> I have downloaded a phpmailer class and i have installed an smtp
>>>>> server. When i tried send an email, I got error log said that:
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
>>>>> fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]:
>>>>> unable to connect to localhost:25 (A connection attempt failed because
>>>>> the connected party did not properly respond after a period of time,
>>>>> or established connection failed because connected host has failed to
>>>>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>> \phpmailer\\class.smtp.php on line 89, referer:
>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
>>>>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   1. {main}
>>>>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   2.
>>>>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
>>>>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   3.
>>>>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   4.
>>>>> phpmailer->smtp_send($header = *uninitialized*, $body =
>>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>> \phpmailer\\class.phpmailer.php:459, referer:
>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   5. SMTP-
>>>>>> Connect($host = *uninitialized*, $port = *uninitialized*, $tval =
>>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>> \phpmailer\\class.phpmailer.php:678, referer:
>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   6.
>>>>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
>>>>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
>>>>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>> ---
>>>>> the problem is, the smtp server is set to listen to port 25 and the
>>>>> server is running at the time of sending email.
>>>>> i think the problem is on the smtp server. what do you suggest?
>>>>> thank you,
>>>>> fasisi
>>>> It sounds like you don't have an MTA running on your system.  Which MTA
>>>> are you running?  Are you sure it is configured correctly and running?
>>>> Do you have a firewall which may be blocking it?
>>>> What happens if you go to a command line and enter
>>>> telnet localhost 25
>>>> ?
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> Hello Jerry,
>>> what is MTA? and telnet said that it could not open connection to the
>>> host on port 25. connect failed.
>>> [out of topic]
>>> this reminds me to other similar strange problem. i wrote a java class
>>> and use a jdbc connector to sqlserver. the jdbc won't connect to
>>> sqlserver on the same machine and telnet won't too. i call it strange
>>> because a query analyser from other computer can communicate with the
>>> sqlserver on my computer. so, the telnet can't make connection to its
>>> host but other application can do it from other computer.
>>> [/out of topic]
>>> thanks,
>>> fasisi
>> An MTA is a Mail Transfer Agent - it's responsible for handling incoming
>> and outgoing mail, usually with SMTP.  The messages and inability to
>> connect to port 25 says either you don't have one running, or if it is,
>> it is configured incorrectly.
>>
>> One other possibility is that 'localhost' is configured incorrectly; it
>> should always be directed to 127.0.0.1.  The fact your jbdc connector
>> couldn't connect on the same server indicates that's a possibility; so
>> is a firewall.
>>
>> Until you can get your MTA problem straightened out, there isn't
>> anything PHP can do.  I suggest you follow up with the support people
>> for whichever MTA you said you had running.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
> 
> I prefer a free MTA. Do you know a good free MTA?
> 
> fasisi

Check one of the mail groups.  They would have much better information 
on what's meets your needs.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/21/2009 12:44:30 PM
On Mar 21, 7:44=A0pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> fasisi wrote:
> > On Mar 21, 9:47 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> fasisiwrote:
> >>> On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >>>> babi gendut wrote:
> >>>>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >>>>>> babi gendut wrote:
> >>>>>>> Hello Jerry,
> >>>>>>>> Yes, you either need a local mail server (warning - many email h=
osts
> >>>>>>>> will dump email from dynamic IPs because they are used for SPAM)=
, or you
> >>>>>>>> need to connect to the email server you normally use.
> >>>>>>>> Unfortunately, most email servers require authentication (those =
which
> >>>>>>>> don't are know as "spam relays"), which isn't quite so easy to d=
o with
> >>>>>>>> the mail() function. =A0It can be done, but not too easily.
> >>>>>>>> I would recommend you get the phpmailer class and use it - it ma=
kes
> >>>>>>>> emailing so much easier.
> >>>>>>>> --
> >>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>>>>>> Remove the "x" from my email address
> >>>>>>>> Jerry Stuckle
> >>>>>>>> JDS Computer Training Corp.
> >>>>>>>> jstuck...@attglobal.net
> >>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>>>>> did you notice the log entry:
> >>>>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP =A0 3. =
mail
> >>>>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialize=
d*)
> >>>>>>> C:
> >>>>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:22=
8,
> >>>>>>> referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerja=
an=3D2
> >>>>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does n=
ot
> >>>>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
> >>>>>>> why the parameters are uninitialized? is it because i don't have =
a
> >>>>>>> local smtp server?
> >>>>>>> thanks,
> >>>>>>> fasisi
> >>>>>> Don't worry about later messages until you get the first one fixed=
..
> >>>>>> --
> >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>>>> Remove the "x" from my email address
> >>>>>> Jerry Stuckle
> >>>>>> JDS Computer Training Corp.
> >>>>>> jstuck...@attglobal.net
> >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>>> Hello jerry,
> >>>>> I have downloaded a phpmailer class and i have installed an smtp
> >>>>> server. When i tried send an email, I got error log said that:
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
> >>>>> fsockopen() [<a href=3D'function.fsockopen'>function.fsockopen</a>]=
:
> >>>>> unable to connect to localhost:25 (A connection attempt failed beca=
use
> >>>>> the connected party did not properly respond after a period of time=
,
> >>>>> or established connection failed because connected host has failed =
to
> >>>>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>>>> \phpmailer\\class.smtp.php on line 89, referer:
> >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
> >>>>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idp=
ekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 1. {m=
ain}
> >>>>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, refer=
er:
> >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 2.
> >>>>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin=
\
> >>>>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?id=
user=3D4&idpekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 3.
> >>>>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs=
\
> >>>>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?id=
user=3D4&idpekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 4.
> >>>>> phpmailer->smtp_send($header =3D *uninitialized*, $body =3D
> >>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>>>> \phpmailer\\class.phpmailer.php:459, referer:
> >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 5. SM=
TP-
> >>>>>> Connect($host =3D *uninitialized*, $port =3D *uninitialized*, $tva=
l =3D
> >>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
> >>>>> \phpmailer\\class.phpmailer.php:678, referer:
> >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 6.
> >>>>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
> >>>>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php=
\
> >>>>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
> >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> >>>>> ---
> >>>>> the problem is, the smtp server is set to listen to port 25 and the
> >>>>> server is running at the time of sending email.
> >>>>> i think the problem is on the smtp server. what do you suggest?
> >>>>> thank you,
> >>>>> fasisi
> >>>> It sounds like you don't have an MTA running on your system. =A0Whic=
h MTA
> >>>> are you running? =A0Are you sure it is configured correctly and runn=
ing?
> >>>> Do you have a firewall which may be blocking it?
> >>>> What happens if you go to a command line and enter
> >>>> telnet localhost 25
> >>>> ?
> >>>> --
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>>> Remove the "x" from my email address
> >>>> Jerry Stuckle
> >>>> JDS Computer Training Corp.
> >>>> jstuck...@attglobal.net
> >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >>> Hello Jerry,
> >>> what is MTA? and telnet said that it could not open connection to the
> >>> host on port 25. connect failed.
> >>> [out of topic]
> >>> this reminds me to other similar strange problem. i wrote a java clas=
s
> >>> and use a jdbc connector to sqlserver. the jdbc won't connect to
> >>> sqlserver on the same machine and telnet won't too. i call it strange
> >>> because a query analyser from other computer can communicate with the
> >>> sqlserver on my computer. so, the telnet can't make connection to its
> >>> host but other application can do it from other computer.
> >>> [/out of topic]
> >>> thanks,
> >>> fasisi
> >> An MTA is a Mail Transfer Agent - it's responsible for handling incomi=
ng
> >> and outgoing mail, usually with SMTP. =A0The messages and inability to
> >> connect to port 25 says either you don't have one running, or if it is=
,
> >> it is configured incorrectly.
>
> >> One other possibility is that 'localhost' is configured incorrectly; i=
t
> >> should always be directed to 127.0.0.1. =A0The fact your jbdc connecto=
r
> >> couldn't connect on the same server indicates that's a possibility; so
> >> is a firewall.
>
> >> Until you can get your MTA problem straightened out, there isn't
> >> anything PHP can do. =A0I suggest you follow up with the support peopl=
e
> >> for whichever MTA you said you had running.
>
> >> --
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> > I prefer a free MTA. Do you know a good free MTA?
>
> > fasisi
>
> Check one of the mail groups. =A0They would have much better information
> on what's meets your needs.
>
> --
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

how about you, jerry?

what MTA do you use? how do you configure it?

thank you,
fasisi
0
3/22/2009 7:51:31 AM
On Mar 22, 2:51=A0pm, fasisi <Frans.Indroy...@gmail.com> wrote:
> On Mar 21, 7:44=A0pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>
>
>
> > fasisi wrote:
> > > On Mar 21, 9:47 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> > >> fasisiwrote:
> > >>> On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> > >>>> babi gendut wrote:
> > >>>>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote=
:
> > >>>>>> babi gendut wrote:
> > >>>>>>> Hello Jerry,
> > >>>>>>>> Yes, you either need a local mail server (warning - many email=
 hosts
> > >>>>>>>> will dump email from dynamic IPs because they are used for SPA=
M), or you
> > >>>>>>>> need to connect to the email server you normally use.
> > >>>>>>>> Unfortunately, most email servers require authentication (thos=
e which
> > >>>>>>>> don't are know as "spam relays"), which isn't quite so easy to=
 do with
> > >>>>>>>> the mail() function. =A0It can be done, but not too easily.
> > >>>>>>>> I would recommend you get the phpmailer class and use it - it =
makes
> > >>>>>>>> emailing so much easier.
> > >>>>>>>> --
> > >>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >>>>>>>> Remove the "x" from my email address
> > >>>>>>>> Jerry Stuckle
> > >>>>>>>> JDS Computer Training Corp.
> > >>>>>>>> jstuck...@attglobal.net
> > >>>>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >>>>>>> did you notice the log entry:
> > >>>>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP =A0 3=
.. mail
> > >>>>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitiali=
zed*)
> > >>>>>>> C:
> > >>>>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:=
228,
> > >>>>>>> referer:http://localhost/basin/pekerjaan.php?iduser=3D4&idpeker=
jaan=3D2
> > >>>>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does=
 not
> > >>>>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
> > >>>>>>> why the parameters are uninitialized? is it because i don't hav=
e a
> > >>>>>>> local smtp server?
> > >>>>>>> thanks,
> > >>>>>>> fasisi
> > >>>>>> Don't worry about later messages until you get the first one fix=
ed.
> > >>>>>> --
> > >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >>>>>> Remove the "x" from my email address
> > >>>>>> Jerry Stuckle
> > >>>>>> JDS Computer Training Corp.
> > >>>>>> jstuck...@attglobal.net
> > >>>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >>>>> Hello jerry,
> > >>>>> I have downloaded a phpmailer class and i have installed an smtp
> > >>>>> server. When i tried send an email, I got error log said that:
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning=
:
> > >>>>> fsockopen() [<a href=3D'function.fsockopen'>function.fsockopen</a=
>]:
> > >>>>> unable to connect to localhost:25 (A connection attempt failed be=
cause
> > >>>>> the connected party did not properly respond after a period of ti=
me,
> > >>>>> or established connection failed because connected host has faile=
d to
> > >>>>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlib=
s\
> > >>>>> \phpmailer\\class.smtp.php on line 89, referer:
> > >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
> > >>>>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=3D4&i=
dpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 1. =
{main}
> > >>>>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, ref=
erer:
> > >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 2.
> > >>>>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\bas=
in\
> > >>>>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?=
iduser=3D4&idpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 3.
> > >>>>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genli=
bs\
> > >>>>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?=
iduser=3D4&idpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 4.
> > >>>>> phpmailer->smtp_send($header =3D *uninitialized*, $body =3D
> > >>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlib=
s\
> > >>>>> \phpmailer\\class.phpmailer.php:459, referer:
> > >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 5. =
SMTP-
> > >>>>>> Connect($host =3D *uninitialized*, $port =3D *uninitialized*, $t=
val =3D
> > >>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlib=
s\
> > >>>>> \phpmailer\\class.phpmailer.php:678, referer:
> > >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > >>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP =A0 6.
> > >>>>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
> > >>>>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\p=
hp\
> > >>>>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
> > >>>>>http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
> > >>>>> ---
> > >>>>> the problem is, the smtp server is set to listen to port 25 and t=
he
> > >>>>> server is running at the time of sending email.
> > >>>>> i think the problem is on the smtp server. what do you suggest?
> > >>>>> thank you,
> > >>>>> fasisi
> > >>>> It sounds like you don't have an MTA running on your system. =A0Wh=
ich MTA
> > >>>> are you running? =A0Are you sure it is configured correctly and ru=
nning?
> > >>>> Do you have a firewall which may be blocking it?
> > >>>> What happens if you go to a command line and enter
> > >>>> telnet localhost 25
> > >>>> ?
> > >>>> --
> > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >>>> Remove the "x" from my email address
> > >>>> Jerry Stuckle
> > >>>> JDS Computer Training Corp.
> > >>>> jstuck...@attglobal.net
> > >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >>> Hello Jerry,
> > >>> what is MTA? and telnet said that it could not open connection to t=
he
> > >>> host on port 25. connect failed.
> > >>> [out of topic]
> > >>> this reminds me to other similar strange problem. i wrote a java cl=
ass
> > >>> and use a jdbc connector to sqlserver. the jdbc won't connect to
> > >>> sqlserver on the same machine and telnet won't too. i call it stran=
ge
> > >>> because a query analyser from other computer can communicate with t=
he
> > >>> sqlserver on my computer. so, the telnet can't make connection to i=
ts
> > >>> host but other application can do it from other computer.
> > >>> [/out of topic]
> > >>> thanks,
> > >>> fasisi
> > >> An MTA is a Mail Transfer Agent - it's responsible for handling inco=
ming
> > >> and outgoing mail, usually with SMTP. =A0The messages and inability =
to
> > >> connect to port 25 says either you don't have one running, or if it =
is,
> > >> it is configured incorrectly.
>
> > >> One other possibility is that 'localhost' is configured incorrectly;=
 it
> > >> should always be directed to 127.0.0.1. =A0The fact your jbdc connec=
tor
> > >> couldn't connect on the same server indicates that's a possibility; =
so
> > >> is a firewall.
>
> > >> Until you can get your MTA problem straightened out, there isn't
> > >> anything PHP can do. =A0I suggest you follow up with the support peo=
ple
> > >> for whichever MTA you said you had running.
>
> > >> --
> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >> Remove the "x" from my email address
> > >> Jerry Stuckle
> > >> JDS Computer Training Corp.
> > >> jstuck...@attglobal.net
> > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> > > I prefer a free MTA. Do you know a good free MTA?
>
> > > fasisi
>
> > Check one of the mail groups. =A0They would have much better informatio=
n
> > on what's meets your needs.
>
> > --
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > Remove the "x" from my email address
> > Jerry Stuckle
> > JDS Computer Training Corp.
> > jstuck...@attglobal.net
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> how about you, jerry?
>
> what MTA do you use? how do you configure it?
>
> thank you,
> fasisi

jerry,

i found an smtp server. and i got this error log from apache:

-----
[Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP Warning:
mail() [<a href=3D'function.mail'>function.mail</a>]: SMTP server
response: 525 can not connect to &quot;yahoo.com&quot; ! in C:\\Frans\
\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc on line 230,
referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP Stack
trace:, referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaa=
n=3D2

[Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP   1. {main}
() C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2

[Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP   2.
tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
\pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=3D=
4&idpekerjaan=3D2

[Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP   3. mail
(*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*) C:
\\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:230,
referer: http://localhost/basin/pekerjaan.php?iduser=3D4&idpekerjaan=3D2
-----

it looks like the port 25 can be contacted. but the smpt server can't
connect to yahoo.com.

what this means?

thank you,
fasisi
0
3/22/2009 9:11:04 AM
fasisi wrote:
> On Mar 21, 7:44 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> fasisi wrote:
>>> On Mar 21, 9:47 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> fasisiwrote:
>>>>> On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>>>> babi gendut wrote:
>>>>>>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>>>>>> babi gendut wrote:
>>>>>>>>> Hello Jerry,
>>>>>>>>>> Yes, you either need a local mail server (warning - many email hosts
>>>>>>>>>> will dump email from dynamic IPs because they are used for SPAM), or you
>>>>>>>>>> need to connect to the email server you normally use.
>>>>>>>>>> Unfortunately, most email servers require authentication (those which
>>>>>>>>>> don't are know as "spam relays"), which isn't quite so easy to do with
>>>>>>>>>> the mail() function.  It can be done, but not too easily.
>>>>>>>>>> I would recommend you get the phpmailer class and use it - it makes
>>>>>>>>>> emailing so much easier.
>>>>>>>>>> --
>>>>>>>>>> ==================
>>>>>>>>>> Remove the "x" from my email address
>>>>>>>>>> Jerry Stuckle
>>>>>>>>>> JDS Computer Training Corp.
>>>>>>>>>> jstuck...@attglobal.net
>>>>>>>>>> ==================
>>>>>>>>> did you notice the log entry:
>>>>>>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
>>>>>>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
>>>>>>>>> C:
>>>>>>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
>>>>>>>>> referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
>>>>>>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
>>>>>>>>> why the parameters are uninitialized? is it because i don't have a
>>>>>>>>> local smtp server?
>>>>>>>>> thanks,
>>>>>>>>> fasisi
>>>>>>>> Don't worry about later messages until you get the first one fixed.
>>>>>>>> --
>>>>>>>> ==================
>>>>>>>> Remove the "x" from my email address
>>>>>>>> Jerry Stuckle
>>>>>>>> JDS Computer Training Corp.
>>>>>>>> jstuck...@attglobal.net
>>>>>>>> ==================
>>>>>>> Hello jerry,
>>>>>>> I have downloaded a phpmailer class and i have installed an smtp
>>>>>>> server. When i tried send an email, I got error log said that:
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
>>>>>>> fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]:
>>>>>>> unable to connect to localhost:25 (A connection attempt failed because
>>>>>>> the connected party did not properly respond after a period of time,
>>>>>>> or established connection failed because connected host has failed to
>>>>>>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>> \phpmailer\\class.smtp.php on line 89, referer:
>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
>>>>>>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   1. {main}
>>>>>>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   2.
>>>>>>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
>>>>>>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   3.
>>>>>>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   4.
>>>>>>> phpmailer->smtp_send($header = *uninitialized*, $body =
>>>>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>> \phpmailer\\class.phpmailer.php:459, referer:
>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   5. SMTP-
>>>>>>>> Connect($host = *uninitialized*, $port = *uninitialized*, $tval =
>>>>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>> \phpmailer\\class.phpmailer.php:678, referer:
>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   6.
>>>>>>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
>>>>>>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
>>>>>>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>> ---
>>>>>>> the problem is, the smtp server is set to listen to port 25 and the
>>>>>>> server is running at the time of sending email.
>>>>>>> i think the problem is on the smtp server. what do you suggest?
>>>>>>> thank you,
>>>>>>> fasisi
>>>>>> It sounds like you don't have an MTA running on your system.  Which MTA
>>>>>> are you running?  Are you sure it is configured correctly and running?
>>>>>> Do you have a firewall which may be blocking it?
>>>>>> What happens if you go to a command line and enter
>>>>>> telnet localhost 25
>>>>>> ?
>>>>>> --
>>>>>> ==================
>>>>>> Remove the "x" from my email address
>>>>>> Jerry Stuckle
>>>>>> JDS Computer Training Corp.
>>>>>> jstuck...@attglobal.net
>>>>>> ==================
>>>>> Hello Jerry,
>>>>> what is MTA? and telnet said that it could not open connection to the
>>>>> host on port 25. connect failed.
>>>>> [out of topic]
>>>>> this reminds me to other similar strange problem. i wrote a java class
>>>>> and use a jdbc connector to sqlserver. the jdbc won't connect to
>>>>> sqlserver on the same machine and telnet won't too. i call it strange
>>>>> because a query analyser from other computer can communicate with the
>>>>> sqlserver on my computer. so, the telnet can't make connection to its
>>>>> host but other application can do it from other computer.
>>>>> [/out of topic]
>>>>> thanks,
>>>>> fasisi
>>>> An MTA is a Mail Transfer Agent - it's responsible for handling incoming
>>>> and outgoing mail, usually with SMTP.  The messages and inability to
>>>> connect to port 25 says either you don't have one running, or if it is,
>>>> it is configured incorrectly.
>>>> One other possibility is that 'localhost' is configured incorrectly; it
>>>> should always be directed to 127.0.0.1.  The fact your jbdc connector
>>>> couldn't connect on the same server indicates that's a possibility; so
>>>> is a firewall.
>>>> Until you can get your MTA problem straightened out, there isn't
>>>> anything PHP can do.  I suggest you follow up with the support people
>>>> for whichever MTA you said you had running.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>> I prefer a free MTA. Do you know a good free MTA?
>>> fasisi
>> Check one of the mail groups.  They would have much better information
>> on what's meets your needs.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
> 
> how about you, jerry?
> 
> what MTA do you use? how do you configure it?
> 
> thank you,
> fasisi

Fasisi, that is off topic for this newsgroup, and what I use is not 
necessarily what you use.  Try one of the mail newsgroups.


-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/22/2009 11:50:31 AM
fasisi wrote:
> On Mar 22, 2:51 pm, fasisi <Frans.Indroy...@gmail.com> wrote:
>> On Mar 21, 7:44 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>
>>
>>
>>> fasisi wrote:
>>>> On Mar 21, 9:47 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>>> fasisiwrote:
>>>>>> On Mar 21, 1:41 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>>>>> babi gendut wrote:
>>>>>>>> On Mar 18, 7:26 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>>>>>>> babi gendut wrote:
>>>>>>>>>> Hello Jerry,
>>>>>>>>>>> Yes, you either need a local mail server (warning - many email hosts
>>>>>>>>>>> will dump email from dynamic IPs because they are used for SPAM), or you
>>>>>>>>>>> need to connect to the email server you normally use.
>>>>>>>>>>> Unfortunately, most email servers require authentication (those which
>>>>>>>>>>> don't are know as "spam relays"), which isn't quite so easy to do with
>>>>>>>>>>> the mail() function.  It can be done, but not too easily.
>>>>>>>>>>> I would recommend you get the phpmailer class and use it - it makes
>>>>>>>>>>> emailing so much easier.
>>>>>>>>>>> --
>>>>>>>>>>> ==================
>>>>>>>>>>> Remove the "x" from my email address
>>>>>>>>>>> Jerry Stuckle
>>>>>>>>>>> JDS Computer Training Corp.
>>>>>>>>>>> jstuck...@attglobal.net
>>>>>>>>>>> ==================
>>>>>>>>>> did you notice the log entry:
>>>>>>>>>> [Mon Mar 16 20:47:33 2009] [error] [client 127.0.0.1] PHP   3. mail
>>>>>>>>>> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*)
>>>>>>>>>> C:
>>>>>>>>>> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:228,
>>>>>>>>>> referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>>>> [Mon Mar 16 20:47:36 2009] [error] [client 127.0.0.1] File does not
>>>>>>>>>> exist: C:/Frans/Private/Projects/php/favicon.ico
>>>>>>>>>> why the parameters are uninitialized? is it because i don't have a
>>>>>>>>>> local smtp server?
>>>>>>>>>> thanks,
>>>>>>>>>> fasisi
>>>>>>>>> Don't worry about later messages until you get the first one fixed.
>>>>>>>>> --
>>>>>>>>> ==================
>>>>>>>>> Remove the "x" from my email address
>>>>>>>>> Jerry Stuckle
>>>>>>>>> JDS Computer Training Corp.
>>>>>>>>> jstuck...@attglobal.net
>>>>>>>>> ==================
>>>>>>>> Hello jerry,
>>>>>>>> I have downloaded a phpmailer class and i have installed an smtp
>>>>>>>> server. When i tried send an email, I got error log said that:
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Warning:
>>>>>>>> fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]:
>>>>>>>> unable to connect to localhost:25 (A connection attempt failed because
>>>>>>>> the connected party did not properly respond after a period of time,
>>>>>>>> or established connection failed because connected host has failed to
>>>>>>>> respond.\r\n) in C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>>> \phpmailer\\class.smtp.php on line 89, referer:
>>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP Stack
>>>>>>>> trace:, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   1. {main}
>>>>>>>> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
>>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   2.
>>>>>>>> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
>>>>>>>> \pekerjaan.php:123, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   3.
>>>>>>>> phpmailer->Send() C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>>> \pekerjaan.inc:237, referer:http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   4.
>>>>>>>> phpmailer->smtp_send($header = *uninitialized*, $body =
>>>>>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>>> \phpmailer\\class.phpmailer.php:459, referer:
>>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   5. SMTP-
>>>>>>>>> Connect($host = *uninitialized*, $port = *uninitialized*, $tval =
>>>>>>>> *uninitialized*) C:\\Frans\\Private\\Projects\\php\\basin\\genlibs\
>>>>>>>> \phpmailer\\class.phpmailer.php:678, referer:
>>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> [Fri Mar 20 22:37:25 2009] [error] [client 127.0.0.1] PHP   6.
>>>>>>>> fsockopen(*uninitialized*, *uninitialized*, *uninitialized*,
>>>>>>>> *uninitialized*, *uninitialized*) C:\\Frans\\Private\\Projects\\php\
>>>>>>>> \basin\\genlibs\\phpmailer\\class.smtp.php:89, referer:
>>>>>>>> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
>>>>>>>> ---
>>>>>>>> the problem is, the smtp server is set to listen to port 25 and the
>>>>>>>> server is running at the time of sending email.
>>>>>>>> i think the problem is on the smtp server. what do you suggest?
>>>>>>>> thank you,
>>>>>>>> fasisi
>>>>>>> It sounds like you don't have an MTA running on your system.  Which MTA
>>>>>>> are you running?  Are you sure it is configured correctly and running?
>>>>>>> Do you have a firewall which may be blocking it?
>>>>>>> What happens if you go to a command line and enter
>>>>>>> telnet localhost 25
>>>>>>> ?
>>>>>>> --
>>>>>>> ==================
>>>>>>> Remove the "x" from my email address
>>>>>>> Jerry Stuckle
>>>>>>> JDS Computer Training Corp.
>>>>>>> jstuck...@attglobal.net
>>>>>>> ==================
>>>>>> Hello Jerry,
>>>>>> what is MTA? and telnet said that it could not open connection to the
>>>>>> host on port 25. connect failed.
>>>>>> [out of topic]
>>>>>> this reminds me to other similar strange problem. i wrote a java class
>>>>>> and use a jdbc connector to sqlserver. the jdbc won't connect to
>>>>>> sqlserver on the same machine and telnet won't too. i call it strange
>>>>>> because a query analyser from other computer can communicate with the
>>>>>> sqlserver on my computer. so, the telnet can't make connection to its
>>>>>> host but other application can do it from other computer.
>>>>>> [/out of topic]
>>>>>> thanks,
>>>>>> fasisi
>>>>> An MTA is a Mail Transfer Agent - it's responsible for handling incoming
>>>>> and outgoing mail, usually with SMTP.  The messages and inability to
>>>>> connect to port 25 says either you don't have one running, or if it is,
>>>>> it is configured incorrectly.
>>>>> One other possibility is that 'localhost' is configured incorrectly; it
>>>>> should always be directed to 127.0.0.1.  The fact your jbdc connector
>>>>> couldn't connect on the same server indicates that's a possibility; so
>>>>> is a firewall.
>>>>> Until you can get your MTA problem straightened out, there isn't
>>>>> anything PHP can do.  I suggest you follow up with the support people
>>>>> for whichever MTA you said you had running.
>>>>> --
>>>>> ==================
>>>>> Remove the "x" from my email address
>>>>> Jerry Stuckle
>>>>> JDS Computer Training Corp.
>>>>> jstuck...@attglobal.net
>>>>> ==================
>>>> I prefer a free MTA. Do you know a good free MTA?
>>>> fasisi
>>> Check one of the mail groups.  They would have much better information
>>> on what's meets your needs.
>>> --
>>> ==================
>>> Remove the "x" from my email address
>>> Jerry Stuckle
>>> JDS Computer Training Corp.
>>> jstuck...@attglobal.net
>>> ==================
>> how about you, jerry?
>>
>> what MTA do you use? how do you configure it?
>>
>> thank you,
>> fasisi
> 
> jerry,
> 
> i found an smtp server. and i got this error log from apache:
> 
> -----
> [Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP Warning:
> mail() [<a href='function.mail'>function.mail</a>]: SMTP server
> response: 525 can not connect to &quot;yahoo.com&quot; ! in C:\\Frans\
> \Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc on line 230,
> referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP Stack
> trace:, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP   1. {main}
> () C:\\Frans\\Private\\Projects\\php\\basin\\pekerjaan.php:0, referer:
> http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP   2.
> tpekerjaan->minta_kontak() C:\\Frans\\Private\\Projects\\php\\basin\
> \pekerjaan.php:123, referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> 
> [Sun Mar 22 14:27:37 2009] [error] [client 127.0.0.1] PHP   3. mail
> (*uninitialized*, *uninitialized*, *uninitialized*, *uninitialized*) C:
> \\Frans\\Private\\Projects\\php\\basin\\genlibs\\pekerjaan.inc:230,
> referer: http://localhost/basin/pekerjaan.php?iduser=4&idpekerjaan=2
> -----
> 
> it looks like the port 25 can be contacted. but the smpt server can't
> connect to yahoo.com.
> 
> what this means?
> 
> thank you,
> fasisi

Which is not a PHP problems.  You need to be following up in the support 
group for the MTA you installed.

This is a PHP newsgroup - all about programming in PHP.  This is not the 
place to be asking about MTA's.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
0
jstucklex (14659)
3/22/2009 11:52:01 AM
Reply:

Similar Artilces:

Can't send mail using Mail.app, but can with Thunderbird
Hello, I am having one heck of a time, and it's killing me. I am new to the world of OS X but am adapting well, with one exception - Mail. Here's the deal. Using Thunderbird, I can send mail out with password authentication. I can send it via port 25 normally or via port 465 via SSL. I can also telnet to port 25 and see the standard email connection, and I can even fake it out using the proper sequence of commands. I can telnet to port 465, although since that's SSL I can't easily fake key negotiation or anything like that - but, it does establish a connection. However, Mai...

Why can't I send a mail with PHP
I can't send a mail with the following mail header: $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "From: \"User\" &lt;user@inter.net&gt;\n"; Therefore $headers is set to (echo $header;) MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: "User" <user@inter.net> The mail has not been delivered and my PHP server says: [24-Nov-2005 00:37:19] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: SMTP server re...

Can't send attachments using Mail
E-mail attachments are not getting sent, they head to the outbox after I click Send. Then I'd get a message that read: "This message could not be delivered and will remain in your outbox until it can be delivered. Sending the message context to the server failed." I've been using the same G4 laptop and mail app for over a year, and never encountered a problem until two days ago. I can't even send attachments through my dsl provider's mail website, Verizon Netmail. However, Verizon, my dsl provider, was able to send me an attachment by logging in to my account, usin...

can't use mail() in php 4.3.11
I am programming a website with php+linix+mysql+apache, I used 2 days to fighting with the php's mail() function. This is a new linux Fedora 3 system, clean install. Apache/2.0.53 (Fedora) PHP 4.3.11 Sendmail works fine from the linux system, I mean in linux, I can send mail out. But when I try to use mail() in php, I will get the error message in maillog. SYSERR(APACHE), Can't write, ... Pedrmission denied. I have changed the /spool/mqueue to even 755, still same problem. Please help. Ben *** Ben Xia wrote/escribi� (Mon, 29 Aug 2005 00:32:01 -0400): > Apache/2.0.53 (Fedora) > PHP 4.3.11 > > Sendmail works fine from the linux system, I mean in linux, I can send mail > out. > > But when I try to use mail() in php, I will get the error message in > maillog. > SYSERR(APACHE), Can't write, ... Pedrmission denied. Do you have SELinux activated? http://fedora.redhat.com/docs/selinux-faq-fc3/ http://www.crypt.gen.nz/selinux/faq.html -- -- �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 -- Thank you Alvaro, after disable the SELinux, everything is ok, I searched so many times on google about this problem, and tried so many solutions, no any luck. Your one word solution saves me maybe another 2 days' work. thank you again. I will read more about SELinux and try to tune the settings, not only disable it....

Mail.app can't get Comcast mail; Entourage can
I was trying to set up Mail.app to get my son's email from his Comcast POP3 account. As far as I could tell all the settings were correct, and Mail.app correctly saw that there were 9 messages in his inbox, however in the activity window, the progress bar seemed to indicate that the mail download had started, but it seemed to time out without downloading anything. In contrast, on the same computer, Entourage accessed his mail just fine. Can anyone explain this behavior? This is in MacOS X 10.2.8. Thanks, Dan -- Daniel E. Sabath University of Washington Department of Laboratory Medicine http://www.labmed.washington.edu In article <dsabath-53F2E6.10271920102003@nntp4.u.washington.edu>, Daniel E. Sabath <dsabath@fastmail.fm> wrote: > I was trying to set up Mail.app to get my son's email from his Comcast > POP3 account. As far as I could tell all the settings were correct, and > Mail.app correctly saw that there were 9 messages in his inbox, however > in the activity window, the progress bar seemed to indicate that the > mail download had started, but it seemed to time out without downloading > anything. It works for me. Sorry. Daniel E. Sabath <dsabath@fastmail.fm> wrote: > I was trying to set up Mail.app to get my son's email from his Comcast > POP3 account. As far as I could tell all the settings were correct, and > Mail.app correctly saw that there were 9 messages in his inbox, however > in the...

Can't send e-mail but I can d/l it
I use Peg v. 4.12a (Win32), 6/19/03 and suddenly I can't send e-mail. I haven't changed any settings and have dbl ck'd the ones for SMTP and everything seems to jive w/ what my ISP (sonic.net) says they should be. The error msg is titled "TCP/IP timeout!" and it says: "Pegasus Mail has timed out while waiting for a response from the remote host. Socket timeouts like this can be caused by network congestion, slow responses from the remote host or by network problems which cause loss of data." I went and changed the default timeout for network conne...

Eudora 7. I can send mail but can't receive it!
I recently reinstalled my OS (win 98SE) and downloaded and installed Eudora 7 (sponsored). During the installation I don't remember being asked for a password for email at Eudora, and I suspect that is the problem. The reinstallation of the OS wiped the drive clean. I originated a letter in Eudora, and when I clicked SEND, a pop-up asked for my password at cox.net. I entered the password and the mail was sent okay, But when I click " check mail" I don't get a request for a password, and the machine just sits there without downloading my mail. What am I doing...

Virtualhosting problems, can't send mail,but can recieve
Got a wierd one here.... I setup a machine with several virtual domains on it, as per the virtual hosting instructions on sendmail.org. Everything on the recieving end seems to be working fine, but the sending end isn't working at all. ie: I can send mail, and it moves out of the mail queue but the recipient never gets it. Here's what I've done so far (I'm trying to run 4 virtual domains on the machine, I've included the entries for 1 as an example. : sendmail.mc divert(0)dnl VERSIONID(`@(#)main.mc 1.5 (Sun) 08/10/00') OSTYPE(`solaris8')dnl DOMAIN(`solaris-ge...

can't send a mail
Dear all, I don't know where my problem is. Hopefully someone can give me some hint to explore the problem more. I am running Apache 2.0.48 wih PHP 4.3.4. The apache is running as nobody. I want to use the mail() to send out the email from a web page but it can't work. The web server is on the red hat linux 9.0 with rpm sendmail-8.12.8-9.90 and sendmail-cf. In the begining, I got the error message, 'SYSERR(nobody) can not write to queue directory /var/spool/clientmqueue/ when I use the mail(). I kind of make some progress if not worse to follow the sendmail/SECURITY. I...

Can't send mail
I have been using Eudora successfully for several years. My equipment is a generic PC with Windows XP Pro. My internet service is SBC DSL. My email address is [email]olddog@bowsersdoghouse.com[/email]. Up until December 1st I connected to the internet with SBC's Connection manager. On December 1st, they had me update to what they call SBC self-support Tool, and disabled the connection manager. There is now a different connection program. Since this "update" I have been unable to send mail from Eudora. I get the error message "Contacting smtp.bowsersdoghouse.com (38.117.195.105). Couldn't connect to 'smtp.bowsersdoghouse.com' cause: connection timed-out (10060)." The network timeouts are set for 300 seconds. I get the message in about 20 seconds. I can send mail from SBC Yahoo! and I can still receive mail with Eudora. When the problem started, I was using Version 5.2. I Upgraded to 6.2, but have the same problem. I contacted SBC, but they say it is not their problem. I tried to restore my computer to November 30th, but it wouldm't run the SBC connection manager, so I couldn't connect to the internet. I also did a route trace and was able to connect to the 38.117.195.105 address in 65 ms. Any help will be appreciated. On Mon, 6 Dec 2004, Robert Bowser wrote: > I have been using Eudora successfully for several years. My equipment is a > generic PC with Windows XP Pro. My ...

Can't Send Mail
I know there have been a number of threads recently on the above subject, but none of them seems to apply to my case. I'm running OS X 10.4.11 and Eudora 6.2.4 on a G4. What is somewhat unusual is that my DSL provider, AT&T, is not my ISP. (I'll supply the history of that if necessary, but I think it's irrelevant.) Using Eudora has been uneventful until recently, when AT&T made some changes designed to cut down on outgoing spam. They added SSL password authentication for sending messages and sending through a special port. In addition, if I wa...

Mail merge doesn't mail and/or doesn't merge
Mail merge doesn't mail and/or doesn't merge With me at least it doesn't. We are getting too many false positives on our bcc-mailing lists, so I decided to give the mail merge feature in PM 4.41 a go. The goal was to simultaneously send messages addressed to multiple recipients. I made a csv file containing nine of my own addresses in a column called ~kemail~, made this the data file, checked the box for the first field to be the fieldname and sent the email with the string ~kemail~ in the address box. I also attached a pdf file. PM reported a successful transaction, b...

HELP!
xp_sendmail has died on our SQL Server, I get error "xp_sendmail: failed with mail error 0x80004005" if I try using it. I believe that the reason that this has happened is because the SQL Server service account is unable to send mail, as follows: If I log on to Outlook Web Access as the SQL Server service account (SVC_SqlServer) I am able to receive mail. However, any mail sent from this account simply dissapears. It appears in the Sent items folder (in OWA for the SVC_SqlServer account) but the recipient (me, in this case) never receives it! Does anyone know why this account is unable to send mail? Help! eddiec :-) chalk@netspace.net.au wrote in message news:<79744f05.0402112113.3a3a7640@posting.google.com>... > xp_sendmail has died on our SQL Server, I get error "xp_sendmail: > failed with mail error 0x80004005" if I try using it. > > I believe that the reason that this has happened is because the SQL > Server service account is unable to send mail, as follows: > > If I log on to Outlook Web Access as the SQL Server service account > (SVC_SqlServer) I am able to receive mail. However, any mail sent from > this account simply dissapears. > > It appears in the Sent items folder (in OWA for the SVC_SqlServer > account) but the recipient (me, in this case) never receives it! > > Does anyone know why this account is unable to send mail? > > Help! > > eddiec :-) This KB article might be ...

Can't send from Apple Mail
I have a MacBook Pro, running Mtn Lion, running Gmail. Suddenly Mail app won't send but will receive. Web gmail runs fine. Ran 2-step verification, checked all settings against Google recommendations, re-indexed mail. In Preferences I see that gmail server (smtp) is offline. Connection doctor says that efforts to login to smtp account failed. Says I should check that username and password are correct. Haven't changed username and password in quite some time (weeks). Ed On 2015-05-22 14:36:38 +0000, Edward Kearns said: > I have a MacBook Pro, running Mtn Lion, running...

Kmail
I upgraded to KDE 3.2 and Kmail 1.6. Now I can't send mail, just recieve. The mail stays in the outbox, without any error message. Anyone else have this problem? I'm on a RH9.0 system, and using SMTP to send mail. Best regards Eric Eric Hobsbawm wrote: > I upgraded to KDE 3.2 and Kmail 1.6. Now I can't send mail, just > recieve. The mail stays in the outbox, without any error message. > Anyone else have this problem? > > I'm on a RH9.0 system, and using SMTP to send mail. > > Best regards > Eric When I upgraded, the settings changed to "Server requires authentication" (it doesn't). If this is your problem: On menu bar under Settings, select Configure K Mail Click on Network Select the Sending tab Select the account you are using to send mail Click the Modify button Uncheck the "Server requires authentication" box Then try sending the mail. Good luck -- jim jim wrote: > Eric Hobsbawm wrote: > >> I upgraded to KDE 3.2 and Kmail 1.6. Now I can't send mail, just >> recieve. The mail stays in the outbox, without any error message. >> Anyone else have this problem? >> >> I'm on a RH9.0 system, and using SMTP to send mail. >> >> Best regards >> Eric > When I upgraded, the settings changed to "Server requires > authentication" (it doesn't). > If this is your problem: > On menu bar under Settings, select Configure K Mai...

can't send some mail through the firewall
First, let me describe our setup. We are a development company, but we host some websites for clients. We have a class c range of public IP addresses as well as our private network. Our office configuration is T1-> router -> firewall, and behind the Watchguard firewall is both our public (optional) and private (trusted) network. There are 2 problems, but I think they are related. 1) None of our servers sitting on our public/optional network can email to known addresses on our private side; but the rest of the world can email us just fine. 2) From our public/optional network, we can not telnet over port 25 to our exchange server; but again we can do that just fine from any where in the world. The error we are seeing on the servers that are generating the emails to be sent is: remote server did not respond to a connection attempt. We've checked, and checked, and checked everything on the firewall and exchange server and can't seem to find what we are missing. Any ideas would be greatly appreciated! Thanks! Steph "blasapher" <blasapher@cox.net> wrote in message news:607e9005.0312021035.62bd4416@posting.google.com... > First, let me describe our setup. We are a development company, but > we host some websites for clients. We have a class c range of public > IP addresses as well as our private network. Our office configuration > is T1-> router -> firewall, and behind the Watchguard firewall is both > our public (optio...

Can't send mail all of a sudden!?
I have been a happy Polarbar user for many years. But recently my ISP forced a change in my settings and now I cannot login successfully to the SMTP server with Polarbar 1.25 or 1.25d using Java 1.1.8 or Java 1.3.1 under eCs v1.1x. For some unexplained reason the SMTP server is sending back what I believe is invalid data during login. In the Polarbar Java console log it shows messages like: 2006-01-23 14:12:03.373 Notice: 3341Fzc3dvcmQ6 2006-01-23 14:12:03.373 Info: Send AuthSMTP - jsmall@toast.net@smtp.toast.net: Logon Unsuccessful. 2006-01-23 14:12:03.375 Error: java...

mail() function doesn't seem to be sending MAIL FROM: properly
I'm trying to send an email using the mail() function. I've carefully made use of the ini_set(SMTP, "mail.my.server") function to set my SMTP server and also to set my From: address. I'm still getting a "Relaying not explicitly allowed: fakeemail@fakedomain.com" response from the server however, when I try and set a recipient who is outside of my own domain. This makes my think that the From: address is somehow not getting sent to my server properly or that I'm pointing at the wrong server. The confounding thing is that it was working for a while and I don&...

density function (I wanted to add an attachment- but couldn't figure out how, can I send a post to the group's mail address? what is is?)
Hi all, I'm trying to plot the density function of several variables in my data set. I found a macro which I dont understand completely, and I tried to use it. 1- Can I count on the density out file that it's the density function (when i plot it with G Plot at the end)? 2- The grap I get is very small comparing to the window. I tried to change the window parametter ,but it didn't help. I also get Black lines that I don't need- how do i get rid of them? /*-------------------------------------------------------------------* * Name: density.sas * * Title: Nonparametric density ...

Can't send mail to dotMac all day
Is dotmac working OK? I haven't been able to send mail all day. -- Gnarlie In article <21ce8fb77fa3a83930d0d58ee9248ab8@news.teranews.com>, Gnarlodious <gnarlodiousNULL@VOID.invalid.yahoo.com> wrote: > Is dotmac working OK? I haven't been able to send mail all day. > > -- Gnarlie > It's been working over here. (U.S. Left Coast.) ...

Can't send mail to local users
Hi I'm having a problem with sendmail (8.12.8-4) on my Redhat 9.0 box. When i send mail to a local user, e.g... echo test message | mail -s "test" ben .... the message is never received. I dont receive any error messages either. I can send email to am external address, e.g. ben@mywebsite.com, and this works fine. Any ideas? Ben On Thu, 14 Oct 2004 23:51:49 +0100 bengee wrote: > I'm having a problem with sendmail (8.12.8-4) on my Redhat 9.0 box. When > i send mail to a local user, e.g... Please urgently update your Sendmail. Even if you don't update to the latest version there is an update rpm for RH9 out since ages which fixes severe bugs! > echo test message | mail -s "test" ben echo "test messages" | mail -s "test" ben > ... the message is never received. I dont receive any error messages > either. Observe the /var/log/maillog. > Ben Alexander -- Alexander Dalloz | Enger, Germany PGP key valid: made 13.07.1999 PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653 bengee <postmaster@localhost.localdomain> wrote in message news:<416f02f7$0$48010$ed2e19e4@ptn-nntp-reader04.plus.net>... > Hi > > I'm having a problem with sendmail (8.12.8-4) on my Redhat 9.0 box. When > i send mail to a local user, e.g... > > echo test message | mail -s "test" ben > > ... the message is never received. I dont receive any error messag...

Only root can't send mails from shell
Hi, I've set up sendmail 8.12.8 that comes with Redhat 9. Now I'm facing the problem that every shelluser except root can send mails, but its the rootuser that needs to send mails to other servers when several maintenance scripts. As far as I figured out the problem is, that the domainname isn't masqueraded for the root-User cause it's a REVOKED_USER. Ok, I could comment out the REVOKED_USER-Entry in sendmail.cf, but I checked a sendmail-installation made with Suse-Linux 8 where everything is working and the REVOKED_USER entry is also present there. I used the SuSE-Installat...

Can't send mail (error -3212)
Hello, I'm running Eudora 6.0 on System 10.2.8 (service provider wanadoo.fr) and have been having trouble sending mail for the past two days. Receiving mail works fine but whenever I try to send, the Task Progress window pops up with the message "Server not responding. -3212 {37:461}" I've called other people using wanadoo.fr, and they're sending messages without incident. (I ended up copying the message into Wanadoo's web-based e-mail service and it went through fine.) I've repaired the permissions file and run DiskWarrior hoping this might fi...

Can't Send Mail After Switching to DSL
I have been using Pegasus Mail for years. I recently got DSL and have been unable to send mail. I'm using windows XP, Pegasus 4.31. My DSL is CenturyTel.net I've tried every combination of SSL/authentication/etc. I can receive mail, but just can't find a way to send it from Pegasus. I have been able to send from Thunderbird. Please can someone help. I do not want to give up using Pegasus. I've been loyal since I found it back in the early 90s. On 22 Nov 2006 05:42:57 -0800, "Arkinsaw" <holler1390@yahoo.com> wrote: > I have been using Pe...

Web resources about - can't send mail using mail() - comp.lang.php

Resources last updated: 3/23/2016 5:07:05 PM