我想用不同的收件人觸發2個不同模板的郵件。我厭倦了在url:旁邊添加另一個網址,但是它沒有起作用。有沒有辦法添加更多的一個電子郵件到ajax請求?你的建議非常感謝。由於發送多個url的ajax請求
$.ajax({
type: "POST",
url: "../wp-admin/emailer.php","../wp-admin/emailer2.php" // add more emailers
data: dataString,
success: function(){ return true;}
});
window.location.href = "thank-you";
你不能做到這一點 – Satpal