我们有一个Html Builder,允许您为电子邮件创建响应式HTML.我们正在使用第三方引擎批量发送电子邮件.问题是,当电子邮件在Gmail收件箱正在运行结束,它显示一些图像(不是全部)的下载图标,而相对于没有下载图标的图像时,其生成的html是一样的.

为什么gmail会在电子邮件中添加图像的下载图标.看起来像处理图像像附件.任何信息,修复或建议表示赞赏?这是我们发送的生成的html-
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" class="bodyContainer">
<tr>
<td align="center" valign="top" >
<table border="0" cellspacing="0" cellpadding="0" class="emailContainer">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="text-align: center; padding: 0px;">
<img src="http://img.xyz.net/gallery/212aeedd-2672-4960-a81c-8b78635c8fd9/firsthalf.jpg" width="598" border="0" style="max-width: 600px;" hspace="0" vspace="0">
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="text-align: center; padding: 0px;">
<img src="http://img.xyz.net/gallery/212aeedd-2672-4960-a81c-8b78635c8fd9/secondhalf.jpg" width="300" border="0"style="max-width: 300px;" hspace="0" vspace="0"> …Run Code Online (Sandbox Code Playgroud) 我在我的应用程序中实现了一个网格视图,我希望使用java代码获取连续行之间的水平间距和网格视图中连续列之间的垂直间距.
可能吗?是否有任何直接的方法来获得间距?
我有一个app.exe应用程序要求输入输入路径字符串,一旦我输入,它会询问输出路径字符串...现在当我输入时,app.exe执行一些操作
我需要从我的窗体应用程序传递这些路径我看到很多这样的问题但是无法实现我需要的东西,因为我从未使用过程和Stream Reader或Writer任何帮助请...示例将被感谢...谢谢您..
string input = @"C:\Documents and Settings\pankaj\Desktop\My File\greetingsfreinds.ppt";
string output = @"C:\Documents and Settings\pankaj\Desktop\test";
Process process = new Process();
process.StartInfo.FileName = @"C:\Program Files\Wondershare\MyApp\app.exe";
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = false;
process.StartInfo.RedirectStandardInput = true;
process.Start();
process.WaitForExit(3000);
process.Close();
Run Code Online (Sandbox Code Playgroud)
好吧,我试过,但它给了一些例外 StandardOut没有重定向或过程还没有开始 ......我的代码是
string input = @"C:\Documents and Settings\pankaj\Desktop\My File\greetingsfreinds.ppt";
string output = @"C:\Documents and Settings\pankaj\Desktop\test";
Process process = new Process();
process.StartInfo.FileName = @"C:\Program Files\Wondershare\MyApp\app.exe";
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = false;
process.StartInfo.RedirectStandardInput = true;
process.StartInfo.Arguments = input + ";" …Run Code Online (Sandbox Code Playgroud) 我的控制器中有一个Web方法...
[WebMethod]
public IList<ThemeSelectList> GetThemesForSelectedCategory(string themeCategoryId)
{
IList<ThemeSelectList> themeSelectList = new List<ThemeSelectList>();
int emailLayoutThemeCategoryId = Convert.ToInt32(themeCategoryId);
using (var trans = session.BeginTransaction())
{
EmailThemeBusinessLogic emailThemeBusinessLogic = new EmailThemeBusinessLogic(session, null);
themeSelectList = emailThemeBusinessLogic.GetThemes(emailLayoutThemeCategoryId);
trans.Commit();
}
return themeSelectList;
}
Run Code Online (Sandbox Code Playgroud)
我试图从java脚本函数调用,即
function GetThemesForSelectedCategory(event)
{
event = event || window.event || e.srcElement;
event.preventDefault();
var selectedThemeCategoryId = $('#ddlThemeCategory option:selected').val();
var ThemeContainerDiv = $("#ThemeContenerDiv");
ThemeContainerDiv.html('<p><img src="../../../../Images/loading.gif"></p>');
$.ajax
({
type: "POST",
url: "GetThemesForSelectedCategory",
data: JSON.stringify({ "themeCategoryId": selectedThemeCategoryId }),
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
// …Run Code Online (Sandbox Code Playgroud) android ×1
asp.net-mvc ×1
c# ×1
email ×1
email-client ×1
gmail ×1
gridview ×1
html-email ×1
inputstream ×1
jquery ×1
nhibernate ×1
process ×1
spacing ×1
winforms ×1