Using ElasticEmail.com with GoDaddy

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/6/2011 9:40:09 PM
Gravatar
Total Posts 5

Using ElasticEmail.com with GoDaddy

Hello,

I'm new to mojoPortal, and my site is hosted by GoDaddy.  I saw a recommendation to use ElasticEmail on the email documentation, and decided to give that a try.  I learned that GoDaddy, though, doesn't allow SMTP email relay.  ElasticEmail wrote me back to suggest I use their app that uses a form post to get around this.  They have sample code here:  http://elasticemail.com/api-documentation/send

Problem is, I'm not sure where to best handle something like this.  I'm able to do the coding (though I haven't looked at the source yet), but I also know that there's a good chance that someone else has alredy run into this, and there may be an easier solution that custom code.

 

Any advice (other than drop GoDaddy...) would be greatly appreciated!

Thanks,

 

Chad S

9/7/2011 6:50:00 AM
Gravatar
Total Posts 18439

Re: Using ElasticEmail.com with GoDaddy

Hi,

This would require changes in mojoPortal to do that. I'll add a wish list item for it in our project tracker but can't promise it will happen in the near term since there are many higher priorities. I guess for now if you must use GoDaddy then you will need to use what they make available for sending mail and you won't be able to use Elastic Mail if they don't allow you to relay smtp.

Best,

Joe

9/7/2011 9:44:16 AM
Gravatar
Total Posts 5

Re: Using ElasticEmail.com with GoDaddy

Thanks Joe!


I trust it's not a problem for me to take a look at it myself?  If I come up with a solution, I'll let you know.

 

Chad S.

9/7/2011 10:24:52 AM
Gravatar
Total Posts 18439

Re: Using ElasticEmail.com with GoDaddy

Hi Chad,

For your solution to be included would require it to be a very clean solution like implementing a provider model for sending mail where the default provider would use our Email class and additional providers could be plugged in so it would be open for other solutions like MailChimp not just Elastic Mail. It would require code changes in many places after the provider model was implemented so this is not going to be some small thing to tackle. You are free to try to implement the provider model and a plugin for Elastic Mail but it will not be trivial to make a solution that meets my approval and if it requires much help from me to guide you then I would just as soon do it myself on my own timeframe so I can stay focused on my own current priorities.  While having these options would be good and at some point I plan to implement them one way or another, its still a lot of work just to compensate for GoDaddy imposed limitations vs just using a host that doesn't impose such limitations.

It would also require a signed contributor agreement.

Best,

Joe

9/7/2011 10:48:52 AM
Gravatar
Total Posts 5

Re: Using ElasticEmail.com with GoDaddy

Hi Joe,

I'll kick it around a bit, and see if anything comes together that I can clean up.  I'm well versed in the Provider Pattern, and have implemented it in many different ways for various organizations.

I specialize in integration, and that's what this would be in many ways.  If I come up with something, I'll let you know, and if you can use it, great!  At the worst I learn something about how mojoPortal ticks, which can't be an awful thing. :)

9/7/2011 12:07:36 PM
Gravatar
Total Posts 18439

Re: Using ElasticEmail.com with GoDaddy

Hi Chad,

Sounds good. Some of the existing email code in Email.cs is a bit messy because at one time we had an option to use DotNetOpenMail instead of the System.Net.Mail classes. I would implement it cleaner if I were doing it today but have been reluctant to remove some of the method names and signatures because it may break custom code that others have written against it.

I will give a little guidance on what I would like this to look like. I would implement the provider model and interfaces in the mojoPortal.Web project in a new folder at /Components/Email

I posted recently that I was thinking of moving the code from the mojoPortal.Net project, but again decided that would be too risky of breaking other people's code. But if we are going to have a provider model I would implement a new cleaner set of classes in the mojoPortal.Web project. Then after its working I'd be willing to make the changes in included features to use the new provider model. We can leave the existing stuff in the mojoPortal.Net project for backward compatibility with custom features but mark them as obsolete so that new development would be encouraged to use the new approach.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.