We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25979
    • 178 Posts
    Hi,

    I am preparing to convert my site to modx, but i need and can’t find any information about, a way to send e-mail notifications to my site’s users if they haven’t fulfilled their profiles yet.

    I thought about using jot, but as it can handle my corespondence with people it doesn’t offer automatic and scheduled emailing under certains conditions, in this place, lack of profile informations.

    I would be grateful for any info or solution smiley (would be the best smiley). Maybe any idea...

    Sorry for my english, it’s 2 a.m. and i haven’t slept for a long time.

    Thx in advance,

    salik

    ps. i am using WebLoginPE
      //Why use windows since there is a door?//
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You could use some of the event APIs such as OnWebSaveUser (when the user’s info is first saved) or OnViewUserProfile (every time the profile is viewed) in conjunction with the SendMessageToUser() function to send the mail if the fields are not filled in.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 25979
        • 178 Posts
        So i can think there is not a way to do that automatically, i mean the system is notyfying user, even if he or she doesn’t log in to site?

        salik
          //Why use windows since there is a door?//
          • 34017
          • 898 Posts
          You would probably have to create a cron-job of some sort. Or run a check everytime someone logs in.
            Chuck the Trukk
            ProWebscape.com :: Nashville-WebDesign.com
            - - - - - - - -
            What are TV's? Here's some info below.
            http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
            http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
            • 25979
            • 178 Posts
            yeah, i figured it out wink Now the question is how ? wink

            I believe I could use some php and call it with /usr/local/bin/php.
            I think it should check wheter every piece of profile has a value. If it would be empty, it would send an email... or sth like that.
              //Why use windows since there is a door?//