Email address for SugarCRM account owner in free trial accounts

Hi,

I'm using a free trial account for integrating SugarCRM with the product.

In our product, we show the email address of the connected account in a few places in the UI. In case of SugarCRM trial account, it doesn't have an email address. I checked using the api and the value of emails is empty.

I just need to know if this is just a case with trial accounts since we do enter our email addresses when signing up. If there is a possibility of email addresses being empty for SugarCRM account owners, I will have to handle it separately.

Thanks!

Parents Reply
  • Sorry if I wasn't clear...

    I have signed up for a 7 day free trial of SugarCRM and using it for development purposes. I am currently using the trial user account 'Jim Brennan'. When I used the 

    /rest/v11/me

    endpoint to get details about the user, I'm getting all the details but the email of the user is empty. I checked the details on the profile tab of my trial instance and there's no email there too.

    My question is that - aren't the users always supposed to have an email since they sign up with one?

    In our website, we show the email address of the integrated account in many places, and I assumed that it will never be empty since the user signs up with an account.

    So, I need to know if original SugarCRM accounts will always have an email associated with their account.

Children
  • Thank you for making it clear.

    The endpoint /rest/v11/me definitely returns the email. You just need to setup an e-mail address in the user profile.

    Once it is a trial instance you can edit some data without big dea.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • Yes, I understand that we can update it. But is there are chance that the user can not have an email address associated with the profile? The email address you have shown is the one you signed up with, right? Is there a chance that you can remove it so there is no email associated with your account?

    As I said, we show the email address of the integrated account in many places in our website UI, to show the user which account he has integrated. All other websites have an email address associated with the user, which cannot be changed. But while using SugarCRM, the trial account didn't have any email address by default. I wanted to know if original SugarCRM accounts can be made without any email address associated with them.

  • It is pretty much improbable, once the email address defined at the user profile is used to send assignment notifications to user and other messages as well.

    What you can do is extend the CurrentUserApi in order to modify the return of endpoint "me" so it no more returns the user email address.

    We frequently customize such endpoint in order to add new data or modify existing ones to be returned.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • Sorry I don't get the last part...

    The endpoint is returning the email address we sign up with in SugarCRM right? So shouldn't it be impossible for it to be empty?

  • You can remove the email attribute from return of endpoint "me" by extending the CurrentUserApi (clients/base/api/CurrentUserApi.php). You CAN NOT remove the e-mail address from user profile.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • I don't want to remove it. I need the email address for all users who integrate their SugarCRM with our website. It's just that for the trial user accounts, there is no email address.

    I want to know why the trial accounts don't have any email address associated with them, by default.

    This is the response for a trial account. Email is empty. Why is it so? Shouldn't it have the default email address using which the account was created?