ok,
just found i can test emails with the mail utility - doh!
anyway - still doesnt work....
i realised we now dont need to create a magnplia template so i created a
static html with the following in it:
<html>
<head>
</head>
<body>
You have received an activation request from user :
<b>${this.userName}</b><br /><br />
Click on View Content to see a preview of document/page subscribed:<br />
Click on bellow to Proceed or Reject the publication of the document/page
subscribed and send the generated email.<br /><br />
<table border="0">
<tr>
<td><a href="${this.previewLink}">View Content</a></td>
<td><a
href="mailto:${this.mailFrom}?subject=test:activation:reject
${this.serverName} [workflowId:${this.workflowId}]&body=You're about to
reject the workflow.">Reject</a></td>
<td><a
href="mailto:${this.mailFrom}?subject=test:activation:proceed
${this.serverName} [workflowId:${this.workflowId}]&body=You're about to
proceed the workflow.">Proceed</a></td>
</tr>
</table>
<br />
else, if you are connected, click on the following link to open your
Inbox:<br />
<a href="${this.pathLink}">Inbox</a>
</body>
</html>
the URI of the page is:
http://localhost:8080/author/docroot/simonsweb/mails/simonsMail.html for
the URI of the static html page
now, if i change the types i get different messages:
type = magnolia := Could not send email:Error on line 13: The reference
to entity "body" must end with the ';' delimiter.
type = freemarker := Could not send email:Template
http://localhost:8080/author/docroot/simonsweb/mails/simonsMail.html not
found.
type = velocity := This is the url:null
all of these dont make sense to me.... one can see the template but seems
to think ; is needed, one cannot see the template and one sees a blank
URL....
which type do i need to use... this is an area that desperately needs some
documentation...
HELPPPPP,,,, lol (before i lose all my hair :))
Liam Tipler
Designer
Simons Group
"John Mettraux" <[email protected]>
Sent by: <[email protected]>
10/12/2007 10:55
Please respond to
<[email protected]>
To
<[email protected]>
cc
Subject
Re: [magnolia-user] workflow emails not emailing,,,,
On Dec 10, 2007 7:48 PM, LIAM_TIPLER <[email protected]> wrote:
> yes, the workflow item still appears in the inbox..everything appears to
> work fine apart from the emails never arrive :(
I don't know if I'm using the same version of Magnolia as you,
nevertheless, I just had a look at MailCommand.java (trunk) and it's
quite verbose,
http://svn.magnolia.info/view/magnolia/trunk/magnolia-module-mail/src/main/java/info/magnolia/cms/mail/commands/?rev=13503
There should be messages about its activity in the magnolia log, if
not, maybe try to set the log level for it at DEBUG and run your
workflow again.
John
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_____________________________________________________________________
Simons Construction - Building Magazine Contractor of the Year 2007 - For more
information go to www.building.co.uk
View our latest Team Builder here - http://www.simonsgroup.com/teambuilder.pdf
View our latest news release here - http://www.simonsgroup.com/news.pdf
_____________________________________________________________________
Simons Developments - 2007 Property Company of the Year in the North East &
Yorkshire
Click here to read the full article.
http://www.estatesgazetteawards.co.uk/index.shtml
_____________________________________________________________________
Simons Group Limited, including Simons Construction, Simons Design and Simons
Developments, Registered Office 991 Doddington Road, Lincoln, LN6 3AA. Tel:
0808 2023 991, Fax: 0845 0721 800. registered number 2147887, registered in
England and Wales.
The information contained in this e-mail message and any files transmitted with
it is confidential and may be legally privileged. It is intended only for the
addressee and others authorised to receive it. If you are not the intended
recipient or the person responsible for delivering the message to the intended
recipient you are advised that you have received the e-mail in error and that
any disclosure, copying, distribution or action taken in reliance on the
contents of the e-mail and its attachments is strictly prohibited and may be
unlawful. Please advise the sender immediately if you are not the intended
recipient.
This message has been checked for all known viruses through the MessageLabs
Virus Scanning Service.
Web site http://www.simonsgroup.com
_____________________________________________________________________
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------