Re: [PHP] Sendmail Problem
On 10-Jun-2003 Uma Shankari T. wrote: Hello, I am having some problem in sendmail using this code. $MP = /usr/sbin/sendmail -t -f [EMAIL PROTECTED]; snip by main server id name..because of this outside mails are bouncing back.. Can any one pls tell me where is the problem ?? What does the bounce say ? Is there any configuration need to do for this ?? Probably. The -f option sets the envelope 'From:' and can be restricted to only 'trusted' users. I don't think this has ever been used to specify a gateway. The following is *wrong* -but one of them might get you out: To: @mainservername:[EMAIL PROTECTED] -- or -- To: [EMAIL PROTECTED]@mainservername ... and the sysadmin will probably whack your pee-pee for doing that. So let him/her know beforehand so they don't TOS you. And the last resort is fsockopen(mainservername, 25) Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Sendmail Problem
Hello, I am having some problem in sendmail using this code. $MP = /usr/sbin/sendmail -t -f [EMAIL PROTECTED]; i am running this program in one of the server not in the main server.. actually mail will go from this server to mainserver which will deliver the mails outside..but using this server only internal mails will go..if i send mail using this code mails will go from this server id not by main server id name..because of this outside mails are bouncing back.. Can any one pls tell me where is the problem ?? Is there any configuration need to do for this ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] sendmail problem!
hi I use PEAR to send mails to my users through sendmail, my mails sometimes are delivered immediately, sometimes after some minutes and sometimes after some hours and sometimes never! I tried to identify the cause but I wasn't successful, is there someone out there who can help me? I want to send an immediate message to my newly signed up users. Tanks a lot before -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] sendmail problem
OK - I got the rasmail codes from Zend.com's code library. it is working perfectly for my application except for one problem. the email I am using to send has a .pdf file attachment. I can open that PDF file up directly from the site after it is created, but I cannot open the file attachment up. it seems the coding is wrong of something like that so that the attachment is getting corrupted. I have emailed the author for assistance, but haven't receive a response. I'm hoping somebody here can assist me. here is the part of code; function Attachment($attachedfile) { if ($attachedfile) { $pf=fopen($attachedfile,r) or die($this-ErrorOutput(9)); $bytes=fread($pf,filesize($attachedfile)); $file=chunk_split(base64_encode($bytes)); fclose($pf); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SendMail Problem
Hi to the list, i´m new... well.. i do a Flash SendMail with variables and HTML format. it works.. but i insert variables in the HTML Message code.. and it don´t works... i don´t know why the code is.. ?php $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; $mensaje1 = ' html head titleBirthday Reminders for August/title /head body p align=leftfont face=Arial, Helvetica, sans-serif size=2biSugerencias y Comentarios mandado desde la paacute;gina de Teleacute;n/i/b/font/p table width=60% border=1 cellspacing=0 cellpadding=0 bordercolor=#00 tr td width=30%font face=Verdana, Arial, Helvetica, sans-serif size=2Nombre:/font/td td width=70%name/td /tr tr td width=30%font face=Verdana, Arial, Helvetica, sans-serif size=2Asunto:/font/td td width=70%?php echo $subject; ?/td /tr tr td width=30%font face=Verdana, Arial, Helvetica, sans-serif size=2e-mail/font:/td td width=70%?php echo $from; ?/td /tr tr td width=30%font face=Verdana, Arial, Helvetica, sans-serif size=2Comentario/Sugerencia/font/td td width=70%?php echo $message; ?/td /tr /table /body /html '; ? ?php mail([EMAIL PROTECTED], Sugerencias y Consultas, $mensaje1, $headers, From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/ . phpversion()); ? The variables don´t work.. Thx if u can answer P.D.: in normal format mail, the variables work.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]