Not able to send email using Mail_2 program?

Ask general questions here.
Santhosha
Posts: 7
Joined: Mon Jun 29, 2015 8:57 am

Not able to send email using Mail_2 program?

Post by Santhosha » Tue Dec 01, 2015 12:34 pm

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
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Not able to send email using Mail_2 program?

Post by Support Team » Mon Dec 07, 2015 3:16 pm

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