sending email

This commit is contained in:
Eugene Korbut 2009-02-06 01:55:24 +10:00
parent 8cf006e125
commit 80dee7f4e7
12 changed files with 339 additions and 35 deletions

View file

@ -150,7 +150,7 @@ class WebmailController < ApplicationController
# delete temporary files (attachments)
@mail.delete_attachments()
return render("webmail/webmail/mailsent")
render :action => "webmail/mailsent"
elsif operation == _('Add')
@mail = create_mail
attachment = CDF::Attachment.new(@mail)