THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/01/2007 at 14:01, xxxxxxxx wrote:
Cinema 4D Version: 8.2-10.0
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
Would it be possible to use the HyperLinkCustomGui to set up an email to be sent to the developer (me)? Any other way if not? It would need to be completely set up - email address, subject, either have a file attachment or the file as text message content, and then sent all with a button click.
Thank you very much,
On 05/01/2007 at 04:01, xxxxxxxx wrote:
Since 9.6 it should work like this (pseudocode, haven´t tried it! so check) :
SendMail("Subject", "[email protected]", "[email protected]", NULL, FilenameOfAttachements(NULLterminated),"Body", SENDMAIL_SENDDIRECTLY);
However I doubt you can use a HyperLinkfield. It will instantly call your browser when you click on it. Maybe you can catch the message in the Message function and then do your own operations? I don´t know honestly.
Is that what you wanted? Happy new year Rob!
On 05/01/2007 at 07:19, xxxxxxxx wrote:
Ah, thank you, Samir!
That counts out doing it in 8.2, 8.5, and 9.1 then I take it. I'd rather not get into trying to add-in and use other APIs to do this.
On 05/01/2007 at 11:34, xxxxxxxx wrote:
So far, really bad. Crashes every time - I've sent the BugReport to Maxon as additional assistance. Email addresses below have been changed to protect the innocent (me!). I've tried with/without attachments and with/without SENDMAIL_SENDDIRECTLY. Here's the code:
// Can email be sent?
// Does the IPPLog.txt file exist?
// Does the IPPLog.txt file contain anything?
if (bfile->GetLength() < 300)
// Let user add text to email message body
emdialog.Open(-1,-1, 400, 320);
if (!emdialog.GetResult()) return;
attach = &log;_Filename;
attach = NULL;
String toEmail = "[email protected]";
String bccEmail = "[email protected]";
// Send email with IPPLog.txt as attachment to me for examination
if (SendMail(String("interPoser Pro Report Log"), &toEmail;, NULL, &bccEmail;, attach, emdialog.GetUserMsg(), SENDMAIL_SENDDIRECTLY))