Forum Moderators: coopster

Message Too Old, No Replies

how to send email with table of contents

         

Madhu

6:47 am on Aug 29, 2007 (gmt 0)

10+ Year Member




Hi all

i have to send a mail with the tablular column structure.
I tried a lot.
But the code is working in some browsers and some browsers like gmail and yahoo ,that mail is not able to open.

Any body help me plzz.

Thanks
Madhu.

phparion

7:03 am on Aug 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



are gmail and yahoo browsers?

can you be more specific with browsers thing and post your code and the error log? you would get a very rapid reply from me then... i guess you are using javascript somewhere... anyway explain in much more details.

cripplertd

7:11 am on Aug 29, 2007 (gmt 0)

10+ Year Member



perhaps he means it works right in say hotmail's webmail service, but not in gmail's/yahoo's.

Madhu

7:15 am on Aug 29, 2007 (gmt 0)

10+ Year Member



My coding is

$message .= "Hi\n\n";

$message .="Name of section\n";

$message .=F_UserTestResultStatMailMessage($test_id, $user_id);
$message .="Feedback\n\n";

$message .= "Thank You.";
$subject = "Your Score";
$headers = "From: abcd<no-reply@example.com>\n";

$mail_sent = @mail( sample@example.com, $subject, $message, $headers );

$mailcheck = $mail_sent? "Mail sent" : "Mail failed";

[edited by: Madhu at 7:22 am (utc) on Aug. 29, 2007]

[edited by: dreamcatcher at 9:31 am (utc) on Aug. 29, 2007]
[edit reason] Use example.com, thanks. [/edit]

Madhu

7:16 am on Aug 29, 2007 (gmt 0)

10+ Year Member



S ofcourse.thank u cripplertd

phparion

7:33 am on Aug 29, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hmm, interesting... 'email doesn't open in yahoo or gmail" does it mean you are not getting them on gmail or yahoo or you do get but when you click to open you get some error?

you should use mail with @ sign to see if it breaks, secondly you are not using single/double quotes around the TO of mail function..

Madhu

7:37 am on Aug 29, 2007 (gmt 0)

10+ Year Member



i am getting mail but cant able to open it when the mail id is in yahoo

Madhu

7:39 am on Aug 29, 2007 (gmt 0)

10+ Year Member



double quotes for mail id is not a problem my actuall code is

$mail_sent = @mail( $jms['user_email'], $subject, $message, $headers )