- This topic has 4 replies, 1 voice, and was last updated 4 years, 10 months ago by .
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › EMailSender send email with attachments › is it possible that the email to send is not a constant?
is it possible that the email to send is not a constant? I need email to be dynamic, for example, promoting firebase.
Hi helaino,
sorry but I don’t understand, can you explain better with a code example.
Thanks Renzo
sorry, I checked that String is allowed to define the recipient.
But I have a problem using it, I get an error: <span class=”pl-pds”>”</span>Could not connect to mail server<span class=”pl-pds”>”</span>
Use in conjunction with a firebase library, I believe it has some incompatibility when using the two together.
Would you help me?
sorry, correct repo: https://github.com/cezar-pereira/sensorArd
Problem: Sometimes it returns an error when sending email.
Could not connect to mail server
Hi Helano,
in the repo you don’t use EmailSender library, try to use the library you can avoid a lot of problem.
Bye Renzo
More
Just like a well-organized workbench, this website uses cookies to function properly and efficiently.
🛠️ The Essentials (Necessary): Some cookies are categorized as necessary and are stored on your browser because they are critical for the basic working of the site.
📊 The Analytics (Third-party): We also use third-party cookies to help us analyze traffic and understand which projects you like the most. These are stored only if you give us the green light.
You can choose to opt-out, but keep in mind that disabling them might make the site experience a bit less "smooth".
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
