Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: How to stop a particular user sending email

  1. #1
    satimis is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    70

    Default How to stop a particular user sending email

    Hi folks,


    SugarCRM 5.0


    Can I stop a particular user sending email temporarily. He/she is allowed to login. If YES, please advise how to do it.

    TIA


    B.R.
    satimis

  2. #2
    nirmit is offline Senior Member
    Join Date
    Aug 2008
    Posts
    42

    Default Re: How to stop a particular user sending email

    You can create a role using the Admin > Role Management and then assign the user to that role. I guess it would help.
    -------------------------------------------------------
    Nirmit Bothra
    http://twitter.com/nirmit

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: How to stop a particular user sending email

    Hi satimis.

    Do you want to unable a specific user to send email? Is this right?
    If not can you explain your needs again?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    satimis is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    70

    Default Re: How to stop a particular user sending email

    Quote Originally Posted by andopes
    Hi satimis.

    Do you want to unable a specific user to send email? Is this right?
    If not can you explain your needs again?
    Hi andopes,


    Yes, that is correct. I need to stop a particular user sending mails temporarily. He/she can login. He/she can read mails, if possible.

    Thanks


    B.R.
    satimis

  5. #5
    satimis is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    70

    Default Re: How to stop a particular user sending email

    Quote Originally Posted by nirmit
    You can create a role using the Admin > Role Management and then assign the user to that role. I guess it would help.
    Hi nirmit,


    Thanks for your advice.


    I create this particular user on Role Management (tried both User's name and login name). Edit "Email Access" as Disable. Still he can send mails.


    I'm still trying


    B.R.
    satimis

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: How to stop a particular user sending email

    Hi satimis.

    There are several ways to send email in Sugar.
    Do you want to block all of them?

    I believe it is impossible without core file hacking and it would be pretty difficult.

    If you know exactly which emails you want to block perhaps I can help you.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  7. #7
    satimis is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    70

    Default Re: How to stop a particular user sending email

    Quote Originally Posted by andopes
    Hi satimis.

    There are several ways to send email in Sugar.
    Do you want to block all of them?

    I believe it is impossible without core file hacking and it would be pretty difficult.

    If you know exactly which emails you want to block perhaps I can help you.
    Hi andopes,


    This is only a test. I create an user account for my friend to experience SugarCRM allowing him to login. I haven't created an email account for him to send mail on the mail server, postfix. In principle he can't send mails. Surprisingly on SugarCRM he can send mails on recipient "do-not-reply@domain.com".


    I have been searching around and can't stop it. Please help. TIA


    B.R.
    satimis

  8. #8
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: How to stop a particular user sending email

    There is a class SugarPHPMailer which is the real machine to send emails

    Hack it adding the code:

    PHP Code:
    global $current_user;

    if(
    $current_user->id == 'id_of_friend') {
    send

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  9. #9
    nirmit is offline Senior Member
    Join Date
    Aug 2008
    Posts
    42

    Default Re: How to stop a particular user sending email

    Quote Originally Posted by satimis
    Hi nirmit,


    Thanks for your advice.


    I create this particular user on Role Management (tried both User's name and login name). Edit "Email Access" as Disable. Still he can send mails.


    I'm still trying


    B.R.
    satimis
    Hey Satimis,

    You can try and disable the entire module for that user. I justr tried that and it successfully removed the tab and all capabilities for sending an email.

    Hope that helps.

    Thanks,
    -------------------------------------------------------
    Nirmit Bothra
    http://twitter.com/nirmit

  10. #10
    satimis is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    70

    Default Re: How to stop a particular user sending email

    Quote Originally Posted by nirmit
    Hey Satimis,

    You can try and disable the entire module for that user. I justr tried that and it successfully removed the tab and all capabilities for sending an email.

    Hope that helps.

    Thanks,
    Hi nirmit,


    Thanks for your advice.


    Whether you meant on the "Layout Options" removing all tabs under "Disply Tabs" to "Admin Remove Tabs" box OR to "Hide Tabs.? Can I remove them back later? Thanks.


    One thing I can't resolve. Why this newly created user can send mail even w/o an email account on the Mail Server. Why he can use the Admin email account "do-not-reply@domain.com" to send mails?


    B.R.
    satimis

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 2007-08-11, 06:07 AM
  2. Step-by-step guide to setting up email and sending out campaigns
    By sumanchaudhuri in forum General Discussion
    Replies: 4
    Last Post: 2006-02-16, 01:20 PM
  3. Email Campaign- Sending Queue Issues?
    By sansbury in forum General Discussion
    Replies: 1
    Last Post: 2005-05-02, 09:25 PM
  4. Cannot Login
    By Dillon in forum Help
    Replies: 16
    Last Post: 2004-10-13, 02:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •