Who has set up email sending via SMTP in Ninox? Please share your experience!
Hi there!
I’ve encountered an issue while trying to set up email sending via an SMTP server in Ninox (e.g., Gmail, Outlook, or others). Since Ninox doesn’t have a built-in function for SMTP, I’m looking for ways to make this work.
Has anyone here successfully set up email sending through an SMTP server in Ninox? If so, could you please share your experience? What tools or solutions did you use? Maybe external APIs, webhooks, or other methods?
I’d appreciate any advice, examples, or links to helpful resources. Thank you in advance!
7 replies
-
Ninox, cloud version only, does have email capabilities it is called sendEmail().
-
You can use the mail-module in a make.com scenario.
-
Don't use the Sendmail() function. More and more Email providers block the receiving of this mails without any notice. Use make.com and everything is fine.
-
We have been using Sendmail() function for last few years and have no issues with it. Used many times times every day and works fine for all customer updates / order acks and weekly database wide emails to all clients. Not encountered any deliverability issues right up to our monthly limit.
It's important to send mails responsibly and not to suddenly mass email - as lists must be warmed up and to keep all email contact up to date. Done correctly and without using spam content you will be fine. We have a very large database of over 800k records and our deliverability is currently running at some 94%
-
Yes that is just one of one of the options we use. So will post some of what we do below fro this type of option. You should be able to follow this okay for multiple emails sent in bulk.
We used 2 primary buttons (emails ON and emails OFF) to set a condition to set all contacts as available to send letters or not in addition to a GDPR setting.
Screenshot 2024-12-13 at 18.05.09
script in Emails OFF
do as server
for a in select Contacts where EmailSend = 1 do
a.(EmailSend := 0)
end
endscript in Emails On button
do as server
for a in select Contacts where GDPR_Status = 1 and Email > " " and EmailSend != 1 do
a.(EmailSend := 1)
end
endMain email ALL button
let xEMSubject := Mailer;
let a := (select Contacts where GDPR_Status = 1 and EmailSend); checks fully for GDPR setting as well as on off switchfor myVar in slice(a, 0, 150) do (NOTE the value 150 = send 150 emails in a batch - adjust this to suit)
let thisBody := first((select Contact_Mailing).xLetter2); (location and name of of letter template)
let xEmail := myVar.Email;
let myEmail := userEmail();
let log1 := first(select System_Settings).HTMLxLogo; (location of our company logo logo)
let log1 := replace(log1, "{UL1}", shareFile(first(select System_Settings).xLogo));
let xFirstName := myVar.FirstName;
let xFullName := myVar.FullName;
let xMailDate := myVar.today();
let xOptInDate := myVar.OptInDate;
let xOptOutDate := myVar.OptOutDate;
let myAtt := first((select Contact_Mailing).Advert4); (advertisement image selection)
thisBody := replace(thisBody, "{FirstName}", xFirstName);
thisBody := replace(raw(thisBody), "{xLogo}", log1);
let i := (create EmailSentLog);
i.(Email := xEmail);
i.(FullName := xFullName);
i.(MailerDate := xMailDate);
i.(OptInDate := xOptInDate);
i.(OptOutDate := xOptOutDate);
i.(Mailer := xEMSubject);
sendEmail({
from: myEmail,
to: myVar.Email,
subject: Mailer,
text: "text",
html: thisBody,
attachments: myAtt (advert attachement)
});
myVar.(EmailSend := 0) (set emails ON to OFF)
endScreenshot 2024-12-13 at 18.22.45Screenshot 2024-12-13 at 18.23.44
-
As requested- A very stripped down DB file
Kind regards
Mel
Content aside
- Status Answered
- 12 days agoLast active
- 7Replies
- 56Views
-
5
Following