Login   Register  
PHP Classes
elePHPant
Icontem

wrong multiple recipients spliting email_message.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      MIME E-mail message sending  >  All threads  >  wrong multiple recipients spliting email_message.php  >  (Un) Subscribe thread alerts  
Subject:wrong multiple recipients spliting email_message.php
Summary:email_message.php
Messages:7
Author:Vincent H
Date:2011-12-05 08:53:59
Update:2011-12-07 14:49:48
 

  1. wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Vincent H
Vincent H
2011-12-05 08:53:59
I think the email verification have a problem becaus with I want to send to 2 recipients that have an address like this :

vorname1.name@fr.company.com,service_fr_securite@fr.company.com

my smtp server saw the mail with this recipient :

"vorname1.name@fr.company.com,service_fr_securite"@fr.company.com

the domain name whith 2 "." is the problem no ?

  2. Re: wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2011-12-05 09:12:24 - In reply to message 1 from Vincent H
It depends on how you are setting the recipient headers.

I think you are not add a space between addresses, but it may be something else.

  3. Re: wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Vincent H
Vincent H
2011-12-05 10:35:30 - In reply to message 2 from Manuel Lemos
I try with and whitout spaces between the email addresses, but the result was the same.

  4. Re: wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2011-12-06 00:26:46 - In reply to message 3 from Vincent H
Yes, but you did not tell how you are setting those address. Can you show the code that you use to set the addresses?

  5. Re: wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Vincent H
Vincent H
2011-12-07 07:54:13 - In reply to message 4 from Manuel Lemos

I just use the exemple and modify it

$dest="vorname1.name@fr.company.com,service_fr_securite@fr.company.com"

$email_message->SetEncodedEmailHeader("To",$dest,$dest);

  6. Re: wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2011-12-07 08:32:01 - In reply to message 5 from Vincent H
That function is meant to set headers for only one address.

In your case you can just use SetHeader() instead as you are not passing the name of the recipients.

  7. Re: wrong multiple recipients spliting email_message.php   Reply   Report abuse  
Picture of Vincent H
Vincent H
2011-12-07 14:49:48 - In reply to message 6 from Manuel Lemos
it works, thank you.