php 干發(fā)送郵件,收到為垃圾郵件
Jun 13, 2016 pm 12:04 PM
php 做發(fā)送郵件,收到為垃圾郵件
<br />我用PHP做的注冊(cè)成功發(fā)送郵件,部分郵件進(jìn)入之后是垃圾郵件,為什么呢,在線等,謝謝各位大俠。<br />
------解決方案--------------------
當(dāng)然啦,你要明白一些反垃圾郵件機(jī)制
------解決方案--------------------
你發(fā)郵件發(fā)到哪了???是不是對(duì)方郵件設(shè)置自動(dòng)過濾為垃圾郵件。
------解決方案--------------------
嗯咯!你可以嘗試發(fā)到別的郵箱里去嘛!
------解決方案--------------------
哦,這個(gè)問題應(yīng)該是QQ的自動(dòng)反垃圾郵件系統(tǒng)自動(dòng)攔截的吧,具體的曉不得
你是不是測試的時(shí)候一個(gè)勁的發(fā)了無數(shù)個(gè)過去?
------解決方案--------------------
那跟你的代碼應(yīng)該沒關(guān)系。。QQ郵箱那邊可能設(shè)置了。
------解決方案--------------------
第一次收到的郵件,你可能舉報(bào)為垃圾郵件了。。自己去找找看。
------解決方案--------------------
有關(guān)系。。郵件中的關(guān)鍵字、鏈接、圖片都有關(guān)系...
純文字垃圾郵件機(jī)率小很多。如果是的話可能是賬號(hào)報(bào)舉報(bào)了或是服務(wù)器ip被拉黑了或是.........
------解決方案--------------------
垃圾郵件是個(gè)非常大的難題,不好搞的
gmail過濾更厲害
------解決方案--------------------
1、MX記錄是否一致;
2、郵件里面的頭信息是否一致;
------解決方案--------------------
有繞過反垃圾機(jī)制經(jīng)驗(yàn)的高手估計(jì)也不會(huì)跟你講,否則他們自己研究出來的方案被爛用了就廢了.
------解決方案--------------------
郵件標(biāo)題和郵件正文是否全部都一樣的?
可以試試在郵件正文中加入用戶不可見的隨機(jī)干擾字符,用超小白色字或display:none,不過不保證有效。
------解決方案--------------------
你先看看別人發(fā)給你的垃圾郵件是怎么排版的就有樣學(xué)樣吧。另外樓主如果是垃圾郵件就不要發(fā)了.其實(shí)沒有什么人會(huì)看的.
------解決方案--------------------
人家是發(fā)注冊(cè)歡迎郵件

------解決方案--------------------
發(fā)注冊(cè)歡迎郵件我也做過,我用的smtp發(fā)送的,用了一個(gè)插件phpMailer,試過了所有的郵箱,沒有一個(gè)被當(dāng)成垃圾郵件的,包括找回密碼郵件,以及郵箱驗(yàn)證郵件!
我發(fā)的其實(shí)還是HTML格式的,帶上網(wǎng)站的LOGO的!
在內(nèi)測的時(shí)候我和公司的其他人測試了幾百次,都沒有被當(dāng)成垃圾郵件,樓主應(yīng)該找下原因,有沒有敏感詞或者廣告性質(zhì)的東西!
反垃圾郵件這個(gè)東西深入的我就不太懂了!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

The method to get the current session ID in PHP is to use the session_id() function, but you must call session_start() to successfully obtain it. 1. Call session_start() to start the session; 2. Use session_id() to read the session ID and output a string similar to abc123def456ghi789; 3. If the return is empty, check whether session_start() is missing, whether the user accesses for the first time, or whether the session is destroyed; 4. The session ID can be used for logging, security verification and cross-request communication, but security needs to be paid attention to. Make sure that the session is correctly enabled and the ID can be obtained successfully.

To extract substrings from PHP strings, you can use the substr() function, which is syntax substr(string$string,int$start,?int$length=null), and if the length is not specified, it will be intercepted to the end; when processing multi-byte characters such as Chinese, you should use the mb_substr() function to avoid garbled code; if you need to intercept the string according to a specific separator, you can use exploit() or combine strpos() and substr() to implement it, such as extracting file name extensions or domain names.

UnittestinginPHPinvolvesverifyingindividualcodeunitslikefunctionsormethodstocatchbugsearlyandensurereliablerefactoring.1)SetupPHPUnitviaComposer,createatestdirectory,andconfigureautoloadandphpunit.xml.2)Writetestcasesfollowingthearrange-act-assertpat

In PHP, the most common method is to split the string into an array using the exploit() function. This function divides the string into multiple parts through the specified delimiter and returns an array. The syntax is exploit(separator, string, limit), where separator is the separator, string is the original string, and limit is an optional parameter to control the maximum number of segments. For example $str="apple,banana,orange";$arr=explode(",",$str); The result is ["apple","bana

JavaScript data types are divided into primitive types and reference types. Primitive types include string, number, boolean, null, undefined, and symbol. The values are immutable and copies are copied when assigning values, so they do not affect each other; reference types such as objects, arrays and functions store memory addresses, and variables pointing to the same object will affect each other. Typeof and instanceof can be used to determine types, but pay attention to the historical issues of typeofnull. Understanding these two types of differences can help write more stable and reliable code.

std::chrono is used in C to process time, including obtaining the current time, measuring execution time, operation time point and duration, and formatting analysis time. 1. Use std::chrono::system_clock::now() to obtain the current time, which can be converted into a readable string, but the system clock may not be monotonous; 2. Use std::chrono::steady_clock to measure the execution time to ensure monotony, and convert it into milliseconds, seconds and other units through duration_cast; 3. Time point (time_point) and duration (duration) can be interoperable, but attention should be paid to unit compatibility and clock epoch (epoch)

ToaccessenvironmentvariablesinPHP,usegetenv()orthe$_ENVsuperglobal.1.getenv('VAR_NAME')retrievesaspecificvariable.2.$_ENV['VAR_NAME']accessesvariablesifvariables_orderinphp.iniincludes"E".SetvariablesviaCLIwithVAR=valuephpscript.php,inApach

In PHP, to pass a session variable to another page, the key is to start the session correctly and use the same $_SESSION key name. 1. Before using session variables for each page, it must be called session_start() and placed in the front of the script; 2. Set session variables such as $_SESSION['username']='JohnDoe' on the first page; 3. After calling session_start() on another page, access the variables through the same key name; 4. Make sure that session_start() is called on each page, avoid outputting content in advance, and check that the session storage path on the server is writable; 5. Use ses
