Ask a Question related to PHP Development, Design and Development.
-
Sean #1
Mail
I cannot get mail() to work any idea's
I get a server error.
Windows 2000 the SMTP port is 25.
No default values have being changed from the original PHP installation.
In it's simplest form
mail("joecool@example.com", "My Subject", "Test");
Gives the error as do more complicated scripts that I copied.
Thanks
Sean
Sean Guest
-
Mail component to retrieve mail from Hotmail, Yahoo, gmail..etc?
I am not sure these web based mail support POP3 or IMAP4. Is there any mail component out there that can retrieve mail from these services? --... -
#25357 [Com]: Mail() function is loosing cahracters when sending mail
ID: 25357 Comment by: dj_canard at yahoo dot com Reported By: pjsmith at microtech dot co dot gg Status: Bogus... -
#25357 [NEW]: Mail() function is loosing cahracters when sending mail
From: pjsmith at microtech dot co dot gg Operating system: Windows 2003, IIS, ISAPI PHP version: 4.3.3 PHP Bug Type: *Mail... -
#25195 [NEW]: Warning: mail(): Could not execute mail delivery program ...
From: mhawkins at ukeu dot com Operating system: Solaris 8 PHP version: Irrelevant PHP Bug Type: Mail related Bug... -
the script hangs up when i try to send mail with attachments using MAIL::Sender...???
As said in the topic... when i try to send an e-mail message using Mail::Sender the script hangs up before execution of $sender ->... -
Mike Brum #2
RE: [PHP] Mail
Do you have an SMTP server installed on your machine? If not, add one to IIS
(probably the simplest way to do it in Win2k).
-M
-----Original Message-----
From: Sean [mailto:SC12345@Comcast.net]
Sent: Friday, August 08, 2003 11:11 PM
To: [email]php-general@lists.php.net[/email]
Subject: [PHP] Mail
I cannot get mail() to work any idea's
I get a server error.
Windows 2000 the SMTP port is 25.
No default values have being changed from the original PHP installation.
In it's simplest form
mail("joecool@example.com", "My Subject", "Test");
Gives the error as do more complicated scripts that I copied. Thanks Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mike Brum Guest
-
Sean #3
Re: [PHP] Mail
Thanks for the quick response. 1 and 2 work 3 does not giving "unable to
relay for...."
I had slight doubts about what to use for youremail@yourdomain I used my
normal email address.
1.. Type helo me and press ENTER. The output resembles the following:
250 OK
2.. Type mail from:email@domain.com and press ENTER. The output
resembles the following:
250 OK - mail from <email@domain.com>
3.. Type rcpt to:youremail@yourdomain.com and press ENTER. The output
resembles the following:
250 OK - Recipient <youremail@yourdomain.com>
Hope you can help
Thanks
Sean
"John W. Holmes" <holmes072000@charter.net> wrote in message
news:3F346DF3.2090408@charter.net...> Sean wrote:
>>> > I cannot get mail() to work any idea's
> > I get a server error.
> > Windows 2000 the SMTP port is 25.
> > No default values have being changed from the original PHP installation.
> >
> > In it's simplest form
> > mail("joecool@example.com", "My Subject", "Test");
> > Gives the error as do more complicated scripts that I copied.
> > Thanks
> > Sean
> Follow the guidelines at the following URL to see where the error lies.
>
> [url]http://support.microsoft.com/?kbid=286421[/url]
>
> --
> ---John Holmes...
>
> Amazon Wishlist: [url]www.amazon.com/o/registry/3BEXC84AB3A5E/[/url]
>
> PHP|Architect: A magazine for PHP Professionals – [url]www.phparch.com[/url]
>
>
>
>
Sean Guest
-
Sean #4
Re: [PHP] Mail
I have searched various other places for an answer but have found none. I
imagine that the problem is caused by something simple that I am doing wrong
but if not this will be going on a Linux server when it works is there
another commonly used way of sending mail that the web hosting service will
not complain about setting up.
Also I don't think there should be any major difference between php script
for Windows or Linux is that right?
Thanks
Sean
"Sean" <SC12345@Comcast.net> wrote in message
news:20030809115609.12988.qmail@pb1.pair.com...installation.> Thanks for the quick response. 1 and 2 work 3 does not giving "unable to
> relay for...."
> I had slight doubts about what to use for youremail@yourdomain I used my
> normal email address.
>
> 1.. Type helo me and press ENTER. The output resembles the following:
> 250 OK
> 2.. Type mail from:email@domain.com and press ENTER. The output
> resembles the following:
> 250 OK - mail from <email@domain.com>
> 3.. Type rcpt to:youremail@yourdomain.com and press ENTER. The output
> resembles the following:
> 250 OK - Recipient <youremail@yourdomain.com>
> Hope you can help
> Thanks
> Sean
>
> "John W. Holmes" <holmes072000@charter.net> wrote in message
> news:3F346DF3.2090408@charter.net...> > Sean wrote:
> >> > > I cannot get mail() to work any idea's
> > > I get a server error.
> > > Windows 2000 the SMTP port is 25.
> > > No default values have being changed from the original PHP>> >> > >
> > > In it's simplest form
> > > mail("joecool@example.com", "My Subject", "Test");
> > > Gives the error as do more complicated scripts that I copied.
> > > Thanks
> > > Sean
> > Follow the guidelines at the following URL to see where the error lies.
> >
> > [url]http://support.microsoft.com/?kbid=286421[/url]
> >
> > --
> > ---John Holmes...
> >
> > Amazon Wishlist: [url]www.amazon.com/o/registry/3BEXC84AB3A5E/[/url]
> >
> > PHP|Architect: A magazine for PHP Professionals - [url]www.phparch.com[/url]
> >
> >
> >
> >
>
Sean Guest
-
Sean #5
Re: [PHP] Mail
Got it if anyone else has trouble.
In the IIS SMTP properties go to the Access Tab.
Click the Relay button at the bottom and change the selection from "Only the
list below" to "All except the list below" I have no idea if this is a
security risk it works that's all I care about for now.
Sean
Sean Guest
-
Curt Zirzow #6
Re: [PHP] Mail
* Thus wrote Sean (SC12345@Comcast.net):
Um, if I read that right you just set your mail server as an open> Got it if anyone else has trouble.
> In the IIS SMTP properties go to the Access Tab.
> Click the Relay button at the bottom and change the selection from "Only the
> list below" to "All except the list below" I have no idea if this is a
> security risk it works that's all I care about for now.
relay. This is bad.
I would strongly encourge you to put it back on 'Only the list
below' and add your own hostname to the list instead.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
Curt Zirzow Guest
-
Mike Brum #7
RE: [PHP] Mail
To expand on Curt's suggestion (which is a very good one), add your local
network IP (192.168.#.#), the external IP the machine has (if any) and
localhost (127.0.0.1) to the "Only the list below" box.
If you have to add any other machines in your network to relay mail through
this server, try to only add their internal IP's, and relay the mail
internally. Not only will you get better performance (speeds across an
internal network are generally faster than having to be routed over the
internet), but you'll have a better chance of making sure that those that
are attempting to connect to your mail server are who they say they are.
-Mike
-----Original Message-----
From: Curt Zirzow [mailto:curt@zirzow.dyndns.org]
Sent: Sunday, August 10, 2003 11:50 PM
To: [email]php-general@lists.php.net[/email]
Subject: Re: [PHP] Mail
* Thus wrote Sean (SC12345@Comcast.net):Um, if I read that right you just set your mail server as an open relay.> Got it if anyone else has trouble.
> In the IIS SMTP properties go to the Access Tab.
> Click the Relay button at the bottom and change the selection from
> "Only the list below" to "All except the list below" I have no idea if
> this is a security risk it works that's all I care about for now.
This is bad.
I would strongly encourge you to put it back on 'Only the list below' and
add your own hostname to the list instead.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mike Brum Guest
-
Sean #8
Re: [PHP] Mail
Point taken and thanks for responding. I am using the computer to test the
script which I will then upload to a hosting service. I am connected behind
a router which assigns the IP for the computer also the cable company
changes the IP for the cable modem now and again so I feel quite safe.
In fact if any one responds to this answer I would be interested to know if
hackers could get past all that, like everyone else I don't like the thought
of someone snooping around my computer.
Thanks
Sean
"Mike Brum" <php@crazyted.com> wrote in message
news:030801c35fbf$5497e9a0$c802a8c0@Transient...through> To expand on Curt's suggestion (which is a very good one), add your local
> network IP (192.168.#.#), the external IP the machine has (if any) and
> localhost (127.0.0.1) to the "Only the list below" box.
>
> If you have to add any other machines in your network to relay mail> this server, try to only add their internal IP's, and relay the mail
> internally. Not only will you get better performance (speeds across an
> internal network are generally faster than having to be routed over the
> internet), but you'll have a better chance of making sure that those that
> are attempting to connect to your mail server are who they say they are.
>
> -Mike
>
> -----Original Message-----
> From: Curt Zirzow [mailto:curt@zirzow.dyndns.org]
> Sent: Sunday, August 10, 2003 11:50 PM
> To: [email]php-general@lists.php.net[/email]
> Subject: Re: [PHP] Mail
>
>
> * Thus wrote Sean (SC12345@Comcast.net):>> > Got it if anyone else has trouble.
> > In the IIS SMTP properties go to the Access Tab.
> > Click the Relay button at the bottom and change the selection from
> > "Only the list below" to "All except the list below" I have no idea if
> > this is a security risk it works that's all I care about for now.
> Um, if I read that right you just set your mail server as an open relay.
> This is bad.
>
> I would strongly encourge you to put it back on 'Only the list below' and
> add your own hostname to the list instead.
>
> Curt
> --
> "I used to think I was indecisive, but now I'm not so sure."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
Sean Guest



Reply With Quote

