1

1

I want to create a publicly-accessible page in FogBugz which allows a community user to add to a case as if they had emailed into FogBugz. I need my plugin to create a new bugevent of the email variety with the user's email address in the From. This doesn't seem to be possible.

In the other direction, can a plugin send an email from a case, as you can with the XML API (cmd=email)?


Related to this post.

flag

2 Answers

1

Alas, not really. The plugin interface provides access to a lot of the objects that make up FogBugz (like CBug), but doesn't necessarily expose much of the code.

link|flag
0

Plugins can't send email from a case, but as of FogBugz 8, they can now send a separate email via the new CPluginApi.Mail.SendTextEmail() method.

link|flag
In the case of using the CPluginApi method, does it actually send an email or is it directly created in the database? And does this mean that the BugEvent entry will be created as if it came from the user's email address? – Roman Sep 10 2010 at 8:00
Sorry, I may have mis-read your question. The CPluginApi.Mail.SendTextEmail method only sends an email. It is not associated with a case in FogBugz in any way. – db Sep 10 2010 at 13:55

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.