[Plugin] Send a Mail (Using Mandrill) [DEPRECATED]

Post your completed addons to share with the community

Post » Tue Oct 07, 2014 10:00 pm

Ooh sorry, I did'n mentionned that ^^
I don't know why but mandrill take up to 5 minutes to beable to read the state of a mail, so you have to wait up to 5 min.
Under, only a 500 error message come up, but don't take care of those messages, just wait more than 5 min (for me take between 8 & 10 min)

Sorry to forgot that ^^'
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 246
Reputation: 5,670

Post » Wed Oct 08, 2014 3:36 am

Does that mean I have to wait 5 min. for a reaction when I use the condition?
Last edited by TheRealDannyyy on Wed Oct 08, 2014 7:43 pm, edited 1 time in total.
ImageImageImage
B
61
S
22
G
78
Posts: 646
Reputation: 44,755

Post » Wed Oct 08, 2014 6:01 pm

Yes.
I don't know why, I probably will ask mandrill but at this time, code is a bit messy..
First, I will rewrite code properly and after ask Mandrill.

Hope you follow me ;)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 246
Reputation: 5,670

Post » Wed Oct 08, 2014 7:44 pm

Sure I will :D
ImageImageImage
B
61
S
22
G
78
Posts: 646
Reputation: 44,755

Post » Fri Oct 10, 2014 5:15 am

Hi @armaldio Thank you so much for your work on this plugin!

I was wondering if capturing a screenshot of the canvas and attaching that is a possibility? I've poked around with Joe's Canvas/base64/screenshot to image plugin but as a relatively new C2 user i'm having trouble working out how to just extract the base64 and use this in the attachment field. Open to any suggestions!

Thanks again!
B
10
S
1
Posts: 12
Reputation: 427

Post » Sat Oct 11, 2014 6:20 pm

Hello @carlywight,

I see what you're problem ^^'
Probably a setting in my code I will change
Trying differents things and edit my post, stay connected ;)

EDIT :

Yay !

Solution found !
No need to redownload plugin (no changes to code)

Do exactly same like that :

Image

In summarry : You just avec to put in base64 field : tokenat(canvassnapshot, 1, ",")
Why ?

Because canvas snapshot retun string in format : "data:image/png;base64,xxxxxxxxxxx"
So parse snapshot uri string with "tokenat" and return result with index 1 and "," as separator : it return only base64 string and you can use it !
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 246
Reputation: 5,670

Post » Sun Oct 12, 2014 10:57 pm

You, @armaldio, are a legend. :)
Thank you so much!

Another question for you; does the browser window need to stay open for long enough to upload the attachment too? I'm working on reducing the size, but the canvas screenshots i'm getting on my desktop computer are 3.6mb, and i've noticed if I close the preview window without giving it a reasonable amount of time, the email never sends. Does this sound right to you? It makes sense.
B
10
S
1
Posts: 12
Reputation: 427

Post » Mon Oct 13, 2014 4:48 pm

I've never asked the question to myself, that's a very good question ^^.
Hinestly, I don't know if ther's a workaround :/ because I think the app must run until the message is queued.
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 246
Reputation: 5,670

Post » Tue Oct 14, 2014 8:15 am

No problems. :) Thanks again for all your help!
B
10
S
1
Posts: 12
Reputation: 427

Post » Mon Oct 20, 2014 10:19 pm

How is it going, any news about the plugin?

P.s. I made a new Icon to fit more to C2's original Icons,
please tell me what you think about it! ;)
You do not have the required permissions to view the files attached to this post.
ImageImageImage
B
61
S
22
G
78
Posts: 646
Reputation: 44,755

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 5 guests