رفتن به مطلب

چطور با استفاده از تابع mail در php ایمیلی با قالب html ارسال کنم


پست های پیشنهاد شده

سلام

میخواستم اگر امکانش هست یه راهنمایی کنید چطور میتونم با استفاده از تابع mail در php ایمیل ارسال کنم به طوری که متن ایمیل به صورت کد های html باشه .

کد html هم قرارمیدم . آیا اصلا شدنیه ؟

مشکل تعریف کد زیر به عنوان متن ارسالی هست که نمیدونم چیکارش کنم .

<html xmlns="http://www.w3.org/1999/xhtml"><head>

<!-- NAME: POP-UP -->

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>*|MC:SUBJECT|*</title>

<style type="text/css">

body,#bodyTable,#bodyCell{

height:100% !important;

margin:0;

padding:0;

width:100% !important;

}

table{

border-collapse:collapse;

}

img,a img{

border:0;

outline:none;

text-decoration:none;

}

h1,h2,h3,h4,h5,h6{

margin:0;

padding:0;

}

p{

margin:1em 0;

padding:0;

}

a{

word-wrap:break-word;

}

.ReadMsgBody{

width:100%;

}

.ExternalClass{

width:100%;

}

.ExternalClass,.ExternalClass p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass div{

line-height:100%;

}

table,td{

mso-table-lspace:0pt;

mso-table-rspace:0pt;

}

#outlook a{

padding:0;

}

img{

-ms-interpolation-mode:bicubic;

}

body,table,td,p,a,li,blockquote{

-ms-text-size-adjust:100%;

-webkit-text-size-adjust:100%;

}

#bodyCell{

padding:0;

}

.mcnImage{

vertical-align:bottom;

}

.mcnTextContent img{

height:auto !important;

}

a.mcnButton{

display:block;

}

body,#bodyTable{

background-color:#F5F5F5;

}

#bodyCell{

border-top:0;

}

h1{

color:#202020 !important;

display:block;

font-family:Helvetica;

font-size:34px;

font-style:normal;

font-weight:bold;

line-height:125%;

letter-spacing:normal;

margin:0;

text-align:center;

}

h2{

color:#FFFFFF !important;

display:block;

font-family:Helvetica;

font-size:26px;

font-style:normal;

font-weight:bold;

line-height:125%;

letter-spacing:normal;

margin:0;

text-align:left;

}

h3{

color:#404040 !important;

display:block;

font-family:Helvetica;

font-size:18px;

font-style:normal;

font-weight:bold;

line-height:125%;

letter-spacing:normal;

margin:0;

text-align:left;

}

h4{

color:#606060 !important;

display:block;

font-family:Helvetica;

font-size:16px;

font-style:normal;

font-weight:bold;

line-height:125%;

letter-spacing:normal;

margin:0;

text-align:left;

}

#templatePreheader{

background-color:#EE4343;

border-top:0;

border-bottom:0;

}

#preheaderBackground{

background-color:#EE4343;

border-top:0;

border-bottom:0;

}

.preheaderContainer .mcnTextContent,.preheaderContainer .mcnTextContent p{

color:#FFFFFF;

font-family:Helvetica;

font-size:10px;

line-height:125%;

text-align:left;

}

.preheaderContainer .mcnTextContent a{

color:#FFFFFF;

font-weight:normal;

text-decoration:underline;

}

#templateHeader{

background-color:#EE4343;

border-top:0;

border-bottom:0;

}

#headerBackground{

background-color:#FFFFFF;

border-top:0;

border-bottom:0;

}

.headerContainer .mcnTextContent,.headerContainer .mcnTextContent p{

color:#202020;

font-family:Helvetica;

font-size:16px;

line-height:150%;

text-align:left;

}

.headerContainer .mcnTextContent a{

color:#EE4343;

font-weight:normal;

text-decoration:underline;

}

#templateBody{

background-color:#F5F5F5;

border-top:0;

border-bottom:0;

}

#bodyBackground{

background-color:#FFFFFF;

border-top:0;

border-bottom:0;

}

.bodyContainer .mcnTextContent,.bodyContainer .mcnTextContent p{

color:#202020;

font-family:Helvetica;

font-size:18px;

line-height:150%;

text-align:center;

}

.bodyContainer .mcnTextContent a{

color:#EE4343;

font-weight:normal;

text-decoration:underline;

}

#templateFooter{

background-color:#F5F5F5;

border-top:0;

border-bottom:0;

}

#footerBackground{

background-color:#FFFFFF;

border-top:0;

border-bottom:0;

}

.footerContainer .mcnTextContent,.footerContainer .mcnTextContent p{

color:#606060;

font-family:Helvetica;

font-size:10px;

line-height:125%;

text-align:center;

}

.footerContainer .mcnTextContent a{

color:#606060;

font-weight:normal;

text-decoration:underline;

}

@media only screen and (max-width: 480px){

body,table,td,p,a,li,blockquote{

-webkit-text-size-adjust:none !important;

}

} @media only screen and (max-width: 480px){

body{

width:100% !important;

min-width:100% !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnTextContentContainer]{

width:100% !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnBoxedTextContentContainer]{

width:100% !important;

}

} @media only screen and (max-width: 480px){

table[class=mcpreview-image-uploader]{

width:100% !important;

display:none !important;

}

} @media only screen and (max-width: 480px){

img[class=mcnImage]{

width:100% !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnImageGroupContentContainer]{

width:100% !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageGroupContent]{

padding:9px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageGroupBlockInner]{

padding-bottom:0 !important;

padding-top:0 !important;

}

} @media only screen and (max-width: 480px){

tbody[class=mcnImageGroupBlockOuter]{

padding-bottom:9px !important;

padding-top:9px !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnCaptionTopContent],table[class=mcnCaptionBottomContent]{

width:100% !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnCaptionLeftTextContentContainer],table[class=mcnCaptionRightTextContentContainer],table[class=mcnCaptionLeftImageContentContainer],table[class=mcnCaptionRightImageContentContainer],table[class=mcnImageCardLeftTextContentContainer],table[class=mcnImageCardRightTextContentContainer]{

width:100% !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageCardLeftImageContent],td[class=mcnImageCardRightImageContent]{

padding-right:18px !important;

padding-left:18px !important;

padding-bottom:0 !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageCardBottomImageContent]{

padding-bottom:9px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageCardTopImageContent]{

padding-top:18px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageCardLeftImageContent],td[class=mcnImageCardRightImageContent]{

padding-right:18px !important;

padding-left:18px !important;

padding-bottom:0 !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageCardBottomImageContent]{

padding-bottom:9px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnImageCardTopImageContent]{

padding-top:18px !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnCaptionLeftContentOuter] td[class=mcnTextContent],table[class=mcnCaptionRightContentOuter] td[class=mcnTextContent]{

padding-top:9px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnCaptionBlockInner] table[class=mcnCaptionTopContent]:last-child td[class=mcnTextContent]{

padding-top:18px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnBoxedTextContentColumn]{

padding-left:18px !important;

padding-right:18px !important;

}

} @media only screen and (max-width: 480px){

td[class=mcnTextContent]{

padding-right:18px !important;

padding-left:18px !important;

}

} @media only screen and (max-width: 480px){

img[class=flexibleImage]{

height:auto !important;

width:100% !important;

}

} @media only screen and (max-width: 480px){

table[class=templateContainer]{

max-width:600px !important;

width:100% !important;

}

} @media only screen and (max-width: 480px){

h1{

font-size:24px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

h2{

font-size:20px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

h3{

font-size:18px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

h4{

font-size:16px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

table[class=mcnBoxedTextContentContainer] td[class=mcnTextContent],td[class=mcnBoxedTextContentContainer] td[class=mcnTextContent] p{

font-size:18px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

table[id=templatePreheader]{

display:block !important;

}

} @media only screen and (max-width: 480px){

td[class=preheaderContainer] td[class=mcnTextContent],td[class=preheaderContainer] td[class=mcnTextContent] p{

font-size:14px !important;

line-height:115% !important;

}

} @media only screen and (max-width: 480px){

td[class=headerContainer] td[class=mcnTextContent],td[class=headerContainer] td[class=mcnTextContent] p{

font-size:18px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

td[class=bodyContainer] td[class=mcnTextContent],td[class=bodyContainer] td[class=mcnTextContent] p{

font-size:18px !important;

line-height:125% !important;

}

} @media only screen and (max-width: 480px){

td[class=footerContainer] td[class=mcnTextContent],td[class=footerContainer] td[class=mcnTextContent] p{

font-size:14px !important;

line-height:115% !important;

}

} @media only screen and (max-width: 480px){

td[class=footerContainer] a[class=utilityLink]{

display:block !important;

}

}</style></head>

<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="margin: 0;padding: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #F5F5F5;height: 100% !important;width: 100% !important;">

<center>

<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;margin: 0;padding: 0;background-color: #F5F5F5;height: 100% !important;width: 100% !important;">

<tbody><tr>

<td align="center" valign="top" id="bodyCell" style="padding-bottom: 40px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;margin: 0;padding: 0;border-top: 0;height: 100% !important;width: 100% !important;">

<!-- BEGIN TEMPLATE // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<!-- BEGIN PREHEADER // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templatePreheader" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #EE4343;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="preheaderBackground" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #EE4343;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td valign="top" class="preheaderContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table></td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

<!-- // END PREHEADER -->

</td>

</tr>

<tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<!-- BEGIN HEADER // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #EE4343;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="headerBackground" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFFFFF;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td valign="top" class="headerContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnImageBlockOuter">

<tr>

<td valign="top" style="padding: 9px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" class="mcnImageBlockInner">

<table align="left" width="100%" border="0" cellpadding="0" cellspacing="0" class="mcnImageContentContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td class="mcnImageContent" valign="top" style="padding-right: 9px;padding-left: 9px;padding-top: 0;padding-bottom: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<img align="left" alt="" src="http://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/logo_generitech.png" width="233" style="max-width: 233px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;" class="mcnImage">

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table></td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

<!-- // END HEADER -->

</td>

</tr>

<tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<!-- BEGIN BODY // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateBody" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #F5F5F5;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="bodyBackground" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFFFFF;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td valign="top" class="bodyContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnTextBlockOuter">

<tr>

<td valign="top" class="mcnTextBlockInner" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table align="left" border="0" cellpadding="0" cellspacing="0" width="600" class="mcnTextContentContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td valign="top" class="mcnTextContent" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #202020;font-family: Helvetica;font-size: 18px;line-height: 150%;text-align: center;">

<h1 style="margin: 0;padding: 0;display: block;font-family: Helvetica;font-size: 34px;font-style: normal;font-weight: bold;line-height: 125%;letter-spacing: normal;text-align: center;color: #202020 !important;">Generitech <em>NEXT</em>.<br>We already live in the future.<br> Shouldn't your business?</h1>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnImageBlockOuter">

<tr>

<td valign="top" style="padding: 0px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" class="mcnImageBlockInner">

<table align="left" width="100%" border="0" cellpadding="0" cellspacing="0" class="mcnImageContentContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td class="mcnImageContent" valign="top" style="padding-right: 0px;padding-left: 0px;padding-top: 0;padding-bottom: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<img align="left" alt="" src="https://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/hero_gtechnext.jpg" width="600" style="max-width: 600px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;" class="mcnImage">

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnTextBlockOuter">

<tr>

<td valign="top" class="mcnTextBlockInner" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table align="left" border="0" cellpadding="0" cellspacing="0" width="600" class="mcnTextContentContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td valign="top" class="mcnTextContent" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #202020;font-family: Helvetica;font-size: 18px;line-height: 150%;text-align: center;">

In the economies of the future, information moves at the speed of light. With Generitech NEXT, your company can move just as fast as the world of business does.

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageCardBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnImageCardBlockOuter">

<tr>

<td class="mcnImageCardBlockInner" valign="top" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" class="mcnImageCardRightContentOuter" width="100%" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td valign="top" class="mcnImageCardRightContentInner" style="padding: 0px;background-color: #EE4343;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table align="left" border="0" cellpadding="0" cellspacing="0" class="mcnImageCardRightImageContentContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td class="mcnImageCardRightImageContentE2E " valign="top" style="padding-top: 0px;padding-right: 0;padding-bottom: 0px;padding-left: 0px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<img alt="" src="https://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/gtech_centrifuge.png" width="194" style="max-width: 220px;border: 0;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;vertical-align: bottom;" class="mcnImage">

</td>

</tr>

</tbody></table>

<table class="mcnImageCardRightTextContentContainer" align="right" border="0" cellpadding="0" cellspacing="0" width="352" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td valign="top" class="mcnTextContent" style="padding-right: 18px;padding-top: 18px;padding-bottom: 18px;color: #FFFFFF;font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;text-align: left;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;font-size: 18px;line-height: 150%;">

<h2 style="margin: 0;padding: 0;display: block;font-family: Helvetica;font-size: 26px;font-style: normal;font-weight: bold;line-height: 125%;letter-spacing: normal;text-align: left;color: #FFFFFF !important;"><br>Centrifuge</h2>Take your team's efficiency to the next level.

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table></td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

<!-- // END BODY -->

</td>

</tr>

<tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<!-- BEGIN FOOTER // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateFooter" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #F5F5F5;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="footerBackground" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFFFFF;border-top: 0;border-bottom: 0;">

<tbody><tr>

<td valign="top" class="footerContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 36px 18px 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 1px;border-top-style: dotted;border-top-color: #808080;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody class="mcnDividerBlockOuter">

<tr>

<td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<tbody><tr>

<td style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">

<span></span>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody>

</table></td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

</td>

</tr>

</tbody></table>

<!-- // END FOOTER -->

</td>

</tr>

</tbody></table>

<!-- // END TEMPLATE -->

</td>

</tr>

</tbody></table>

</center>

</body></html>

لینک به ارسال

هیچ تابعی به اندازه ی این تابع اعصابم رو خورد نکرده بود الا 24 ساعته درگیرشم هر کدی میرام جواب نمیده و سورس رو ارسال میکنه حتی قالب رو از یه فایل جدا فراخوندم بازم نشد .

برای ارسال باید استایلا این لاین باشن و مطمئنا کد بالا نمیتونه استفاده بشه اگر شدنی باشه باید کد زیر بشه استفاده کرد برای قالب .

ممنون میشم اگر دوستا یه کمی کنن که چطور html رو بشه به عنوان قالب ایمیل فرستاد .

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<!-- NAME: POP-UP -->

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

<title>*|MC:SUBJECT|*</title>

</head>

<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="margin: 0;padding: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #F5F5F5;height: 100% !important;width: 100% !important">

<center>

<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;margin: 0;padding: 0;background-color: #F5F5F5;height: 100% !important;width: 100% !important"><tbody><tr><td align="center" valign="top" id="bodyCell" style="padding-bottom: 40px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;margin: 0;padding: 0;border-top: 0;height: 100% !important;width: 100% !important">

<!-- BEGIN TEMPLATE // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<!-- BEGIN PREHEADER // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templatePreheader" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #EE4343;border-top: 0;border-bottom: 0"><tbody><tr><td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="preheaderBackground" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #EE4343;border-top: 0;border-bottom: 0"><tbody><tr><td valign="top" class="preheaderContainer" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table><!-- // END PREHEADER --></td>

</tr><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<!-- BEGIN HEADER // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #EE4343;border-top: 0;border-bottom: 0"><tbody><tr><td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="headerBackground" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFF;border-top: 0;border-bottom: 0"><tbody><tr><td valign="top" class="headerContainer" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnImageBlockOuter"><tr><td valign="top" style="padding: 9px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%" class="mcnImageBlockInner">

<table align="left" width="100%" border="0" cellpadding="0" cellspacing="0" class="mcnImageContentContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td class="mcnImageContent" valign="top" style="padding-right: 9px;padding-left: 9px;padding-top: 0;padding-bottom: 0;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<img align="left" alt="" src="http://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/logo_generitech.png" width="233" style="max-width: 233px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic" class="mcnImage"/></td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table><!-- // END HEADER --></td>

</tr><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<!-- BEGIN BODY // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateBody" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #F5F5F5;border-top: 0;border-bottom: 0"><tbody><tr><td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="bodyBackground" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFF;border-top: 0;border-bottom: 0"><tbody><tr><td valign="top" class="bodyContainer" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnTextBlockOuter"><tr><td valign="top" class="mcnTextBlockInner" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table align="left" border="0" cellpadding="0" cellspacing="0" width="600" class="mcnTextContentContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td valign="top" class="mcnTextContent" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #202020;font-family: Helvetica;font-size: 18px;line-height: 150%;text-align: center">

<h1 style="margin: 0;padding: 0;display: block;font-family: Helvetica;font-size: 34px;font-style: normal;font-weight: bold;line-height: 125%;letter-spacing: normal;text-align: center;color: #202020 !important">Generitech <em>NEXT</em>.<br/>We already live in the future.<br/> Shouldn't your business?</h1>

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnImageBlockOuter"><tr><td valign="top" style="padding: 0;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%" class="mcnImageBlockInner">

<table align="left" width="100%" border="0" cellpadding="0" cellspacing="0" class="mcnImageContentContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td class="mcnImageContent" valign="top" style="padding-right: 0;padding-left: 0;padding-top: 0;padding-bottom: 0;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<img align="left" alt="" src="https://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/hero_gtechnext.jpg" width="600" style="max-width: 600px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic" class="mcnImage"/></td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnTextBlockOuter"><tr><td valign="top" class="mcnTextBlockInner" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table align="left" border="0" cellpadding="0" cellspacing="0" width="600" class="mcnTextContentContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td valign="top" class="mcnTextContent" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #202020;font-family: Helvetica;font-size: 18px;line-height: 150%;text-align: center">

In the economies of the future, information moves at the speed of light. With Generitech NEXT, your company can move just as fast as the world of business does.

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageCardBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnImageCardBlockOuter"><tr><td class="mcnImageCardBlockInner" valign="top" style="padding-top: 9px;padding-right: 18px;padding-bottom: 9px;padding-left: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" class="mcnImageCardRightContentOuter" width="100%" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td valign="top" class="mcnImageCardRightContentInner" style="padding: 0;background-color: #EE4343;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table align="left" border="0" cellpadding="0" cellspacing="0" class="mcnImageCardRightImageContentContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td class="mcnImageCardRightImageContentE2E " valign="top" style="padding-top: 0;padding-right: 0;padding-bottom: 0;padding-left: 0;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<img alt="" src="https://gallery.mailchimp.com/27aac8a65e64c994c4416d6b8/images/gtech_centrifuge.png" width="194" style="max-width: 220px;border: 0;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;vertical-align: bottom" class="mcnImage"/></td>

</tr></tbody></table><table class="mcnImageCardRightTextContentContainer" align="right" border="0" cellpadding="0" cellspacing="0" width="352" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td valign="top" class="mcnTextContent" style="padding-right: 18px;padding-top: 18px;padding-bottom: 18px;color: #FFF;font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;text-align: left;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;font-size: 18px;line-height: 150%">

<h2 style="margin: 0;padding: 0;display: block;font-family: Helvetica;font-size: 26px;font-style: normal;font-weight: bold;line-height: 125%;letter-spacing: normal;text-align: left;color: #FFF !important"><br/>Centrifuge</h2>Take your team's efficiency to the next level.

</td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table><!-- // END BODY --></td>

</tr><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<!-- BEGIN FOOTER // -->

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateFooter" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #F5F5F5;border-top: 0;border-bottom: 0"><tbody><tr><td align="center" valign="top" style="padding-right: 10px;padding-left: 10px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="600" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td align="center" valign="top" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table border="0" cellpadding="0" cellspacing="0" width="100%" id="footerBackground" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #FFF;border-top: 0;border-bottom: 0"><tbody><tr><td valign="top" class="footerContainer" style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 36px 18px 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 1px;border-top-style: dotted;border-top-color: #808080;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnDividerBlock" style="border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody class="mcnDividerBlockOuter"><tr><td class="mcnDividerBlockInner" style="padding: 18px;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<table class="mcnDividerContent" border="0" cellpadding="0" cellspacing="0" width="100%" style="border-top-width: 0;border-collapse: collapse;mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%"><tbody><tr><td style="mso-table-lspace: 0;mso-table-rspace: 0;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%">

<span/>

</td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table></td>

</tr></tbody></table><!-- // END FOOTER --></td>

</tr></tbody></table><!-- // END TEMPLATE --></td>

</tr></tbody></table></center>

</body>

</html>

لینک به ارسال

اول از همه اینکه می دونید چنین کدی برای ارسال شدن چه فشاری به سرویستون وارد می کنه؟

کارتون از لحاظ اصولی و قواعد برنامه نویسی از ریشه اشتباهه

برای ازسال فرم از طریق سرور php محدودیت کارکتر دارید برای ارسال کارکترهای بالا باید از pop3 استفاده کنید

لینک به ارسال

تابع mail فشاری به سرور وارد نمی کنه. من قبلاً حتی اتچ های سنگین هم با این تابع ارسال کردم.

فرم ارسال ایمل رو باید خدتان طراحی کنید.


$to = 'test@example.com';

$subject = 'test....';

$headers = "From: " . strip_tags($_POST['req-email']) . "\r\n";
$headers .= "Reply-To: ". strip_tags($_POST['req-email']) . "\r\n";
$headers .= "CC: susan@example.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";

$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";


$message = '';
$message .= '
[b]Hello, World![/b]
';
$message .= '';


mail($to, $subject, $message, $headers);

لینک به ارسال

اول از همه اینکه می دونید چنین کدی برای ارسال شدن چه فشاری به سرویستون وارد می کنه؟

کارتون از لحاظ اصولی و قواعد برنامه نویسی از ریشه اشتباهه

برای ازسال فرم از طریق سرور php محدودیت کارکتر دارید برای ارسال کارکترهای بالا باید از pop3 استفاده کنید

والله بلد نیستم اگر بودم که سوال نمیکردم . من الان هرچی گشتم همه با mail فرستادن اما مسئله اینه که هیچ کدوم برای من جواب نداد و پاسخ منو نداد احتمالا شما درست میگید اما امکانش هست یه کد کوچیک به عنوان مثال بهم بدید تا روش کارکنم . یا یک پست که آموزشش رو داده باشه .

تابع mail فشاری به سرور وارد نمی کنه. من قبلاً حتی اتچ های سنگین هم با این تابع ارسال کردم.

فرم ارسال ایمل رو باید خدتان طراحی کنید.


$to = 'test@example.com';

$subject = 'test....';

$headers = "From: " . strip_tags($_POST['req-email']) . "\r\n";
$headers .= "Reply-To: ". strip_tags($_POST['req-email']) . "\r\n";
$headers .= "CC: susan@example.com\r\n";
$headers .= "MIME-Version: 1.0\r\n";

$headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";


$message = '';
$message .= '
[b]Hello, World![/b]
';
$message .= '';


mail($to, $subject, $message, $headers);

الان من نمیدونم که شما درست میگید یا استاد. اینو باید اساتید بگن و به نظرم حق با استاد باشه چون توی تمام پستایی که توی این 24 ساعت دیدم همه فورم های کوچیک بودن که با mail ارسال شدن

فعلا مشکل من اینه که میخوام یه تعداد ایمیل با قالب html بفرستم که توش گیر کردم حالا با mail یا pop3 یا هر روش دیگه ای فرقی نداره ...

لینک به ارسال

تابع mail هیچ فشاری وارد نمی کنه ولی سند شدن اطلاعات به صورت utf-8 و تابع mail دزر حجم بالا (به تعداد بالا کاری نداریم) بدون pop3 کار اشتباهیه و وقتی امکانی برای کد و انکد اطلاعات وجود داره استفاده نکردن ازش اشتباهه

در تنظیمان mail در کنترل پنل سایتتون دسترسی به یکی از نرم افزارهای pop3 برای ارسال ایمیل حداقل وجود داره

لینک به ارسال

تابع mail هیچ فشاری وارد نمی کنه ولی سند شدن اطلاعات به صورت utf-8 و تابع mail دزر حجم بالا (به تعداد بالا کاری نداریم) بدون pop3 کار اشتباهیه و وقتی امکانی برای کد و انکد اطلاعات وجود داره استفاده نکردن ازش اشتباهه

در تنظیمان mail در کنترل پنل سایتتون دسترسی به یکی از نرم افزارهای pop3 برای ارسال ایمیل حداقل وجود داره

من متوجه منظورتون در " بدون pop3 کار اشتباهیه و وقتی امکانی برای کد و انکد اطلاعات وجود داره استفاده نکردن ازش اشتباهه" نشدم یعنی برم از اکانت های ایمیل هاست استفاده کنم ؟

خوب اگر این طور باشه که از خود یاهو یا همین ایمیل هاست استفاده میکردم .

من نیاز دارم که از دیتابیس ایمیلا و پسورد ها رو استخراج و ارسال کنم و این کارو باید با php انجام بدم استخراج و چیدمانش با mail به صورت متن رو میتونم انجام بدم و ارسال هم میشه اما نیاز دارم که با قالب html ارسالشون کنم که نمیشه .

ممنون میشم یا راهنمایی کنید یا لینکی بهم بدید که کمکم کنه .

ویرایش شده توسط sos
لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...