Gammu - TextDecoded converted it self - yii2

I just created an SMS gateway feature in my web that powered by Yii2 using gammu.
Based on the tutorial of sending SMS through our web with gammu using query, the message that we created stored in Outbox table. Then, when the message is successfuly sent, it would be stored in SentItems table.
Here's my problem. Why the TextDecoded in Outbox table show me some text like "Send SMS through web" (that text is exactly the same text when I create an SMS in my web form), but TextDecoded in SentItems table show me a symbol ? Not the exact same text in Outbox.TextDecoded
These are the pictures :
Message from web that saved to Outbox : TextDecoded in this picture is labeled by "Isi Pesan"
TextDecoded in Sentitems : At the first line of the data

Related

PowerApps Canvas App File upload question with AI Model

I created an invoice AI app that extracts invoice information and it displays the fields in the application.
The next step that I perform is to email the user to let them know that the invoice was analyzed and copy the file in the email. I created the flow and was able to test it and perform the functions. The issue that I am running into is trying to code the button to take the file and place it into the flow. The auto says Button.run({file: record}) but I am getting errors.

DocuSign API creates duplicate entries for the document

enter image description here
We have used DocuSign Rest API and at times we are seeing duplicate entries against one receiver in DocuSign account under "Sent Items". Though the receiver is receiving the email once only. See attached image for reference. What does the "waiting for others" status indicates and under which scenarios this status will be generated?
waiting for others means that one or more of the signing recipients and/or certified copy recipients has not yet completed their action on the envelope.
The multiple rows in the Sent list means that you have sent the envelope more than once, you'll need to check your code to see how that is happening. I suggest that you have your code make a log entry every time your code calls the DocuSign eSignature API (and for create envelope calls, record the envelope id.)
If you can't figure out how your app is sending multiple envelopes when you expect that only one is being sent, use the API Request Logger to see what is being sent to DocuSign from your app.
Re: only one email was sent even though there were two or more envelopes:
Using the DocuSign web app, examine the envelopes that are in flight to check their recipients. It could be that the email address is incorrect in some of the cases.
Check your email tool. The two email notifications for two different DocuSign envelopes will be very similar and are collapsed by some email agents.

How to send bulk mails using Mandrill in Drupal 7

I have an email to be sent to nearly 30,000 users. For this I have installed and configured the Mandrill module for Drupal 7, but I don't know how to start sending emails to my list. Do I need to install any other module?
From Mandrill's help:
Lists cannot be uploaded or stored in Mandrill. Recipient or subscriber lists should be managed in your own database or application. Then, when you're reading to send an email, recipient information is passed to Mandrill in your API request or SMTP message.
Note: If you're looking for a service that provides list-management services as well as the ability to create and track bulk emails, check out MailChimp.
Import your list of 30k emails to a table in your database.
Make another table called sent_emails, where it stores a string for sql, a text column for the html in the email, another text column for a text email, a string column for a subject, the date and time you want the emails to be sent
Cron up a bash script that runs every minute and checks for records in the sent_emails table and if so sends the email to the specified list of user ids that gets generated from the sql
Yes as #datashaman said, email lists cannot be imported into Mandrill or any other SMTP email gateways like SendGrid, Amazon SES, MailGun, etc.
But you can use 3rd party email clients or email marketing applications, like Sendy to easily integrate Mandrill. You can check Sendy installation services like, easysendy, which can get all these done for you.
Using Sendy you can manage the list of email subscribers and send emails through the SMTP gateways of your choice.

Confirmation email sent to user in vb.net to mysql database

Just want to ask if there is some way to add automatic email confirmation to vb.net website.
I want that user create new account in the website and the website sent the confirmation link to them. Only if the confirmation email is clicked the user will be able to fully register.
I know that there are ways with build in login page from vb. But I'm using my own login. Mainly becouse the database where user connect is MySql.
something like this: http://www.asp.net/web-forms/videos/authentication/implement-the-registration-verification-pattern
Any idea where to look? most of the google search links are with php or to Microsoft Sql.
Thanks in advance for any good link or solution.
Petr
basically, when an user registers the account, you generate a confirmation # (I will use GUID), then send the user an email with the confirmation link. the confirmation link is the url of the confirmation page with the confirmation # as parameter, i.e. www.mysite.com/confirmation.aspx?code={guid} . you save the confirmation code in the database with the user account table (it could be in the same table or a separated table). the user has to click the confirmation url to confirm. when confirm, you just need to check whether the code is the same as the Guid in the database.
Basically, the process is the same and it has no much relation with mySQL or SQL Server.
here is an example, although it is C#, the same process, just a little bit different syntax in code:
http://www.webreference.com/programming/asp_net/registration-confirmation-system/index.html
also
asp.net confirmation mail send link that contains a unique identifier

How does Facebook detect when a user receives a new message & make changes to the html?

I'm new to AJAX and PHP but I know that PHP is a server-side scripting language and so there will not be any changes to the html unless the user refreshes the page or the user submits a form. Therefore I suppose the change of the number in <span id="mercurymessagesCountValue"> when a facebook user receives a message
is AJAX-related.
And this is my guess:
The change of the number is triggered when it is detected that another user [the sender] has inserted a new row into a particular table and each column contains different data: the time, the message, the sender id and the receiver id.
So here's my question... In this case, how is the changes in the database detected and how does it trigger a javscript [or something else] to make changes to the html? Or if I'm wrong... can I know how Facebook does that? Thanks very much!!
If I got the question right, you should check out about pull and push models. Facebook works under the push model: facebook server knows when new message is received and it pushes the notification to the client (website open in the browser).
Let me clear a few things up for you here,
AJAX is simply a type of request being sent by the browser to go grab data from another page dynamically. In facebook's case, they actually have a special type of connection to the client computer to keep the page 'alive'. This way, they can push dynamic updates to the client without the need to constantly poll/refresh a single page on the server (would make large amounts of load).
So, let's just pretend, they are constantly refreshing the page on the server to determine how many notifications are unread -
Client -> Ajax Call -> Server PHP Page -> Ajax Return -> Client
So, in order, the client sends a request for the page to be generated by the server.
The server's php page will then count the number of 'unread' notification rows in the database for that particular user. It will then output the number of unread rows in plain html.
The client then recieves this plain HTML from the Ajax call, and simply updates the DOM with the new number of unread notifications
PLEASE NOTE: This is not how facebook works, but it's a good example of how to set up your own basic notification system if you are new to dynamic coding.
My guess is that requests are sent frequently from the client via Javascript, to the host, asking "has anything new happend since last time i asked?". The answer is responded by the server, with PHP, if it is yes, the new data is delivered in the respond and JavaScript updates the DOM (HTML) with the new data, like showing the red flag or something.
javascript:location.load(t);
(t=time interval)
i guess ,, refreshing a page in every several seconds will pop up the notifications recieved..!!