email - sending mail from php: 2 received entrys with phpmailer -


hi tried send email on phpmailer. take phpmailer send on smtp. every customer have have owne ip. sent test email , see there 2 "received" entrys in email header. possible show one? because think if 1 of our customers sent spam have problem our main server.

the script:

    require('lib/phpmailer/class.phpmailer.php');     require('lib/phpmailer/class.smtp.php'); // stellt die methoden für smtp-connect bereit     $mail = new phpmailer();      // anmelden smtp-server     $mail->issmtp();     $mail->host     = $smtphostname;      $mail->smtpauth = true;      $mail->username = $smtpbenutzername;     $mail->password = $smtppasswort;     $mail->port     = $smtpport;      $mail->subject = 'smtp - test';     $mail->ishtml(true);     $mail->body     = 'dies ist eine smtp - testmail. es ist keine aktion erforderlich, sondern bestätigt lediglich die einrichtung eines neuen smtp - kontos im mailsystem.';     $mail->from     = $absendeadresse;     $mail->fromname = 'smtp - testmailer';     $mail->addreplyto($antwortadresse);     $mail->sender     = $bounceadresse;     $mail->charset  =  "utf-8";      $xuserid = 500;     $mail->xuserid  =  $xuserid;     $mail->addaddress($adminemail); 

the mail header:

return-path: bounce@customerdomain.com  received: dc.ourdomain.com ([ip.ip.ip.ip]) mx-ha.web.de (mxweb008) esmtp (nemesis) id 0m0ptt-1ulmih1vcb-00uxxw <xxx@gmail.com>; sun, 19 may 2013 20:50:56 +0200  received: [ip.ip.ip.ip] (port=42845 helo=ourdomain.com) dc.ourdomain.com esmtpa (exim 4.80) (envelope-from <bounce@customerdomain.com>) id 1ue8h7-00089y-6b xxx@gmail.com; sun, 19 may 2013 20:50:57 +0200  date: sun, 19 may 2013 20:50:57 +0200  to: xxx@gmail.com  from: smtp - testmailer <info@customerdomain.com>  reply-to: info@customerdomain.com  subject: smtp - test  message-id: <933166e45238090b8be63d3e2891dd6b@ourdomain.com> 

i don't want show this... possible?

received: dc.ourdomain.com ([ip.ip.ip.ip]) mx-ha.web.de (mxweb008) esmtp (nemesis) id 0m0ptt-1ulmih1vcb-00uxxw <xxx@gmail.com>; sun, 19 may 2013 20:50:56 +0200 

the headers added mail servers email passes through. apparently, dc (domain controller) seems route mail traffic through web.de. thus, cannot control unless send through different mail servers.

also, seem located in germany: germany (unlike other countries bordering it) has reasonable legal framework protecting internet service providers malicious acts users commit, long apply reasonably due diligence. @ least legal perspective, there no particular problem these headers.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -