Tag:E-mail address

  • Laravel mail alarm, send mail

    Time:2021-7-12

    The first step is to modify the configuration file MAIL_DRIVER=smtp MAIL_HOST=smtp.exmail.qq.com MAIL_PORT=465 MAIL_ User name = email address MAIL_ Password = email authorization code MAIL_ENCRYPTION=ssl MAIL_ FROM_ Address = email address MAIL_ FROM_ Name = mailbox name (self defined) Here is the SMTP driver of Tencent enterprise mailbox, which can be changed according to the […]

  • Form verification based on vuejs and element UI — circular form and circular form verification

    Time:2021-4-11

    Verification based on vuejs and element UI: circular form verification, circular form verification code: {{ msg }} Circular form verification Submit Reset Circular table verification preservation cancel newly added export default { name: ‘HelloWorld’, props: { msg: String }, data() { return { dynamicValidateForm: { email:”, domains: [{ type: ‘input’, modelName: ‘str’, model:”, Label: ‘domain […]

  • Email address regular expression verification code collection script House Special Edition

    Time:2021-4-11

    Email address validation regular expression Email address verification in decms Copy codeThe code is as follows: <?php $email=”[email protected]”; //Email format check function CheckEmail($email) { return eregi(“^[0-9a-z][a-z0-9\._-]{1,}@[a-z0-9-]{1,}[a-z0-9]\.[a-z\.]{1,}[a-z]$”, $email); } echo CheckEmail($email); Email address verification in phpcms Copy codeThe code is as follows: function is_email($email) { return strlen($email) > 6 && preg_match(“/^[\w\-\.][email protected][\w\-\.]+(\.\w+)+$/”, $email); } echo is_email($email); ?> […]

  • Upload personal third party library to cocoapods

    Time:2021-2-18

    Upload personal library to cocoapods 1.1 creating projects in GitHub Fill in the project name Fill in the project description Set library public Add the certificate and readme file. The certificate can also be downloaded after the project is createdCreate new fileAnd inputLICENSE, click theChoose a license templateSelect the required certificate and add it After […]

  • Git very useful operation

    Time:2020-11-17

    Delete a commit A branch has multiple commit records. There is a problem with the intermediate commit. What should we do if we want to delete the middle one? have access togit rebase -i commitid Command.firstgit logView submission history I want to delete fix: third modify test file with commit as9c82e014b9e748ed66893a708c1b0d170c23ca25To submit. First, find the […]

  • Mail sending using spring API (Le byte Java, Le byte Architecture)

    Time:2020-9-28

    How to send email in detailThis article is sponsored and broadcast by Le byte Java architecture course Environmental preparation Create Maven project in pom.xml Add dependency to file <! — spring core jar dependency — > <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.2.4.RELEASE</version> </dependency> <! — spring context support — > <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>5.2.4.RELEASE</version> </dependency> <dependency> <groupId>org.springframework</groupId> […]

  • JS advanced case: verify whether the user input is a mailbox

    Time:2020-8-11

    Case: verify whether the user input is a mailbox   title Please enter your email address:* < span style = “background color: # f5f5f5; color: # 008000;” > // < / span > < span style = “background color:” f5f5f5; color: “008000;” > if the mailbox is entered, the background color is green, otherwise it […]

  • Regular expression detects whether the email address entered by the user is legal

    Time:2020-7-1

    In the development of registration system, it is necessary to detect whether the email address entered by the user is legal. It can be detected in JS or PHP, but the difference is not big. Regular expression can be used to detect. Here is an example of JS: Copy codeThe code is as follows: function […]

  • The most rigorous regular expression for checking email address and corresponding versions of various languages

    Time:2020-4-28

    currency Copy codeThe code is as follows: (?:[a-z0-9!#$%&’*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&’*+/=?^_`{|}~-]+)*|”(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*”)@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]) Python r”(^[a-zA-Z0-9_.+-][email protected][a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)” Javascript Copy codeThe code is as follows: /^[-a-z0-9~!$%^&*_=+}{\’?]+(\.[-a-z0-9~!$%^&*_=+}{\’?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i PHP Copy codeThe code is as follows: /^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-[a-z0-9]+)*\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/iD Perl / Ruby (?:(?:\r\n)?[ \t])*(?:(?:(?:[^()<>@,;:\\”.\[\] \000-\031]+(?:(?:(?:\r\n)?[ \t] )+|\Z|(?=[\[“()<>@,;:\\”.\[\]]))|”(?:[^\”\r\\]|\\.|(?:(?:\r\n)?[ \t]))*”(?:(?: \r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\”.\[\] \000-\031]+(?:(?:( ?:\r\n)?[ \t])+|\Z|(?=[\[“()<>@,;:\\”.\[\]]))|”(?:[^\”\r\\]|\\.|(?:(?:\r\n)?[ \t]))*”(?:(?:\r\n)?[ \t])*))*@(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\”.\[\] \000-\0 31]+(?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\[“()<>@,;:\\”.\[\]]))|\[([^\[\]\r\\]|\\.)*\ ](?:(?:\r\n)?[ \t])*)(?:\.(?:(?:\r\n)?[ \t])*(?:[^()<>@,;:\\”.\[\] \000-\031]+ (?:(?:(?:\r\n)?[ \t])+|\Z|(?=[\[“()<>@,;:\\”.\[\]]))|\[([^\[\]\r\\]|\\.)*\](?: (?:\r\n)?[ \t])*))*|(?:[^()<>@,;:\\”.\[\] […]

  • JS advanced – Case: verify whether the user input the mailbox or not

    Time:2020-3-20

    Case: verify whether the user has entered a mailbox   title Please enter email address:* < span style = “background color:” f5f5f5; color: “008000;” ></span> < span style = “background color:” f5f5f5; color: “008000;” ></span> <span style=”background-color: #f5f5f5; color: #000000;”> document.getElementById(</span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; color: #000000;”>email</span><span style=”background-color: #f5f5f5; color: #000000;”>”</span><span style=”background-color: #f5f5f5; […]

  • Send QQ email notification after Ping to Google

    Time:2020-1-18

    Preface During the national day, it is said that in order to prevent people from making improper comments on major festivals, many IP addresses that can be kxsw are blocked, but when will they be unsealed? You can’t Ping them if you have nothing to do. So I wrote a regular task to Ping Google […]

  • Head First PHP & MySQl Chapter 1 Code

    Time:2019-7-2

    HTML: <!doctype html> <html lang=”zh-cn”> <head> <meta charset=”utf-8″> < title > aliens kidnapped me – Report of a kidnapping </title > <link rel=”stylesheet” href=”style.css” /> </head> <body> <h2> Aliens Kidnapped Me – A Kidnapping Report</h2> <p> Share your story about being abducted by aliens:</p> <form method=”post” action=”report.php”> <label for=”name”>name: </label> <input type=”text” id=”tname” name=”name” /><br […]