mailing in PHP using mail function..

First the syntax of the mail function is ..

mail($to$subject$message$headers);

$to-> to mail ID

$subject->the sub of the mail.

$message->the actual text message to send to the $to.

$headers->can contain the info regarding from or purpose..

and finally define the variables ..

$to=’kumargandhi30@gmail.com’;

$subject=’How are U my Friend?’;

$message=’hi kumar’;

$headers=’From:me@gmail.com’;

and now call the function.. mail($to$subject$message$headers);

this will send a mail to the mentioned..

Advertisements

4 Responses to mailing in PHP using mail function..

  1. Jeyabalan says:

    Hi anna I am Jeyabalan Please tell me if possible send mail in Flex with Java, if it is true please send me the reference

  2. Jeyabalan says:

    i have another doubt if possible send a html mail format from java backend.i will send mail with button, the receiver click on the button it automatically send to another receiver

  3. Jeyabalan says:

    Hi if it is possible to create or generate report from flex, please help me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: