Calidus System Email Configuration
Warning: This is an incomplete guide.
The following is a technical guide on setting up emails through (e.g.) SendGrid for each of the products
PORTAL
Already works with SendGrid smtp.sendgrid.net through client's own API key
Warning: Add details of how this is set up here
EPOD
Already works with SendGrid
Has been changed to support SendGrid in 2023
Warning: Add details of how this is set up here
- AutoImport
- AutoExport
- Admin System
CTMS
The system can be configured with the following parameters:
SMTP_PRIMARY | Primary Mail Server | SYSTEM | The IP address or base URL of the email server e.g. 192.168.0.1, smtp.sendgrid.net |
SMTP_SENDER | Email Sender address | SYSTEM | The email address of the sender, usually something like [email protected] |
SMTP_SECONDARY | Secondary Mail Server | SYSTEM | |
SMTP_TRIP_SENDER | Trip Email Sender address | SYSTEM | The email address of the sender, usually something like [email protected] |
SMTP_ORDER_SENDER | Order Email Sender address | SYSTEM | The email address of the sender, usually something like [email protected] |
SMTP_ORD_CONF_SENDER | Ord Conf Email Sender Address | COST_CENTRE | The email address of the sender, usually something like [email protected] |
SMTP_USER | STMP Username | SYSTEM | The username to connect to the email servers above. This may be the email address, or may be a different account user. |
SMTP_PASSWORD | SMTP password | SYSTEM | The password or passkey. |
SMTP_PORT_NUMBER | SMTP Port Number | SYSTEM | For SMTP, usually 25, for secure 587. |
WMS
Warning: Unknown as yet.
CALIDUS-E
Warning: Unknown as yet.
Response so far: On Unix we use mailx and in the browser we use SMTP server
Mailx seems to support the required flags as per example below:
mailx -v -s "$EMAIL_SUBJECT" \ -S smtp-use-starttls \ -S ssl-verify=ignore \ -S smtp-auth=login \ -S smtp=smtp://smtp.sendgrid.org:587 \ -S from="$FROM_EMAIL_ADDRESS($FRIENDLY_NAME)" \ -S smtp-auth-user=$FROM_EMAIL_ADDRESS \ -S smtp-auth-password=$EMAIL_ACCOUNT_PASSWORD \ -S ssl-verify=ignore \ -S nss-config-dir=~/.mozilla/firefox/xxxxxxxx.default/ \ $TO_EMAIL_ADDRESS
Awaiting confirmation as to whether this is actually used in CALE
Feasibility
In all cases, we would look to the customer to provide and fund the SendGrid purchases.
However, in the case where we are obliged to send emails on their behalf, then this seems to be one of the cheapest alternatives.
Assuming 50K emails per month:
- https://www.authsmtp.com/ $385pcy or $32pcm
- https://sendgrid.com/en-us/pricing $19.95 pcm
We would have to front the cost in this case.