What and how is the default email address obtained for sending emails from? I want to control and change which email account is used when my app generates an email message to send.
Use case: user has work apps and personal apps on a mobile phone, some should generate email as sent from users work email and others as sending from personal email address.
Correct me if Iām wrong, but isnāt the email component specifying only the ātoā field? The āfromā field depends on whatever email youāre using for your Email app on the device.
1 Like
You are correct, you can āinputā the āmailtoā address.
Ok so specific to my iPhone, lets use the (3) email addresses below:
cisco@gmail.com
cisco@icloud.com
cisco@work.com
on my phone I have the iOS default Mail app connected to icloud & work emails and work email is the default
I have my gmail email connected with gmail app
so appears that in all cases any emails from my apps will generate a draft email using the default email address on the native iOS Mail app (my work.com email address)
I can test this by changing the default email address to my icloud email address and see if that changes the address that the draft email is generated with.
so then it appears you cannot control or change the āemail fromā address within Glide itself.
The email component is for the user to send an email, not for you to send an email. For that, please use the send email action.
1 Like
Got it. So as the user of the app when I click the button a email is generated for me to send, as the user, as the user how can I choose which email is used as the send from email account?
1 Like
Thatās exactly it, Cisco!
1 Like
Thank you @Pablo_books
Sorry for the poorly formulated question. My question should have been more clearly asked this way:
Question: How do you change the default send from email address using the Glide email component?
Answer: You canāt.
Reason: The send from email address is controlled by the email client on the device. Glide can not change the email clients default email address. Glide simply creates an email link that launches the devices default email client, which populates the send from email address based on default email address.
Alternate Solution: Send emails from a different address or alias - Gmail Help
3 Likes