בעיה בשליחת מייל

בעיה בשליחת מייל

שלום אני רוצה בבקשה לשלוח טופס ב-php לאימייל כאשר המשתנה $message שהוא גוף ההודעה יופיע בצד ימין ולא שמאל. איך אני עושה את זה? תודה, כפיר.
 

vladi03

New member
קבל!

$subject = "נושא ההודעה"; $message =" <html dir='rtl'> <head> <meta http-equiv='Content-Type' content='text/html; charset=windows-1255'> </head> <body> <table border='0' cellpadding='0' cellspacing='0' > <tr> <td>גוף ההודעה</td> </tr> </table> </body> </html> "; $headersen = "MIME-Version: 1.0\r\n"; $headersen .= "Content-type: text/html; charset=windows-1255\r\n"; $headersen .= "From: ממי!<[email protected]>\r\n"; mail("[email protected]",$subject, $message3, $headersen);
 

vladi03

New member
מצטער על תייחסו למייל הראשון.

$subject = "נושא ההודעה"; $message =" <html dir='rtl'> <head> <meta http-equiv='Content-Type' content='text/html; charset=windows-1255'> </head> <body> <table border='0' cellpadding='0' cellspacing='0' > <tr> <td>גוף ההודעה</td> </tr> </table> </body> </html> "; $headersen = "MIME-Version: 1.0\r\n"; $headersen .= "Content-type: text/html; charset=windows-1255\r\n"; $headersen .= "From: ממי!<[email protected]>\r\n"; mail("[email protected]",$subject, $message3, $headersen);​
תנסה את זה - זה בטוח יעבוד. כי אני משתמש בזה
 
למעלה