Results 1 to 4 of 4

Thread: SugarCRM - AmazonSES Integration

  1. #1
    mprototype is offline Member
    Join Date
    Feb 2011
    Posts
    6

    Default SugarCRM - AmazonSES Integration

    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

  2. #2
    bf2000 is offline Junior Member
    Join Date
    Feb 2011
    Posts
    1

    Default Re: SugarCRM - AmazonSES Integration

    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.

  3. #3
    rbucks is offline Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default Re: SugarCRM - AmazonSES Integration

    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!

  4. #4
    mrbarletta is offline Junior Member
    Join Date
    Jun 2009
    Posts
    6

    Default Re: SugarCRM - AmazonSES Integration

    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.
    Code:
    @@{
    +		if($mailserver_url == 'amazonses')
    +		{
    +    		$mail->IsAmazonSES();
        		
    +    		$mail->AddAmazonSESKey($GLOBALS['sugar_config']['amazonses_appid'], $GLOBALS['sugar_config']['amazonses_key']);
    +		} 
    @@		else 
    			$this->Mailer = "sendmail";
    Do the same thing in the sendEmailTest function for the Email.php file.

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SugarCRM integration
    By sugar7478 in forum Developer Help
    Replies: 3
    Last Post: 2008-12-16, 06:06 AM
  2. Sugarcrm-ooo-Integration
    By flynnn2412 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-08-27, 03:51 PM
  3. Replies: 2
    Last Post: 2006-06-23, 06:59 PM
  4. SugarCRM integration
    By abd in forum General Discussion
    Replies: 0
    Last Post: 2006-03-20, 02:11 PM
  5. SugarCRM Integration
    By RJBClarityCM in forum Developer Help
    Replies: 0
    Last Post: 2005-08-12, 05:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •