How To disable POP Message Sent Indication

Added by atep 4 months ago

Helo,

How to disable pop Message sent?

i try set sms__1.StatusReportRequest = MessageStatusReportRequest.NoSmsReportRequest
but the pop message always show up.

Thanks

popsent.jpg (107.3 kB)


Replies (2)

RE: How To disable POP Message Sent Indication - Added by admin 4 months ago

Hi,

Sms report is for the delivery report from SMSC. The pop up message is from the application once message is sent out, so you should change the code if you don't want to see it.

Thanks
Regards
admin

RE: How To disable POP Message Sent Indication - Added by atep 4 months ago

Dear,
Oh my God... you are right.
i am disable all routine for POP Message BOX, to looking for event for these POP Message.

The last, i checked this Sub Routine, and disable for Failed Sent reporting.

Private Sub OnMessageFailed(sender As Object, e As MessageErrorEventArgs)
Dim sms As Sms = DirectCast(e.Message, Sms)
' MessageBox.Show("Failed to send message to " & sms.DestinationAddress, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.[Error])
' MessageBox.Show(e.[Error].Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.[Error])
End Sub

Actually i think in this event, for reported failed sent message only. But this subrutine evidently reforted for "Success" sent message too, right?

Btw. Thats its enaugh for me.

Thanks Very Much

(1-2/2)