Hello,
I'm wondering if anyone has integrated SugarCRM with AmazonSES.
I am about 90% done with an SES module and instructions to integrate it with SugarCRM. Would anyone be interested in the custom module?
Best,
mprototype
Hello,
I'm wondering if anyone has integrated SugarCRM with AmazonSES.
I am about 90% done with an SES module and instructions to integrate it with SugarCRM. Would anyone be interested in the custom module?
Best,
mprototype
Hi,
I would definitely be interested in your module.
I'm having some trouble getting sendmail to work with my SMTP relay.
Would you be able to post what you've got so far?
Thx.
Yes, I desperately need a Amazon SES module or at least explanation for how to connect my AmazonSES account to SugarCRM 6.2. Can someone send my way? I'm at ryan@scripted.com.
Thanks!
EDIT: -> Amazon SES now supports SMTP http://docs.amazonwebservices.com/se...edentials.html noo need to hack nothing
Got it working just now, I will release the code any time soon!
but in the meantime as you need it working I will give you a hint.
Download http://vimmaniac.com/?page_id=140#comment-17
overwrite php mailer class + php smtp class. (in the include folder)
edit the SugarPHPMailer.php and add the code below in the setMailer function and setMailerforSystem before the last else.
Do the same thing in the sendEmailTest function for the Email.php file.Code:@@{ + if($mailserver_url == 'amazonses') + { + $mail->IsAmazonSES(); + $mail->AddAmazonSESKey($GLOBALS['sugar_config']['amazonses_appid'], $GLOBALS['sugar_config']['amazonses_key']); + } @@ else $this->Mailer = "sendmail";
Get in the admin and set in the url field, "amazonses" . Test it, it should work.
Tested in the 6.1.6 version, within the email module, in the admin and as a campaign.
Remember to add :
['sugar_config']['amazonses_appid'],
['sugar_config']['amazonses_key']
in the config_override with your own keys or it will fail.
Thats pretty much it, the phpmailer version has al the logic, thanks to this guys it was just add a little hack. Maybe it could be an option in regular sugarcrm. This is not very very tested, i hope in the following weeks I put a patch against 6.2 maybe it get through.
cheers enjoy and let me know if it fails. AGPL compliant![]()
Last edited by mrbarletta; 2011-12-15 at 02:09 PM. Reason: world changes
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks