Ask a Question related to PHP Development, Design and Development.
-
ACIC #1
Please help - ERRORS with HtmlMimeMail
I am sending a simple html email using php, with the following code to send
it:
//HTML Email
$html = "$msgtext";
// replace variables with user data
$mail = new htmlMimeMail();
$mail->setHtml($html);
$mail->setReturnPath(SENDER_EMAIL);
$mail->setFrom('"ACIC" [email]blah@blahblah.com[/email]');
$mail->setSubject("$subject");
$mail->setHeader("X-Mailer", "PHP");
$mail->setHeader("X-Priority", SEND_PRIORITY);
$mail->buildMessage();
$result = $mail->send(array("\"$FirstName $LastName\"
<$Email>"));
But when I send people messages, they reply to me saying my emails look like
this, with many = signs in them:
Hi Laura,
I see that you h= aven't had a chance to look at our agreement yet. Please
click here to t= ake a look at it.
If you like what you read then please do fax it back to us at your earli=
est convenience and we will guide you through the next stage of the process.
We have trie= d to make the agreement itself as straightforward as possible,
but if there are any points that need clarification, please just ask me.
Lastly, could you please let me know if you still intend to immigrate to=
Canada or if you've changed your mind?
Any ideas?
Thanks,
Ryan
Canadian Programmer
ACIC Guest
-
htmlMimeMail - Mail subjects with german umlauts
Hi, we use htmlMimeMail-2.5.1 (http://www.phpguru.org/mime.mail.html) to send mails. If I send an e-mail with the subject "Das Öl - Öl Öl - Ö... -
CF4.5 Errors in logs and Unix 111 errors!
:confused; Hi All, I have been getting a lot of Unix 111 errors and there are various errors in my coldfusion logs. I can't find any resources... -
supress errors at the page level? Undefined index errors.
I'm creating a simple reply form, and if a form item isn't answered I get an error: "Notice: Undefined index: rb_amntspent in... -
Class htmlMimeMail does not work with php 4.3.3
Hallo The Class htmlMimeMail (from de.comp.lang.php.* FAQ) does not work with PHP 4.3.3, before with PHP 4.2.3 it went well. If I send a... -
Pop-up window errors:"translators not loaded due to errors"
Thanks for getting back to me Murray. In answer to your questions: 0. What is your version of Dreamweaver? And when you right click on the DW... -
Janwillem Borleffs #2
Re: Please help - ERRORS with HtmlMimeMail
ACIC wrote:
The class appears to send the message with quoted printable encoding, but> But when I send people messages, they reply to me saying my emails
> look like this, with many = signs in them:
>
forgets to put the header in.
I don't know how this class works, but you could try the following:
* Add a setHeader("Content-Transfer-Encoding", "quoted-printable") call
* Change the setHTML call to:
$mail->setHtml("Content-Transfer-Encoding:
quoted-printable\r\n\r\n$html");
* Wait for Manuel Lemos to advertise his class ;-)
JW
Janwillem Borleffs Guest
-
sorx00 #3
Please help - ERRORS with HtmlMimeMail
Better way:
setHTMLEncoding("quoted-printable")
But "quoted_printable" is default value. If you are sending non-ASCII characters, it's worth a try:
setHTMLEncoding("8bit");
setHTMLCharset("_your_charset_");sorx00 Guest



Reply With Quote

