native.showPopup "mail" problem

so... The email has been sent but the images don't show up.

Here's my code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local optionEMAILCC =
{
   to = { "douglas_b_h@hotmail.com", "bi_toller@hotmail.com" },
   cc = { "contato@universopositivo.com.br" },
   subject = "My High Score",
   isBodyHtml = true,
   body = "<html><body>I scored over <b>9000</b>!!! Can you do better?</body></html>",
   attachment =
   {
      { baseDir=system.ResourceDirectory, filename="Screenshot.png", type="image" },
      { baseDir=system.ResourceDirectory, filename="MyLogo.png", type="image" },
   },
}
 
local useEMAILCC = function()
        native.showPopup( "mail", optionEMAILCC )
end
 
useEMAILCC()

I did an example project of this and we (help from others in the community) discovered that on IOS we had to use .jpg, the .png wouldn't send.

My Example Project

Hope that helps!

Croisened

views:2082 update:2012/1/11 9:01:14
corona forums © 2003-2011