You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2018. It is now read-only.
Should track the status of sending a particular email so we know which ones succeeded and which ones failed. Should include ForeignKey to the email whose status the given EmailStatus "object" is tracking.
The text was updated successfully, but these errors were encountered:
typeEmailStatusstruct {
Email*Email// Not sure which is betterEmailIdstring// Not sure which is betterStatusSentStatus// This helps reduce type errors and will remind us to use pre-defined constants...
}
typeSentStatusstring// This is called a "type alias"const (
QUEUEDSentStatus="queued"SENDINGSentStatus="sending"SUCCESSSentStatus="success"FAILEDSentStatus="failed"
)
Another idea:
typeSentStatusuint// Another type alias, this time with the `int` typeconst (
QUEUEDSentStatus=iotaSENDINGSUCCESSFAILED
)
Should track the status of sending a particular email so we know which ones succeeded and which ones failed. Should include ForeignKey to the email whose status the given EmailStatus "object" is tracking.
The text was updated successfully, but these errors were encountered: