我在我的网站上使用phpmailer并帮助解决垃圾邮件问题我创建了一个邮箱来发送这些电子邮件(使用SMTP).
我已经设置了电子邮件来从该邮箱地址,然后我添加了一个答复解决了,我想的答复去:
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->SMTPSecure = 'tsl';
$mail->SMTPDebug = 1;
$mail->Host = EMAIL_HOST;
$mail->Port = EMAIL_PORT;
$mail->Username = EMAIL_USER;
$mail->Password = EMAIL_PASS;
$mail->SetFrom('mailbox@email.com', 'Mailbox name');
$mail->AddReplyTo('replyto@email.com', 'Reply to name');
$mail->AddAddress('user@email.com', 'User name);
Run Code Online (Sandbox Code Playgroud)
电子邮件发送成功,似乎可以通过垃圾邮件过滤器,但是当我按回复时,它包括邮箱帐户和帐户回复.
这是什么意思发生?我只想按回复时出现回复地址.这甚至可能吗?
非常感谢您提供的任何帮助!
编辑:
查看电子邮件标题,似乎来自地址的内容将包含在回复字段中.我不知道为什么!
Date: Tue, 1 May 2012 11:16:25 +0100
To: User name <user@email.com>
From: Mailbox name <mailbox@email.com>
Reply-to: Mailbox name <mailbox@email.com>, Reply to name <replyto@email.com
Subject: Email subject
Message-ID: <54c530c0d1f3ff33fc87c4c41c2c9ffd@localhost>
X-Priority: 3
X-Mailer: …Run Code Online (Sandbox Code Playgroud) 我刚刚使用Ubuntu 17.04创建了一个新的Google Cloud Compute Engine服务器作为启动盘:
Ubuntu 17.04
amd64 zesty image built on 2017-12-08
Run Code Online (Sandbox Code Playgroud)
在做任何其他事情之前,如果我尝试运行,sudo apt-get update我会收到以下错误:
Ign:1 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty InRelease
Ign:2 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates
InRelease
Ign:3 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports InRelease
Ign:4 http://security.ubuntu.com/ubuntu zesty-security InRelease
Err:5 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty Release
404 Not Found [IP: 35.195.241.40 80]
Err:6 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-updates Release
404 Not Found [IP: 35.195.241.40 80]
Err:7 http://europe-west1.gce.archive.ubuntu.com/ubuntu zesty-backports Release
404 Not Found [IP: 35.195.241.40 80]
Err:8 http://security.ubuntu.com/ubuntu zesty-security Release
404 Not Found [IP: 91.189.88.161 80]
Hit:9 http://archive.canonical.com/ubuntu zesty InRelease
Reading package …Run Code Online (Sandbox Code Playgroud) apt google-compute-engine google-cloud-platform ubuntu-17.04
首先,我感谢我的要求非常"雄心勃勃",但是我非常感谢任何帮助,因为我不确定最好的方法.
在用户上传PDF后我的网站(使用PHP/MySQL构建)我想在页面上显示PDF内联(我假设在iFrame中).然后我需要它们能够在PDF上拖出一些"盒子"(我假设使用jQuery).然后,我需要记录此框的坐标,以便稍后我可以重新创建PDF,将新文本注入已定义的"框".
这听起来可行吗?如果没有,你会建议什么?(请不要说imagemagick!)
我知道如何重新创建PDF注入新文本,但我的问题是如何允许用户记录这些坐标.