Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need doc clarifications on the send method parameters #225

Open
dgoldenberg-audiomack opened this issue Feb 16, 2023 · 0 comments
Open

Need doc clarifications on the send method parameters #225

dgoldenberg-audiomack opened this issue Feb 16, 2023 · 0 comments

Comments

@dgoldenberg-audiomack
Copy link

dgoldenberg-audiomack commented Feb 16, 2023

Could someone provide some insight on the below pls?

(Looking at the project doc here)

  • use_sandbox (bool) – Flag must be set to use sandbox domain instead of verified sending domain. Limited to a lifetime of 50 transmissions with this domain. - I'm not clear on the usage of this flag. We just want to send some emails on behalf of something like "[email protected]". Can we just set this flag to False? When might we want to set it to True?
  • Attachments. So this is a list of dictionaries. Does this support the s3 protocol so as to be able to pass in AWS S3 based filepaths? If not, should we just download the files locally, base64-encode them, and attach the dicts?
  • For the below sample for attachment handling:
dict(
    type='application/pdf',
    name='document.pdf',
    filename='/full/path/to/document.pdf'
)

Are all the 3 parts of this mandatory? Do we need to supply the MIME type? the filename? The filename is easy to supply; mostly wondering if the MIME type is mandatory.

  • Campaign. Is there any benefit to supplying this value? Is this the campaign name from the config?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant