[Solved] How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2476
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

[Solved] How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by Jaymer »

UPDATE: TL;DR; Was a bug

… like a guest user who comes in via logonGuest.aw, and has no data saved anywhere.
Fills out a form for info. And gives his email address.

I can’t use SEND notif TO <intelligentBO> cause there is no record for the user.
A notification MUST be sent to an Intelligent BO and have the TO part. So SEND is out.

I want to use a document so it’s a nice HTML email.
Also, I need to use “USING outgoingEmailAccount”
I’m missing (and forgetting) something simple.

IF there is no way, maybe I need to create a junk BO, just to create a record with this persons email, send it, then delete it?
Seems odd to do this tho.
Last edited by Jaymer on Thu Feb 17, 2022 5:22 am, edited 2 times in total.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
customaware
Posts: 2415
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by customaware »

Assign the email address (or multiple email addresses seperated by a ; ) to the BCC and send.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Jaymer
Posts: 2476
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by Jaymer »

does this still use a "SEND Notif to BO" syntax?

Is this a dummy BO I create a new record in just to send this email?
If the main email (the "To") just a dummy mailbox that going to receive the email also, in addition to my guest in the BCC ?
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
BobK
Posts: 546
Joined: Thu Jan 31, 2008 2:14 pm
Location: Cincinnati, Ohio, USA

Re: How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by BobK »

Jaymer wrote: Tue Feb 15, 2022 4:37 pm does this still use a "SEND Notif to BO" syntax?
Not quite

CREATE notif WITH notif.CC=<your guest's email address*> // I use CC but I guess BCC would work too
SEND notif

No BO needed and the email is sent to the addresses in CC and/or BCC

* I assume the form your guest fills out is the form for a BO, so you do have their email address?
Bob
Jaymer
Posts: 2476
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by Jaymer »

Bob
I was trying this initially, but Aware will not save my Process if I remove the TO portion.

This will save:
Screen Shot 2022-02-16 at 3.44.54 PM.png
Screen Shot 2022-02-16 at 3.44.54 PM.png (111.8 KiB) Viewed 3778 times
but remove the marked "TO" portion and it will NOT SAVE. The "*" stays in the eclipse tab at the top.
gotta be a bug.
I can remove the "USING" portion, but then thats not the same as I can't specify an outgoing email server.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
customaware
Posts: 2415
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by customaware »

CREATE IncidentNotifictionEmail WITH IncidentNotifictionEmail.Subject=AdhocIncidentEmail.Subject,IncidentNotifictionEmail.Message=AdhocIncidentEmail.Message,IncidentNotifictionEmail.FromAddress='[email protected]',IncidentNotifictionEmail.Attachment=AdhocIncidentEmail.IncidentReport, IncidentNotifictionEmail.BCC=AdhocIncidentEmail.NonUsers
SEND IncidentNotifictionEmail

Where AdhocIncidentEmail.NonUsers is a ; delimited string of email addresses
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Jaymer
Posts: 2476
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: How do I send an email to a random address (ie. Not someone who is an Intelligent BO)?

Post by Jaymer »

My issue was acknowledged as a bug by Vlad and fixed in next update.
thx
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Post Reply