philhxc Posted March 23, 2007 Share Posted March 23, 2007 Hello.. ok im using wordpress and two plugins called postie (wich lets you post to wordpress from email) and a contactform plugin called dd-formmailer. both systems work ok, but for some reason when i send a email from the contact form postie doesnt recognize the image (yes the image is attached), however if i send the same image from gmail or another contact form plugin (cforms) it works.. the idea is so that user can submit their photos to my blog.. but i cant use cforms because dd-formmailer has a lot more options that i use.. i figure out that the problem lies within the headers of the email. can someone help me by correcting dd-formmailer headers? DD Form Mailer Code: http://www.philipp-berndt.info/dd-formmailer.txt CForms Code: http://www.philipp-berndt.info/cforms.txt thank you in advanced! phil Link to comment https://forums.phpfreaks.com/topic/44036-wordpress-images-and-mail/ Share on other sites More sharing options...
philhxc Posted March 23, 2007 Author Share Posted March 23, 2007 here are the headers info and stuff form sent mail Delivered-To: [email protected] Received: by 10.114.196.17 with SMTP id t17cs1493917waf; Fri, 23 Mar 2007 15:54:57 -0700 (PDT) Received: by 10.70.87.5 with SMTP id k5mr6638889wxb.1174690493247; Fri, 23 Mar 2007 15:54:53 -0700 (PDT) Return-Path: <[email protected]> Received: from panda.ultrawhb.com (panda.ultrawhb.com [65.98.6.51]) by mx.google.com with ESMTP id i14si4809226wxd.2007.03.23.15.54.42; Fri, 23 Mar 2007 15:54:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 65.98.6.51 as permitted sender) Received: from philhxc by panda.ultrawhb.com with local (Exim 4.63) (envelope-from <[email protected]>) id 1HUseX-0006DV-JT for [email protected]; Fri, 23 Mar 2007 22:54:33 +0000 To: [email protected] Subject: Philsen From: Philipp Berndt <[email protected]> Reply-To: Philipp Berndt <[email protected]> Message-ID: <[email protected]> X-Sender-IP: 190.47.165.201 X-Mailer: PHP v4.4.6 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="==Multipart_Boundary_xc72f94069700877863f11941653fc59ax" Date: Fri, 23 Mar 2007 22:54:33 +0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - panda.ultrawhb.com X-AntiAbuse: Original Domain - gmail.com X-AntiAbuse: Originator/Caller UID/GID - [32208 500] / [47 12] X-AntiAbuse: Sender Address Domain - panda.ultrawhb.com X-Source: /usr/bin/php X-Source-Args: /usr/bin/php index.php X-Source-Dir: philipp-berndt.info:/public_html/lindasdefotolog This is a multi-part message in MIME format. --==Multipart_Boundary_xc72f94069700877863f11941653fc59ax Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit :start blah :end IP: 190.47.165.201 HOST: pc-201-165-47-190.cm.vtr.net --==Multipart_Boundary_xc72f94069700877863f11941653fc59ax Content-Type: image/jpeg; name="01.jpg" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="01.jpg" /9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE[...]oor0MJhKdOnKMZTac29XG9+WK6RXYD//2Q== and for the gmail sent email Received: by 10.114.196.17 with HTTP; Fri, 23 Mar 2007 15:56:50 -0700 (PDT) Message-ID: <[email protected]> Date: Fri, 23 Mar 2007 18:56:50 -0400 From: "Philipp Berndt" <[email protected]> To: [email protected] Subject: Philsen MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_232045_30808873.1174690610588" Delivered-To: [email protected] ------=_Part_232045_30808873.1174690610588 Content-Type: multipart/alternative; boundary="----=_Part_232046_26294074.1174690610588" ------=_Part_232046_26294074.1174690610588 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline blah ------=_Part_232046_26294074.1174690610588 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline blah<br> ------=_Part_232046_26294074.1174690610588-- ------=_Part_232045_30808873.1174690610588 Content-Type: image/jpeg; name=01.jpg Content-Transfer-Encoding: base64 X-Attachment-Id: f_ezn8e3cn Content-Disposition: attachment; filename="01.jpg" /9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wB[...]D0/4NfBr4k6b8SfDd7e+G/Jtof7Y82X+2NBk2 +ZoOqQp8kWqSSNukkRflQ4zk4UEgoor0MJhKdOnKMZTac29XG9+WK6RXYD//2Q== ------=_Part_232045_30808873.1174690610588-- at the end of the image info from the gmail sent mail theres this ------=_Part_232045_30808873.1174690610588-- could this be it? anyways.. who ever can figure this thing out please help me. thanks phil Link to comment https://forums.phpfreaks.com/topic/44036-wordpress-images-and-mail/#findComment-213920 Share on other sites More sharing options...
philhxc Posted March 26, 2007 Author Share Posted March 26, 2007 bump Link to comment https://forums.phpfreaks.com/topic/44036-wordpress-images-and-mail/#findComment-215135 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.