Z-Blog Application Center > PHP plug-in >PHPMailer Development Edition

PHPMailer Development Edition

  • ID : phpmailer
  • edition : one point four
  • author : Windy net ( Author website )  Contact author
  • Official website : https://kfuu.cn
  • system requirements : Z-BlogPHP 1.5.2 Zero
  • Update Date : 2019-11-02 15:29:42   Long time no update
  • amount of downloads : five thousand and thirty-two
  • Scoring : The average score of 8 people voting is 10/10
  • PHP version : 5.4 and higher
  • size : 357KB

Get apps

This plug-in can send mails in batches, add cc, secret cc and attachments.


Using functions phpmailer( $receiver , $title , $content , $file )


Parameter 1: Recipient; (Mandatory)

Parameter 2: mail title; (Mandatory)

Parameter 3: mail body; (Mandatory)

Parameter 4: Attachment; (Optional)


Function return value: bool value

Recipient parameters:

A recipient, directly into the mailbox.

 phpmailer(' admin@zblog.com ',..,..);

Multiple recipients, passed in array.

 phpmailer(array(' admin@zblog.com ',' service@zblog.com '),..,..);

Add Cc:

 phpmailer(array(' admin@zblog.com ','cc' => ' service@zblog.com '),..,..);

Add multiple cc's

 phpmailer(array(' admin@zblog.com ','cc' => array(' service@zblog.com ',' hr@zblog.com ')),..,..);

Add secret copyist:

 phpmailer(array(' admin@zblog.com ','bcc' => ' service@zblog.com '),..,..);

Add multiple secret copywriters

 phpmailer(array(' admin@zblog.com ','bcc' => array(' service@zblog.com ',' hr@zblog.com ')),..,..);

Add CC and CC:

 phpmailer(array(' admin@zblog.com ','cc' => ' service@zblog.com ','bcc' => array(' service@zblog.com ',' hr@zblog.com ')),..,..);

Attachment parameters:

Attachment must be an absolute path


Add an attachment:

 phpmailer(...,..,..,'/home/www/seo.zba');

Add multiple attachments, pass in array:

 phpmailer(...,..,..,array('/home/www/seo.zba','/home/www/qq.zba'));

Attachment custom name:

 phpmailer(...,..,..,array('/home/www/seo.zba' => 'myseo.zba')); phpmailer(...,..,..,array('/home/www/seo.zba','/home/www/qq.zba' => 'myqq.zba'));

Advanced usage:

 $m = new phpmailer; $m->receiver = ' xxx@aliyun.com '; //You can also add multiple mailboxes according to the above method $m ->title='Mail title'; $m ->content='Message body'; $m->attach = '/home/www/lcp.zba'; //(Optional) You can also add multiple attachments according to the above method $m->sendInterval = 60; //(Optional) Messages are not allowed to be sent within 60 seconds under the same IP address. If this attribute is not set, there is no limit $m->limitDays = 5; //(Optional) When the number of messages sent from the same IP reaches this value, messages are not allowed to be sent. If this attribute is not set, there is no limit $m ->sendIntervalMsg='% tNo sending again within seconds'; //(Optional) Customize the error message thrown $m ->limitDaysMsg='The number of messages sent by this IP today has reached the upper limit'; //(Optional) Customize the error message thrown $m ->sendErrorMsg='Mail sending failed:% s'; //(Optional) Customize the error message thrown $m->throwException = true; //(Default value: false) When it is set to true, if the sending fails, the above three error messages will be thrown directly; When it is set to 'string', sending fails. The return value of the Send() method is the above three strings. If it succeeds, it returns true $m->Send(); //Send mail, return the value of true or false or string

 image.png

 image.png

Update log:

one point four

1. Fixed a bug

one point three

1. Fixed a bug. When judging the delivery limit of the day, I forgot to set the time limit... Wipe away sweat

one point two

1. You can view the details of the sending record and the reason for the failure of mail submission

2. The sending record can view the sending IP address and the account logged in at the time of sending

3. A new calling method is added to limit the daily sending limit and frequency

one point one

1. Add Mail Sending Record

Hello, Z Blog related website has opened the real name system, please log in Bind your phone , and then make comments. Thank you for your support.

We Focusing on web related development, he has many years of development experience, Can develop any type of website, applet, app, enterprise system, etc

Customizable type

1. Common website construction and imitation

2. Payment interface docking

3. WeChat applet development

4. WeChat official account development

5. APP development

6. Cms system, oa system, erp system, etc

Cooperation link

1. The customer collates and provides detailed requirements documents (it is recommended to design renderings by themselves)

2. Match the demand and determine the development cost

3. Sign the development contract (individual customers may not sign)

4. We will start work after receiving the advance payment (corporate remittance is required for signing the contract)

5. After the completion of the project, we will provide a demonstration station. When we are satisfied, we need to pay the balance before we can hand in the project code

Payment Instructions

1. If it is less than 1000 yuan, you need to pay the full amount at one time (low price customization procedure, no payment in installments for any reason is acceptable, otherwise do not disturb)

2. 50% will be paid in advance if the price is higher than 1000 yuan, and the remaining 50% will be paid before the code is delivered

3. If it is higher than 10000 yuan, 40% will be paid in advance, 40% will be paid in the middle of development, and the remaining 20% will be paid before code delivery

4. If it is higher than 30000 yuan, 30% will be paid in advance, 30% will be paid in the middle of development, and the remaining 40% will be paid before code delivery

5. If it is higher than 50000 yuan, 20% will be paid in advance, 30% will be paid in the middle of development, and the remaining 50% will be paid before code delivery

After sales

1. Enterprise customers can maintain for free within one year, and can choose to pay for maintenance from the next year. The maintenance cost is 10% of the development cost (maintenance scope: bug repair, compatibility repair, website data migration, docking after api update, simple use optimization, data update, etc.)

2. Free maintenance for individual users within one month (maintenance scope: bug repair , compatible repair , website data migration , simple use optimization)

3. If you need to add functions not described in the requirements document, you need to pay corresponding fees (including during project development)

Solemnly declare

1. The customized program is not authorized and encrypted

2. Neither party can sell or authorize the customized program to others

3. Customized programs are strictly forbidden to be used for illegal purposes. If we find that the customized party uses the developed programs for illegal purposes during the development process, we have the right to stop the development and return the paid fees (labor costs during the development period will be deducted, and labor costs=1000 yuan/day). We do not bear any legal responsibility and do not provide the developed code

Disclaimer

For example, if the custom developed program needs to collect or dock api and other data or functions that rely on a third party, and the program cannot be used normally due to a third party problem after delivery, we do not assume any responsibility, we can only ensure that the function is normal at the time of delivery. If a third party has problems during the development, it can negotiate to refund the corresponding fees or use other third-party data.

contact us

QQ:  fifty-nine million five thousand and twenty-two

Email:  59005022@qq.com

WeChat:

After sales working hours: 9:00-11:00 13:00-16:00 (except weekends and holidays)


ZBLOG Application Center - Application Purchase and Use Agreement


1. Before purchasing an app, you need to confirm whether the app meets your needs. Digital products do not support trial. According to Article 25 of the Consumer Protection Law, the app is a digital product downloaded online and cannot be refunded once it is downloaded and installed after purchase.
2. The application you purchased in the application center, Only the license of the application, and the ownership of the application still belongs to the application provider.
3. An application can only be used for a single account. Without the consent of the website and the application provider, No secondary release, gift, resale, lease, piracy, etc , otherwise we will Permanently close the user account And reserves the right to continue to investigate relevant responsibilities.
4. If The website containing the application is resold or given away, leased, etc. Please purchase the application with a new account or remove the application Otherwise, it will be deemed as violating the use agreement and permanently canceling the right to use the account.
5. Unless otherwise specified, the purchased applications only include relevant use rights and free update services, and the application center and application provider do not provide additional after-sales installation and other services.
6. The risks in your use of the application are entirely borne by the user, including system damage, data loss and any other risks.
seven Users shall not use this app to engage in any behavior that violates laws, regulations and social public order and good customs in any way. Users must bear all legal responsibilities for the possible consequences of their improper use, and the website and application provider will not bear any responsibility.
eight If the application provider and the website find that the user installs the application on illegal websites such as pornography, gambling, drugs and fraud, they will stop the user's use rights and services, and report the user's illegal information to the network supervision department.
9. The website and application providers reserve the right to change, restrict, freeze or terminate your use of certain content without notifying you and assuming no responsibility for you.


Purchasing Guide


1. Please first Registered account , and Sign in Application Center.
2. Directly click "Buy App" and follow the instructions.


Download Guide


1. The buyer logs in on his Z-Blog website, enters the background, and clicks the "Application Center" menu on the left menu bar.
2. On the home page of the "Application Center", log in using the application center registration account.
3. Enter "My Application Warehouse" to see the successfully purchased applications. Click "Download" to download and install them.


Other precautions


1. If you cannot normally access the application center through the background of your own website, please purchase carefully, because this may cause the application to fail to download and install smoothly.
2. If the paid application cannot be downloaded normally, please check Z-Blog and application updates in the background of your website. If you have updated to the latest version and still cannot download, please contact us in time.
3. The local settings may be overwritten when the update is applied. Please make a backup before the update.