Need javascript to sent email
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 03:26 AM
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 03:33 AM
Refer these links. They'll help you.
http://forums.alfresco.com/forum/developer-discussions/other-apis/javascript-send-mails-only-site-ma...
https://forums.alfresco.com/forum/developer-discussions/web-scripts/sending-email-action-09072010-16...
And as you mentioned that you want this script to be executed when you create a new site.
For doing that, create a rule under Company Home/Sites folder which will execute your script upon site creation.
http://forums.alfresco.com/forum/developer-discussions/other-apis/javascript-send-mails-only-site-ma...
https://forums.alfresco.com/forum/developer-discussions/web-scripts/sending-email-action-09072010-16...
And as you mentioned that you want this script to be executed when you create a new site.
For doing that, create a rule under Company Home/Sites folder which will execute your script upon site creation.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 05:58 AM
Sorry I am not familiar with the java script from the example given in the link it will send email to members of site. I need to send email whenever a new site is created which dont have any members
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 06:08 AM
Refer the second link - https://forums.alfresco.com/forum/developer-discussions/web-scripts/sending-email-action-09072010-16...
In this link, it's mentioned that you can send email to a person whose email is explicitly specified by you.
Write the javascript code in a js file. Put it under Data Dictionary/Scripts.
And ss I mentioned previously, create a rule under Company Home/Sites folder which will execute your script when you create a new site.
In this link, it's mentioned that you can send email to a person whose email is explicitly specified by you.
Write the javascript code in a js file. Put it under Data Dictionary/Scripts.
And ss I mentioned previously, create a rule under Company Home/Sites folder which will execute your script when you create a new site.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 07:16 AM
I am getting this error
02240109 Failed to execute script 'workspace://SpacesStore/5026e853-005d-426d-87ef-0b45b5899766': syntax error (workspace://SpacesStore/5026e853-005d-426d-87ef-0b45b5899766#13)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2014 08:13 AM
Same error. Resolved here.
https://forums.alfresco.com/forum/developer-discussions/web-scripts/sending-email-action-09072010-16...
https://forums.alfresco.com/forum/developer-discussions/web-scripts/sending-email-action-09072010-16...
