Click here to Skip to main content
15,894,180 members

Comments by Member 11889799 (Top 27 by date)

Member 11889799 19-Oct-16 9:49am View    
Actual mail server means.
Member 11889799 19-Oct-16 9:48am View    
Hi,
Thanks for your response.
Actually i am using following code.its automatically attach the file,write subject,cc,to address..but cant send.

private void SendmailOwnMail(string filename)
{
string strCommand;
string[] astrRecip = new string[1];
astrRecip[0]= "karthik@gmail.com";
strCommand="";
strCommand = " -compose to=\"" + string.Join(",", astrRecip) + "\",";
strCommand += "body=" + (char)34 + "Hi" + (char)34 + ",";
strCommand += "subject=" + (char)34 + "Payslip" + (char)34 + ",";
strCommand += "attachment=" + (char)34 + filename + (char)34;
Process.Start(@"C:\Program Files (x86)\Mozilla Thunderbird\thunderbird", strCommand);
}
Member 11889799 13-May-16 6:23am View    
hi,
Now its working fine thanks for solution.
Member 11889799 13-May-16 5:27am View    
k Karthik.
Member 11889799 13-May-16 4:07am View    
posted my html code check it.