View previous topic :: View next topic |
Author |
Message |
evanson
Joined: 25 Jan 2019 Posts: 39
|
Posted: Fri Feb 22, 2019 11:45 am Post subject: sms message from |
|
|
Is there a way to change the 'number/contact' the message comes from?
If not, is there a way to put something in the message based on the carrier/recipient? I've tried using the template but it doesn't seem to send what I specify (comment1).
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Fri Feb 22, 2019 11:50 am Post subject: |
|
|
It depends on the method of delivery and gateways you're using, some allow for a custom sender's name and some will override what you pass with a value of their own.
If you look in the Carriers section of PG Admin, what protocol(s) are your carriers configured to use? |
|
Back to top |
|
evanson
Joined: 25 Jan 2019 Posts: 39
|
Posted: Fri Feb 22, 2019 12:03 pm Post subject: |
|
|
The one I'm trying to customize is SMTP.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Fri Feb 22, 2019 12:05 pm Post subject: |
|
|
The sender's name in SMTP is usually controlled by the relay server you use. Some relay servers allow you to use a variable sender's name and others require your sender's name to match the authentication account being used. It's also possible that you have PageGate configured to function as a mail server in its own right instead of relaying traffic, in which case you could use a custom sender's name.
To determine what you have configured, go in to the Advanced sub-section of your SMTP carriers. In the bottom right hand corner, is 'Deliver directly...' or 'Deliver through...' selected? |
|
Back to top |
|
evanson
Joined: 25 Jan 2019 Posts: 39
|
Posted: Fri Feb 22, 2019 1:26 pm Post subject: |
|
|
Deliver through
|
|
Back to top |
|
evanson
Joined: 25 Jan 2019 Posts: 39
|
Posted: Fri Feb 22, 2019 1:26 pm Post subject: |
|
|
and then smtp.verizon.net
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Fri Feb 22, 2019 1:29 pm Post subject: |
|
|
If there is a value in the username field, generally speaking, the SMTP server you're relaying through will require your sender's name value to match it.
In that case, to change the sender's name, you would want to have a new authentication account created on the SMTP server, then update the Username and Password fields in your SMTP carriers to reflect the new account.
You would also want to use the From = variable in the 'Settings' section of the Carriers - YourSMTPCarriers - Template in PG Admin to declare that sender's name as default. For example:
From = YourSenderName |
|
Back to top |
|
evanson
Joined: 25 Jan 2019 Posts: 39
|
Posted: Fri Feb 22, 2019 1:39 pm Post subject: |
|
|
The username and password are blank.
I have put From = SMTPLivCo and it doesn't send it.
We are sending to SMS Text messages not e-mail. Maybe that's the difference.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Fri Feb 22, 2019 1:43 pm Post subject: |
|
|
The SMS gateway you're using is Email-to-SMS.
If the username and password are blank but you have a relay server specified, that indicates the relay server allows unauthenticated relay. At that point, the sender's name can be variable.
If you would, please email the pgdialX.log (pgdial1.log, pgdial2.log, pgdial3.log, etc) files from the server's log directory to support at notepage dot com. To determine that directory, open PG Admin and go to Program - Settings; its location should be displayed on the right hand side. I'd like to have a look at the SMTP negotiation with your new template declaration. |
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4387
|
Posted: Fri Feb 22, 2019 2:15 pm Post subject: |
|
|
Thanks for sending the logs over. Based on what I can see in them, you're delivering your messages through Verizon's EMAG system. The sender's name is the API code assigned to the API you're delivering messages through. Based on what I can see in the logs, it looks like you're using the SNPP API, so you would want to check the API code assigned to it in the EMAG portal.
When you log in to the EMAG portal, you'll want to go to the Connections - APIs section on the left. Then select your SNPP API and you'll see the fixed or inter-carrier code assigned to it, which represents the number your messages are sent from. |
|
Back to top |
|
|