Page 1 of 1

Not able to send email using Mail_2 program?

Posted: Tue Dec 01, 2015 12:34 pm
by Santhosha
Hi Team,
I'm unable to send the email and seeing that 'Failed to get types from assembly 'Ranorex.Plugin.Office' while running the program shared in forum.

Below is the screenshot attached please.

Below are used variables:
string _to = "[email protected]";

[TestVariable("D089186D-7919-4023-8165-B68F9151C6A7")]
public string To
{
get { return _to; }
set { _to = value; }
}

string _from = "[email protected]";

[TestVariable("BDB3FC8C-1E51-448F-9049-AEF0B247DBDB")]
public string From
{
get { return _from; }
set { _from = value; }
}

string _subject = "Ranorex eMail Module Report";

[TestVariable("398FF772-C15C-4b91-954B-34CC636DEDC9")]
public string Subject
{
get { return _subject; }
set { _subject = value; }
}

string _serverHostName = "mail.paplus.co.uk";

[TestVariable("0EE4CB1E-D738-4DE8-B122-92B3CCE6F70C")]
public string ServerHostname
{
get { return _serverHostName; }
set { _serverHostName = value; }
}

string _serverPort = "25";

[TestVariable("4C6A889D-BACE-4AE1-9EEF-40EA26775574")]
public string ServerPort
{
get { return _serverPort; }
set { _serverPort = value; }
}

string _message = "Ranorex Success email configuration";

[TestVariable("D49672F4-3021-4460-96DA-2EC11AE318A8")]
public string Message
{
get { return _message; }
set { _message = value; }
}

Please, can you help where I'm going wrong so that I can use this program in my test suite to send emails

Re: Not able to send email using Mail_2 program?

Posted: Mon Dec 07, 2015 3:16 pm
by Support Team
Hello Santhosha,

Unfortunately, I'm not exactly sure to which example you are referring, since it seems the sample uses the deprecated Ranorex.Office.dll from Ranorex version 2.3.3. Maybe you could provide further information.

Also, may I ask which version of Ranorex you are currently using?

Sincerely,
Robert