Re: Troubles With Mail Function

From: Date: Thu, 14 Feb 2002 04:14:12 +0000
Subject: Re: Troubles With Mail Function
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-84697@lists.php.net to get a copy of this message
Well I tried what Gary suggested. I did "smtp.mindspring.com" and it worked beutifully. I feel stupid that the problem was so simple. But, alas, I'm learing. Thanks all you. Robley, that is some very informative information, this "digging". dig -t mx alienmelon.com in console right? "David Robley" <robleyd@paradise.net.nz> wrote in message news:MPG.16d5f579bf5b09649896a2@news.php.net... In article <20020214003314.57940.qmail@pb1.pair.com>, ultimatezzz@hotmail.com says... > Alright, I will show you my entire mail code here. BTW: I cannot mail using > mail() function > > [mail function] > ; For Win32 only. > SMTP = mindspring.com > > ; For Win32 only. > sendmail_from = drshim@alienmelon.com > > ; For Unix only. You may supply arguments as well (default: > 'sendmail -t -i'). > ;sendmail_path = > > > I'm using Windows XP at the moment to develop. > > I'm not quite sure what I'd put under "SMTP"...is there any tutorials online > that would show me how to configure this right? In addition to my previous message - OK, I've gone and put the necessary software on the linux side of this thing and asked the appropriate questions - if I do a 'dig' on alienmelon i find: ; <<>> DiG 9.1.2 <<>> -t mx alienmelon.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43766 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3 ;; QUESTION SECTION: ;alienmelon.com. IN MX ;; ANSWER SECTION: alienmelon.com. 28739 IN MX 10 mail.alienmelon.com. ;; AUTHORITY SECTION: alienmelon.com. 163967 IN NS NS.HOST4U.NET. alienmelon.com. 163967 IN NS NS2.HOST4U.NET. ;; ADDITIONAL SECTION: mail.alienmelon.com. 28739 IN A 64.33.108.112 NS.HOST4U.NET. 170095 IN A 209.150.128.30 NS2.HOST4U.NET. 3201 IN A 209.150.129.3 ;; Query time: 154 msec ;; SERVER: 203.96.152.4#53(203.96.152.4) ;; WHEN: Thu Feb 14 16:07:51 2002 ;; MSG SIZE rcvd: 146 which implies that alienemelon uses mail.alienmelon.com to handle its mail. So a ping to that to see if it exists gives us C:\WINDOWS>ping mail.alienmelon.com Pinging mail.alienmelon.com [64.33.108.112] with 32 bytes of data: Reply from 64.33.108.112: bytes=32 time=329ms TTL=239 Reply from 64.33.108.112: bytes=32 time=325ms TTL=239 Reply from 64.33.108.112: bytes=32 time=315ms TTL=239 Reply from 64.33.108.112: bytes=32 time=315ms TTL=239 Ping statistics for 64.33.108.112: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 315ms, Maximum = 329ms, Average = 321ms C:\WINDOWS> so it seems to exist. I suggest you try mail.alienmelon.com as the SMTP entry in your config and see what happens. -- David Robley Temporary Kiwi!

« previous php.general (#84697) next »