473,405 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

What's wrong with my MIME Header? Visi is rejecting emails.

2
I have replaced our domain with example.com and the client's email with email@example.com - Any thoughts on how our MIME os malformed would be greatly appreciated.

Thank you.


Remote host said: 554 Failed: Malformed MIME header

--- Below this line is a copy of the message.

Expand|Select|Wrap|Line Numbers
  1. Return-Path: <noreply@example.com>
  2. Received: (qmail 17193 invoked from network); 14 Sep 2010 15:08:01 -0000
  3. Received: from unknown (HELO ip-208-109-176-109.ip.example.net) (208.109.187.198)
  4.   by p3plsmtpout002-02.prod.phx3.example.net (208.109.78.52) with ESMTP; 14 Sep 2010 
  5. 15:08:01 -0000
  6. Received: (qmail 3477 invoked by uid 48); 14 Sep 2010 07:53:31 -0700
  7. Date: 14 Sep 2010 07:53:31 -0700
  8. Message-ID: <20100914149365.3475.qmail@ip-208-109-190-210.ip.example.net>
  9. To: email@example.com
  10. Subject: example.com Results are Ready
  11. X-PHP-Script: example.com/index.php for 68.78.192.188
  12. MIME-Version: 1.0
  13. Content-type: text/html; charset=utf-8
  14. From: noreply@example.com
  15. Reply-To: noreply@example.com
  16. X-Mailer: PHP/5.2.9
Sep 14 '10 #1
3 3735
Atli
5,058 Expert 4TB
Hey.

I can't see anything wrong with what you posted. Could you post the code that is generating the email?
Sep 14 '10 #2
Canabeez
126 100+
Try adding the server IP to the txt value of the sending domain, to confirm this server as an authorized sender for this domain.
Sep 14 '10 #3
Big T
2
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=utf-8\r\n";
$headers .= "From: noreply@example.com\r\n" .
"Reply-To: noreply@example.com\r\n" .
"Return-Path: noreply@example.com\r\n" .
"X-Mailer: PHP/" . phpversion() . "\r\n" ;
mail($applicants[$i]['email'], $subject, $EMAIL, $headers);


BTW Atli - Saw you were from Iceland - Sigur Ros is awesome, Bjork is kind of cool too.
Sep 15 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mike Henley | last post by:
I first came across rebol a while ago; it seemed interesting but then i was put off by its proprietary nature, although the core of the language is a free download. Recently however, i can't...
2
by: johnny | last post by:
hi all, I have a script to send newsletters both in html and text version, all works fine in email clients but unfortunately not in yahoo mail: it shows nothing in the body of the message,...
4
by: cody | last post by:
Yesterday i was in the bookshop to buy a book. just for interest i leafed through some C++ books. It is unbelievable but the C++ book-authors are as stupid as they was 10 years ago. They still...
3
by: Razvan | last post by:
Hi! What is wrong with the following code ? // Test1.cpp : Defines the entry point for the console application. //
3
by: anon | last post by:
<?php if(! isset($_POST)) { header("Location: login.php"); } mysql_connect(DELETED) mysql_select_db(DELETED) $username = $_POST;
10
by: Sune | last post by:
Hi, previously I used Eclipse CDT for compiling my files just to get started with C and leave C++ behind. Now it's time to get a little more serious so I've moved my files to a new workplace and...
0
by: Michael Rogers | last post by:
I wrote a simple file transfer, but it doesn't work! When I try to open the transferred file it says: "The end of file cropped" or "the file header cropped". what's wrong with this code? IS there a...
9
by: Pyenos | last post by:
import cPickle, shelve could someone tell me what things are wrong with my code? class progress: PROGRESS_TABLE_ACTIONS= DEFAULT_PROGRESS_DATA_FILE="progress_data" PROGRESS_OUTCOMES=
30
by: Bill Reid | last post by:
#define MAX_VALUES 64 typedef struct { unsigned value_1; double value_2; double value_3; double value_4; } VALUES; typedef struct {
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.