Skip to content

seanpetiya/EmmaDotNet-Remote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmmaDotNet-Remote

A .NET wrapper providing legacy support for the deprecated MyEmma Remote Signup API.

Summary

This library provides basic functionality to maintain existing forms, code, etc. that are dependant on the deprecated MyEmma Remote Signup API. Utility methods and helper classes can be found in the IDMI.Core library.

Basic Usage

A RemoteSignup object requires a User Name, Password, Account ID, and Group ID. In the example below, these values are stored in the Web.config and accessed through a helper class.

Dim myRemoteSignupRequest As New IDMI.Emma.Remote.Business.RemoteSignup()
Dim myResponseCode As Integer = 0

With myRemoteSignupRequest
	Dim myConfig As New IDMI.Core.Business.ConfigObject()
	
	.Uri = myConfig("MyEmma_Uri")
	.UserName = myConfig("MyEmma_UserName")
	.Password = myConfig("MyEmma_Password")
	.AccountId = myConfig("MyEmma_AccountId")
	.GroupId = myConfig("MyEmma_GroupId")

	.MemberEmail = "test@example.org"
	.MemberFirstName = "John"
	.MemberLastName = "Doe"

	myRemoteSignupRequest.Send()
End With

About

A .NET wrapper written in VB.NET that provides legacy support for the deprecated MyEmma Remote Signup API.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Visual Basic .NET 91.7%
  • Classic ASP 7.0%
  • CSS 1.3%