PHP version upgrade to 7.x after some of WordPress's changes and WordPress skills,
I do not know the hands of the cheap, the VPS server PHP upgrade to 7.0, although 7.x and previous compatibility is very high, but removed a lot of outdated usage,
: This article mainly introduces some wordpress modification and wordpress skills after the PHP version is upgraded to 7x. For more information about PHP tutorials, see. I don't know if it's a cheap task. I upgraded the php on the VPS server to 7.0,
This article mainly introduces the PHP version upgrade to 7. some wordpress modifications and related information about wordpress skills after x. If you need any help, you can upgrade php on the VPS server to 7.0. x is highly compatible with earlier
Do not calculate the hands of cheap, the VPS server to upgrade PHP to 7.0, although the 7.x compatibility with the previous is very high, but removed a lot of outdated usage, and some old applications are still in use. On the individual WordPress
WordPress is a Blog (Blog, Blog) engine developed using the PHP language and MySQL database. you can create your own Blog on servers that support PHP and MySQL databases. SimpleMail plugin for WordPress 1.0.6 and other versions have multiple
The Wp_mail () function is used to send mail, similar to the PHP Mail () function.
The default sender name is WordPress, and the sender's mailbox is similar to the wordpress@example.com one.usage
Wp_mail ($to, $subject, $message, $headers, $
Windows hosts cannot support the mail () function, so they cannot use the mailbox service provided by WordPress. The mail sending function is essential for a website, for webmasters who use WordPress to build websites, in addition to sending emails
Change the message content type to HTML
In WordPress
Send mailYou need to use the Wp_mail () function, but the default type of message content is "Text/plain", that is, HTML is not supported.
If you want to add HTML code to the message content, you
Solution 1: Are you not configured?In fact, it is very simple: log on to the background --> set --> discuss, and then set it according to the following figure (this is version 3.0.1, and other versions are similar ):After setting up, you can send a
WordPress cannot send e- mails . Possible cause: Your host has disabled the Mail() functionWait a few words. On the Internet a search, quickly found the solution: the use of WP-MAIL-SMTP plug-in.One. Plug-in Download installation. Can search the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.