Re: Mail
| From: | Sean | Date: | Sat, 09 Aug 2003 14:30:59 +0000 |
| Subject: | Re: Mail | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158989@lists.php.net to get a copy of this message | ||
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...
> 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.
> >
> > http://support.microsoft.com/?kbid=286421
> >
> > --
> > ---John Holmes...
> >
> > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
> >
> > PHP|Architect: A magazine for PHP Professionals - www.phparch.com
> >
> >
> >
> >
>
>