![]() ![]() Specify the email address you are sending to, and the email subject There are a number of steps involved in this:įirst off, create 2 variables: your recipients email address and the subject of the email. You can create a fancy html email, and when a user's email client can't handle this, it will default to plain text, in a gracefully degrading fashion. There are problems with both these approaches - using plain text can be very limited, with nothing but plain text your email can look very boring, while some popular email clients and interfaces can have difficulty handling html emails, leaving your recipient with an email full of code.Ī way to solve both of these problems in one is to create a multipart email, which basically sends 2 emails in one. ![]() Another way is to specify headers and use html content for the message. When sending an email using PHP, the most basic way is to use the mail() function, with plain text for the message body. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |