BCC via PHP for MMS not working

BCC via PHP for MMS not working SearchSearch
Author Message
Fernando ML Alves
New member
Username: Fernando7

Post Number: 3
Registered: 07-2010
Posted on Thursday, August 12, 2010 - 12:58 pm:   

Hi,

I'm sending MMSs via PHP but I've noticed that the MMSBCC field is not working.

I've configured my message in PHP like this:

$mmsMessage = $this->MmsAddField($mmsMessage, "MMSBCC", "true");

In the debug logs I still see the message being sent with the <To> tag only:

<Recipients>
<To>
<Number>927382555</Number>
<Number>931019666</Number>
<Number>916706777</Number>
</To>
</Recipients>

I've tried sending from the NowSMS Web Interface but I still receive the MMS with the 'To: ' field with all 3 receipt numbers. And the BCC tag doesn't appear in the gateway log as well.

In terms of HTTP protocol this is being sent:

-----------------------------7da1b12b2e0d3c
Content-Disposition: form-data; name="MMSBCC"

Yes

Is this a bug? What should I do in my PHP call to fix this?

Regards,
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2416
Registered: 08-2008
Posted on Thursday, August 12, 2010 - 06:54 pm:   

Hi Fernando,

I can confirm this parameter is not working properly if a message is routed externally to an MM4 or MM7 connection.

An update will be required to fix this.

I will post a follow-up note when this update is available.

As a possible work-around, if you want all messages sent via an MM7 connection to be sent as BCC, there is a configuration parameter that can be added to the VASPOUT\routename\VASP.INI file. Under the [VASP] header, add ForceBCC=Yes

--
Des
NowSMS Support
Fernando ML Alves
New member
Username: Fernando7

Post Number: 4
Registered: 07-2010
Posted on Friday, August 13, 2010 - 09:05 am:   

The work-around fixed my problem.

Thanks