![]() |
ENHANCED FSP ADMIN Email - Printable Version +- FsPassengers Forums (http://www.fspassengers.com/forum) +-- Forum: FsPassengers (http://www.fspassengers.com/forum/forumdisplay.php?fid=3) +--- Forum: FsPassengers Support (http://www.fspassengers.com/forum/forumdisplay.php?fid=5) +--- Thread: ENHANCED FSP ADMIN Email (/showthread.php?tid=5694) |
ENHANCED FSP ADMIN Email - Badge - 06-12-2005 Ok I added this script to the rest of the VA system that I got workng today (and working perfectly!) When I set it up to send email to my pilots we receive the emails but there is no text in the body of the email and the attachment is which we do get has no text in it either any ideas? Re: ENHANCED FSP ADMIN Email - DanSteph - 07-12-2005 did you modified the php script outside the "change here" ? I'm a bit puzzled here as it work for other but my thought: your ISP forbid mail with attachement or support strangely the "mail" function ? Or a php setting prevent it to work as it should ? Try perhaps to change the empty line 95 of the "sendcfg.php" just before this line below: if (mail($mailto,$MailTitle, "", $header)) Put this: echo "Debug header display: ".$header; echo "<br>Debug MailTitle display: ".$MailTitle."<br>"; return; This instead of sending the mail will display on screen the header value of the mail, you'll see here what's the content so we can track the problem... post it here please. Dan Re: ENHANCED FSP ADMIN Email - Badge - 07-12-2005 Debug header display: From: Eliteair Executive Travel Service .... [EDITED BY ADMIN] to remove sensitive data ..... here is what it displayed after i tried to send myself an email Re: ENHANCED FSP ADMIN Email - DanSteph - 07-12-2005 All is nice, the parameters passed to "mail" function are good... the glitch is in the "mail" function. try perhaps to put a space beetween "" as bellow: if (mail($mailto,$MailTitle, " ", $header)); (perhaps your mail function don't like empty message value ?) notice one things: if you name the config file as the FsP 's default one "VaFsPassengers.cfg" it will replace it forbidding your member to export on the VA here... not much friendly anyway. Rename it "Elitair.cfg" instead (this is in the parameter to edit) Let me know Dan Re: ENHANCED FSP ADMIN Email - DanSteph - 07-12-2005 try perhaps also to put the line below on line 95 and remove the debug display: error_reporting(E_ALL); ini_set('display_errors', TRUE); Let me know if it display any error. Dan Re: ENHANCED FSP ADMIN Email - Badge - 07-12-2005 no errors I and my friends are getting hte emails and the attachment but the email and the attachment are empty except for the subject text Re: ENHANCED FSP ADMIN Email - DanSteph - 07-12-2005 can you put my adress in one user and click "send" ? Dan Re: ENHANCED FSP ADMIN Email - Badge - 09-12-2005 ya send me your email address Re: ENHANCED FSP ADMIN Email - romnag - 15-04-2009 what have I done wrong i gott a message: Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\xampp\htdocs\FsPadmin\sendcfg.php on line 97 LINE 97: if (mail($mailto,$MailTitle," ", $header)) Re: ENHANCED FSP ADMIN Email - jetEnglandDotCom - 15-04-2009 Are you sure the IP has not been blacklisted? Re: ENHANCED FSP ADMIN Email - romnag - 15-04-2009 I'm using xampp... 192.168.0.100 Re: ENHANCED FSP ADMIN Email - jetEnglandDotCom - 15-04-2009 what is your external IP? http://www.whatismyip.org Paste it here and i will do some blacklist checks on it, etc etc Re: ENHANCED FSP ADMIN Email - romnag - 16-04-2009 80.217.187.199 |