Try: SMTP = smtp.isp.com
It should work. Ravi Taming Web Programming - One Script at a Time http://WebmasterInABox.net At 06:11 PM 9/8/02 -0700, you wrote: >Here is my error: >Warning: Failed to Connect in >c:\apache\htdocs\jotr\scripts\processcompsignup.php on line 43 >NOT Sent > >Here are my php.ini directives: >SMTP = localhost >sendmail_from = [EMAIL PROTECTED] > >I am running PostCast Server, an SMTP server, on a winXP machine. > >Here is my code: >$to = '[EMAIL PROTECTED]'; >$subject = 'Jobs on the Road email verification'; >$message = 'test'; >if ( mail( $to, $subject, $message ) ) >{ >print 'Sent'; >} >else >{ >print 'NOT Sent'; >} > >As you can see, very straight forward, but it doesn't work. I know that >it is not a problem with PostCast because I sent an email out via my >email client using my local SMTP server. Does anyone have any ideas? I >have tried just about everything. > > >____ � The WDVL Discussion List from WDVL.COM � ____ >To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] > Send Your Posts To: [EMAIL PROTECTED] >To change subscription settings to the wdvltalk digest version: > http://wdvl.internet.com/WDVL/Forum/#sub > >________________ http://www.wdvl.com _______________________ > >You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] >To unsubscribe send a blank email to %%email.unsub%% ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
