Sponsored by
www.aspnetemail.com
|
 |
Discuss This FAQ Item
Got a question? Another Suggestion? Want to post your solution? Discuss it below.
-
mail.To
[ Reply ]
How could I create a dropdown list to make the mail.To a variable something list this
mailmsg.To = tomail.text 'creating to address
<asp:DropDownList id="tomail" runat="server"> <asp:Listitem Value="Select Catagory Below" Selected="True">Select Catagory Below</asp:Listitem> <asp:ListItem Value="jdoe@somewhere.com">Construction</asp:ListItem> <asp:ListItem Value="janedoe@somewhere.com">Print Request</asp:ListItem> </asp:DropDownList>
If you could point me in the right direction it will be greatly appreciated.
Thanks, Newbie
Brian [ bwoodall ( at ) xpresssource dot com ],
2004-02-04 13:12:42
#
-
RE: mail.To
[ Reply ]
off the top of my head its going to be something like
msg.To = tomail.Value; //(or whatever the value of tomail is).
Cheers! Dave
dave [ dave ( at ) 123aspx dot com ],
2004-02-04 13:18:39
#
-
RE RE: mail.To
[ Reply ]
Thanks for you very quick response. It steered me the way I need to go. I had to use the following to get it to work.
mailmsg.To = tomail.SelectedItem.Value
Brian [ bwoodall ( at ) xpresssource dot com ],
2004-02-04 13:41:07
#
-
RE: mail.To
[ Reply ]
行 58: mail.Body = "this is my test email body.<br><b>this part is in bold</b>"; 行 59: SmtpMail.SmtpServer = "localhost"; //your real server goes here 行 60: SmtpMail.Send( mail ); 行 61: 行 62: }
源文件: c:\inetpub\wwwroot\znwl\webform1.aspx.cs 行: 60
堆栈跟踪:
[COMException (0x8004020f): The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for me@mycompany.com ]
[TargetInvocationException: 调用的目标发生了异常。] System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0 System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +473 System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) +29 System.Web.Mail.LateBoundAccessHelper.CallMethod(Type type, Object obj, String methodName, Object[] args) System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args)
[HttpException (0x80004005): 未能访问“CDO.Message”对象。] System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) System.Web.Mail.CdoSysHelper.Send(MailMessage message) System.Web.Mail.SmtpMail.Send(MailMessage message) znwl.WebForm1.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\znwl\webform1.aspx.cs:60 System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain()
andy [ anhowe ( at ) msn dot com ],
2004-10-25 01:37:41
#
-
RE: mail.To
[ Reply ]
hi da
definatly U can do it
PRABHU [ rush2gee ( at ) yahoo dot co dot in ],
2006-07-19 13:13:55
#
-
RE: mail.To
[ Reply ]
am geting erorr in the place smtpMail(mailMessge)
vipula [ vippu_sri ( at ) yahoo dot co dot in ],
2007-07-10 05:29:26
#
-
RE: mail.To
[ Reply ]
am geting erorr in the place smtpMail(mailMessge)
vipula [ vippu_sri ( at ) yahoo dot co dot in ],
2007-07-10 05:29:55
#
-
RE: mail.To
[ Reply ]
where do I have to add the MailMessage code? I use c#
Magda [ mkaroni ( at ) petchey dot co dot uk ],
2007-10-05 09:21:11
#
-
HTML View warning
[ Reply ]
I have seen alot of emails that when viewed in plain text have a warning like "To properly view this email, switch to HTML view". The only way i have come up with to do this is to add a <font color=white>warning goes here</font> to the top of my email...
is there a better way?
Josh Hawley [ Jhawley ( at ) pnwtg dot com ],
2004-02-06 14:22:14
#
-
HTML View warning
[ Reply ]
I have seen alot of emails that when viewed in plain text have a warning like "To properly view this email, switch to HTML view". The only way i have come up with to do this is to add a <font color=white>warning goes here</font> to the top of my email...
is there a better way?
Josh Hawley [ Jhawley ( at ) pnwtg dot com ],
2004-02-06 14:22:47
#
-
HTML View warning
[ Reply ]
I have seen alot of emails that when viewed in plain text have a warning like "To properly view this email, switch to HTML view". The only way i have come up with to do this is to add a font color=white warning goes here font to the top of my email...
is there a better way?
Josh Hawley [ Jhawley ( at ) pnwtg dot com ],
2004-02-06 14:23:34
#
-
HTML View warning
[ Reply ]
I have seen alot of emails that when viewed in plain text have a warning like To properly view this email, switch to HTML view. The only way i have come up with to do this is to add a font color white warning goes here font to the top of my email...
is there a better way?
Josh Hawley [ Jhawley ( at ) pnwtg dot com ],
2004-02-06 14:23:46
#
-
Arabi mail
[ Reply ]
How do I send an Arabic language content as a HTML Mail using ASP.NET
charan [ venkatacharang ( at ) yahoo dot co dot in ],
2004-08-04 00:23:57
#
-
RE: Arabi mail
[ Reply ]
you needa import "system.text" in order to set the content encoding to utf-8.. the codes are like this ...
Imports System.text ... ... ... mail.BodyEncoding = Encoding.UTF8 ... ... ... SmtpMail.Send(mail)
David [ jenping dot hsu ( at ) gmail dot com ],
2004-09-17 04:08:53
#
-
RE RE: Arabi mail
[ Reply ]
THANK YOU VERY MUCH YOU SOLVED MY PROBLEM IN NUTSHELLL , THANK U THANK U
BISHOY ATEF [ BISHOY ( at ) GMX dot NET ],
2004-11-29 18:17:57
#
-
RE RE: Arabi mail
[ Reply ]
hello thank you very much جزاك الله خيراً
humam [ hum_hel ( at ) hotmail dot com ],
2005-08-25 05:45:31
#
-
RE: RE RE: Arabi mail
[ Reply ]
Thank you so much.After seeing your reply i have solved the problem.
Judy [ judysam_lil ( at ) yahoo dot com ],
2005-09-15 22:11:28
#
-
RE RE: RE RE: Arabi mail
[ Reply ]
it also worked for me, i couldn't able to stop myself by giving credit to you, thanks once again,
thanks and regards, kumar
kumar [ duvvarapukumar ( at ) gmail dot com ],
2006-02-16 03:22:42
#
-
Problem in sending mail to yahoo or hotmail
[ Reply ]
Hai
In my asp.net application, i need to send mail to the registered person.
When i checing i got one problem , i cant able to receive mail to my yahoo id or hotmail id . But i am getting mail to my company id
what the problem..
Please do the needful.
with regards kumar.m
kumaran [ kumaran ( at ) frontpoint dot net ],
2004-09-16 01:10:08
#
-
HTML BodyFormat not working
[ Reply ]
Hi everyone,
when I send e-mail with BodyFormat set to HTML from my development machine, everything works fine, but when the same code is moved to testing, e-mail that I get is not rendered, but is showing markup. What could be the problem?
sead alispahic [ salispahic ( at ) hotmail dot com ],
2004-09-21 23:33:43
#
-
RE: HTML BodyFormat not working
[ Reply ]
how do i repair my html
james mccowan [ j dot mccowan ( at ) ntlworld dot com ],
2006-04-30 05:11:36
#
-
RE: HTML BodyFormat not working
[ Reply ]
If you are getting the HTML code you want to email from a textarea box, you have to use the innerText property to get the correct formatting of the HTML code.
Lasse [ lseten ( at ) rockfast dot com dot au ],
2006-12-19 18:18:32
#
-
RE RE: HTML BodyFormat not working
[ Reply ]
hello, eventhough i tried innerText propery, It is not still working. I also tried innerHtml property, but it is also not working. Please give me some suggestion to get from text box or textarea.
min [ crazyer dot 85 ( at ) gmail dot com ],
2008-05-21 20:38:46
#
-
Mail being filtered as Junk from asp.net page
[ Reply ]
Help! Any mail that I try to send from an asp.net page that contains an href tag is being delivered to my junk mail.
Sample Code: Dim mailmsg as new MailMessage() mailmsg.Body = "link follows <a href=http://www.davidson.edu>Link to Davidson</a>" mailmsg.bodyformat=mailformat.html mailmsg.from = "user@mydomain.com" mailmsg.to = "user2@mydomain.com" mailmsg.subject = "subject" smtpmail.smtpserver="localhost" smtpmail.send(mailmsg)
Jaimie [ jabeatty ( at ) davidson dot edu ],
2004-12-08 13:47:09
#
-
CDONTS Problem
[ Reply ]
Hai
In my ASP application, i need to send mail to the registered person.
When i cheking i got one problem , i cant able to receive mail to my other id's (Like ....> yahoo id or hotmail id ). But i am getting mail to my company id
what the problem..
Please do the needful.
Regards Nadamuni
Nadamuni [ nanda_75 ( at ) hotmail dot com ],
2005-03-11 03:40:33
#
-
RE: CDONTS Problem
[ Reply ]
Hi...
When i cheking i got one problem , i cant able to receive mail to my other id's (Like ....> yahoo id or hotmail id ). But i am getting mail to my company id
what the problem..
Please do the needful.
Regards GLB
glb [ glbsng ( at ) gmail dot com ],
2008-04-06 23:41:33
#
-
RE RE: CDONTS Problem
[ Reply ]
Hi, If I had to guess, your mail is getting classified as spam. However, to verify the mail was actually sent, you should check your relay server logs to verify what happened to the email.
Cheers! Dave
dave wanta [ dave ( at ) advancedintellect dot com ],
2008-04-07 05:02:40
#
-
EMail SPAM
[ Reply ]
Hi !!
How can I send an email whithout generating SPAM?
Regards, Gera
Gera [ gbarbosa ( at ) argentina dot com ],
2005-03-29 10:11:59
#
-
Problem with html
[ Reply ]
I explain if i do a simple html page in dreamweaver, how can i get the code for tu put them in
mail.body=" "
because if i put my dreamweaver code there, this code has too the chars " and i have to delete thenm from dreamweaver code, how can i do it¿¿ thanks
jordi [ barajoider ( at ) gmail dot com ],
2005-04-03 07:16:46
#
-
RE: Problem with html
[ Reply ]
i just removed all the "" around the tags and it worked fine live testing on the net.... give it a go.
dave [ dave ( at ) davejenkins dot co dot uk ],
2005-07-02 09:41:00
#
-
RE: Problem with html
[ Reply ]
youre an idiot
dr [ dr ( at ) dr dot nmet ],
2005-07-16 08:34:15
#
-
I want to send mail with my selected font and colors
[ Reply ]
Dear friends... I want to send mail with my selected font and colors.It is possible using system.web.mail namespace? if it is than how...?
thanx in advance..
Pritesh Patel [ pritesh ( at ) hirecraft dot com ],
2005-04-04 05:16:19
#
-
HTML BODY
[ Reply ]
When I send the mail thru System.Web.Mail with message body as HTML, only the URL of the page is sent in the mail, whereas I wnt to send a full HTML page in the mail. I am not able to achieve it....
Any suggestions???
Sharad Gupta [ sharadg ( at ) humsay dot com ],
2005-04-12 23:04:05
#
-
RE: HTML BODY
[ Reply ]
I have problem in sending html code with my mail. Below is the code I used but is given error:
protected void Button1_Click(object sender, EventArgs e) { try {
//create the mail message MailMessage mail = new MailMessage();
//set the addresses mail.From = new MailAddress(email.Text); mail.To.Add("samson@dnetsystems.net"); mail.CC.Add("femi@dnetsystems.net"); mail.CC.Add("issa@dnetsystems.net"); mail.BodyFormat = MailFormat.Html; //set the content mail.Subject = "Access Quote"; mail.Body = "<b>Your Name : </b> " + name.Text <br> "Your Company's Name : " + company.Text <br> "Nature of Business : " + business.Text <br> "Your Phone Number : " + phone.Text <br> "Address : " + address.Text < br > "City : " + city.Text < br > "State : " + state.Text < br > "Country : " + country.Text < br > "How would you want our staff to contact you? : " + RadioButton1.Text + RadioButton1.Text < br > "Any Other Info : " + others.Text < br > "How did you hear of Dnet Systems Limited? : " + RadioButton5.Text ;
//send the message SmtpClient smtp = new SmtpClient("66.232.103.144"); smtp.Send(mail); //Response.Write("The email successfully sent.");
lblStatus.Text = "Quote successfully sent."; } catch (Exception ex) { lblStatus.Text = "Send Quote Failed." + ex.Message; } }
Kindly help me out
samson [ samobeito ( at ) yahoo dot com ],
2007-02-13 03:40:15
#
-
problems setting to html
[ Reply ]
Error 1 'System.Net.Mail.MailMessage' does not contain a definition for 'BodyFormat'
Error 2 The name 'MailFormat' does not exist in the current context Error 1 'System.Net.Mail.MailMessage' does not contain a definition for 'BodyFormat'
Error 2 The name 'MailFormat' does not exist in the current context
i tried switching it to... mail.BodyEncoding = MailFormat.Html; but i still get the.. Error 1 The name 'MailFormat' does not exist in the current context
btw, i have the release version of 2.0, thanks in advance!
ndswngs [ rob ( at ) samko dot com ],
2005-12-12 16:31:56
#
-
RE: problems setting to html
[ Reply ]
pardon me, should have read...
mail.BodyFormat = MailFormat.Html; Error 1 'System.Net.Mail.MailMessage' does not contain a definition for 'BodyFormat'
Error 2 The name 'MailFormat' does not exist in the current context
i tried switching it to... mail.BodyEncoding = MailFormat.Html; but i still get the.. Error 1 The name 'MailFormat' does not exist in the current context
ndswngs [ rob ( at ) samko dot com ],
2005-12-12 22:12:03
#
-
emailing
[ Reply ]
I'm new to asp.net and VB. I have a simple signup for newsletter that I want to include on my page. I'm confused at to what code goes where. If someone could assist I would be grateful.
thanks in advance.
dupls [ dupls ( at ) rogers dot com ],
2006-02-01 11:30:16
#
-
getting error in code of sending email using VB.NET
[ Reply ]
I had written the whole code for sending the email in VB.net but it is showing some error in txtTo.Text.
Himani [ himanibhandari ( at ) rediffmail dot com ],
2006-02-22 05:11:26
#
-
Could not access CDO.message object
[ Reply ]
While I am sending mail, I am an getting an error as "Could not access CDO.message object. Sometimes I am getting Target Invocatin Exception. Its an urgent requirement for my application. Till yesterday, its working. But today I am getting an error message. I checked that, smtp server is running. How can I solve this. Can any one help me please.
Thanks and Regards
Gowtham Sen [ gowtham dot p ( at ) tcs dot com ],
2006-03-14 23:56:25
#
-
RE: Could not access CDO.message object
[ Reply ]
if anyone have solved the error for sending mails other than out official id.pl get back to me ASAP
shiras [ shiras dot abdulrahman ( at ) gmail dot com ],
2006-04-10 03:56:02
#
-
Missing blanks sending HTML test
[ Reply ]
I have build a HTMl text in MsWord for mailing to all user. Everything goes fine, but I mis something spaces between words, just in the middle of a sentence. Like:
Everything goes fine, but Imis something spaces between words, just inthe middle of a sentence.
The HTML file is an external file, which I read in using a simple read text lines. FileOpen(FileNumber, MessFileName, OpenMode.Input) Do While Not EOF(FileNumber) Regel = LineInput(FileNumber) MailMessage = MailMessage + Regel Loop FileClose(FileNumber)
Mail is sent using: Dim email As New System.Web.Mail.MailMessage Dim MailBijlage As System.Web.Mail.MailAttachment = New System.Web.Mail.MailAttachment(Bijlage)
Try email.To = Adres email.From = MailAfzender If Bijlage <> Nothing Then email.Attachments.Add(MailBijlage) End If email.Body = MailMessage email.Subject = MailOnderwerp email.BodyEncoding = Encoding.Default If HTMLType = True Then email.BodyFormat = Web.Mail.MailFormat.Html Else email.BodyFormat = Web.Mail.MailFormat.Text End If System.Web.Mail.SmtpMail.SmtpServer = "Exchange" System.Web.Mail.SmtpMail.Send(email)
Luc [ l dot debruijn ( at ) kollumerland dot nl ],
2006-03-29 08:31:09
#
-
send hyperlinks through mail which will open in same browser instance
[ Reply ]
I want to send some hyperlinks thorough e-mail. Any hyperlink should open in new window and after that all the hyperlinks should open in the same browser window.
ashok [ ash_jakate ( at ) yahoo dot co dot in ],
2006-04-24 05:14:47
#
-
Want to send an image in the body of mail
[ Reply ]
Hi, I want to send an image in the body of the email.Please tell me how to send it. i am using asp.net 1.0,there is code for asp.net 2.0.
bye.
savita [ bsavita ( at ) info-telecomsys dot com ],
2006-04-28 01:32:05
#
-
SMTP Server
[ Reply ]
Hi there SmtpMail.SmtpServer = "MyServer" What if My Server require user name, password and irregular port like 1325 instead of 25
How do I submith user name etc..
Thanks Oded Dror
Oded Dror [ odeddror ( at ) cox dot net ],
2006-06-08 20:06:11
#
-
Problem: HTML email body and encoded attachment
[ Reply ]
Hi all, My code is like:
MailMessage mail = new MailMessage(); mail.To = "me@mycompany.com"; mail.From = "you@yourcompany.com"; mail.Subject = "this is a test email.";
mail.BodyFormat = MailFormat.Html; mail.Body = "this is my test email body.<br><b>this part is in bold</b>";
// I had to use UUEncode other my attachments // would get crrupted. mail.Attachments.Add(new MailAttachment(filename,MailEncoding.UUEncode));
SmtpMail.SmtpServer = MY_SMTP_SERVER; SmtpMail.Send( mail );
Now the problem is that when i receive the email the attachment is ok but the email is sent as "Plain Text" not "HTML"! Does anyone know why?
Sam [ sam dot arjmandi ( at ) mgaconsulting dot ca ],
2006-07-27 12:23:03
#
-
RE: Problem: HTML email body and encoded attachment
[ Reply ]
I've faced the same problem when i used the encoding type as UUEncode. When i changed the mail encoding type to Base64, it worked well.
MailAttachment mailAttach = new MailAttachment(filename,MailEncoding.Base64);
Gifcy [ gifcythomas ( at ) gmail dot com ],
2006-12-05 21:39:31
#
-
E-Mail not receiving in Inbox that sent from asp.net page
[ Reply ]
Hi I have tried to send the mail I have used the same code and I mentioned localhost as SMTP server. I am able send the mail. But I am not getting the mail in inbox of the sent address. I have mentioned the same address as from address and I receiveing the Delayed Notifications. Please help me...
Venkata N. [ vn dot nekkanti ( at ) tcs dot com ],
2006-09-06 21:51:57
#
-
url
[ Reply ]
How to send url thru the email.This is the code.But it does not display the hyperlink in the email.
MailHtml.Append("<HTML>"); MailHtml.Append("<BODY>"); MailHtml.Append("<TABLE>"); MailHtml.Append("<TR><TD> Please use this link (supply link) to view the audit form.</TD></TR>"); MailHtml.Append("<TR><TD><a href=" + '"' + strServerPath + "/xxx/xx/xx/xxx.aspx?sid=" + "'" + siteID.ToString() + "'" + '"' + ">"); MailHtml.Append("</a></TD></TR> "); MailHtml.Append("</TABLE>" ); MailHtml.Append("</BODY>" ); MailHtml.Append("</HTML>" );
Thanks, sarala.
saral [ tosarala ( at ) yahoo dot com ],
2007-01-16 16:48:33
#
-
RE: url
[ Reply ]
String url = Server.MapPath("~\\Docs\\" + lbl_FileName.Text); email.BodyFormat = MailFormat.Html; email.Body = HttpContent(url);
private string HttpContent(string url) { WebRequest objRequest = System.Net.HttpWebRequest.Create(url); StreamReader sr = new StreamReader(objRequest.GetResponse().GetResponseStream()); string result = "";// = sr.ReadToEnd(); string result1; while ((result1 = sr.ReadLine()) != null) { if ((result1 == " ") || (result1 == "")) { continue; } result += result1; } sr.Close(); return result; }
Is it useful?
sivakumar [ siva_gandhi ( at ) yahoo dot com ],
2007-07-26 05:22:52
#
-
hai...
[ Reply ]
hai this is thanigaivasan doing project on sending and recieving mails using Vb.net..I hav the problem like after writing the message and do the font formatting with font dialog and color formatting with color dialog, it is displaying in rich text box but if i send the mail the recipient is getting only the plain text without color and font style....pls help me ...wats the solution for this ........mail me
thanigaivasan [ smarty_240485 ( at ) yahoo dot com ],
2007-03-14 20:21:09
#
-
HTML Body not proper
[ Reply ]
Hi, The HTML body using Mail Message is not getting properly displayed.. An ! mark is getting inserted in html body text.. Any idea how to solve this..?
Thanks fasi
Fasiuddin [ fxmoham ( at ) qwest dot com ],
2007-06-27 10:31:46
#
-
how do i send a html email with img src
[ Reply ]
if there is an img src tag i can't send it, otherwise ok
rehna [ rehna_haridas ( at ) rediffmail dot com ],
2007-07-06 03:49:06
#
-
vb.net
[ Reply ]
am getting erorr in program place is SmtpMail.Send(mailMessagen)
vipula [ vippu_sri ( at ) yahoo dot co dot in ],
2007-07-10 05:39:40
#
-
vb.net
[ Reply ]
am getting erorr in program place is SmtpMail.Send(mailMessagen)
vipula [ vippu_sri ( at ) yahoo dot co dot in ],
2007-07-10 05:42:04
#
-
How to Encode the Email Body to Base64
[ Reply ]
Hi I have a very unique problem. I am able to send HTML formatted mails using my code but when I send a particular HTML content in the body, the emails fail with the message:
Error in BreakAnalysis BO:Send email Server Name:SNYC11U12071 ====== icbmrwro at 8/17/2007 7:20:44 AM =============================== Could not access 'CDO.Message' object. at System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String propName, Object propValue) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at FCApps.ICBM.BO.BreakAnalysisBO.sendEmail(Int32 liLineCountAfter, Int32 liApprovedLineCountAfter, Double pdblresidual_break_appr, Int32 piTolerance, Int32 liDisapprovedLineCountAfter, Int32 liLineCountBefore, Int32 liApprovedLineCountBefore, Double pdblresidual_break_disappr, String psReportPeriod, String psADACUnit, String psADACCPUnit, String psADACAccount, String psUserId, Double pdbliba_total_analysis, Double pdbliba_balance_only, Double pdbliba_unexplained) Exception has been thrown by the target of an invocation. System.Runtime.InteropServices.COMException (0x8004011B): Unknown Error End of Error
The HTML Content in the Body of the email is:
<style TYPE='text/css'>.stocktitle {font-family:Arial,Helvetica,sans-serif;font-size:10px;text-align: center;}.stockinfo {font-family:Arial,Helvetica,sans-serif;font-size:11px;}</style><p class='stockinfo'>All,</p><p class='stockinfo'>All the line items of the above break has been approved by <strong>icbmrwro</strong> on <strong>08/17/2007</strong> at <strong>11:11 AM</strong> (EST). <br><br>The above break has arisen as a result of the following: </p><table cellspacing=1 cellpadding=3 border=0 bgcolor='ffffff' width='30%'><tr><td><table cellspacing='1' cellpadding='2' border='0' bgcolor='eeeeee' width='100%'><tr><td colspan=2 bgcolor='eeeeee' class='stockinfo'><strong>Summary:</strong></td></tr><tr><td align='right' bgcolor='ffffff' class='stockinfo'>Total Break Analysed:</td><td align='right' bgcolor='ffffff' class='stockinfo'> -143,000,000</td></tr><tr><td align='right' bgcolor='ffffff' class='stockinfo'>Original Level 4 break:</td><td align='right' bgcolor='ffffff' class='stockinfo'> -143,000,000</td></tr><tr><td align='right' bgcolor='ffffff' class='stockinfo'>Unexplained amount:</td><td align='right' bgcolor='ffffff' class='stockinfo'> 0</td></tr></table></td></tr></table><br><br><table border='0' cellpadding='0' cellspacing='0' width='100%'><tr><td valign='top' class='stockinfo'><strong>Break Detail</strong></td></tr><tr><td valign=top'><table cellspacing='1' cellpadding='3' border='0' bgcolor='eeeeee' width='100%'><tr> <td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap width='10%'><strong>Break Category</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>CHF</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>Explanation</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>Action Required</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>Due Date</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>Responsibilty</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>Adac Contact</strong></td><td bgcolor='dddddd' align='right' valign='bottom' class='stocktitle' nowrap><strong>Status</strong></td></tr><tr><td align='center' bgcolor='ffffff' class='stockinfo' width='10%'>A001-1 Fiduciary transactions</td><td align='right' bgcolor='ffffff' class='stockinfo'>-143,000,000</td><td align='left' bgcolor='ffffff' class='stockinfo'>0893 reflect Fiduciary transaction on OBS, ADAC 10973; 1714 reflect transaction on B/S ADAC 1808, Time deposits with banks/IC</td><td align='left' bgcolor='ffffff' class='stockinfo'>none, different accounting treatment authorised by APG</td><td align='center' bgcolor='ffffff' class='stockinfo'>Non-Resolvable</td><td align='left' bgcolor='ffffff' class='stockinfo'>0893 - SH CS PRIVATE BANKING</td><td align='center' bgcolor='ffffff' class='stockinfo'>ebucher</td><td align='center' bgcolor='gray' class='stockinfo'>Non-resolvable</td></tr></table></td></tr><tr><td bgcolor='ffffff' colspan=8 align='left' class='stockinfo' height='40px' valign='bottom'>Please ensure that you agree with the above commentary. In the case that you do not agree, please contact icbmrwro or Support Interco.</td></tr><tr><td> </td></tr></table><br><p class='stockinfo'>Regards,<br>ICBM</p>
I found that the emails fail consistently with the above content but with a slightly different content but exactly same HTML formatting it works all the time.
Manoj [ manoj dot santhi ( at ) gmail dot com ],
2007-08-20 05:49:56
#
-
RE: How to Encode the Email Body to Base64
[ Reply ]
The code that i use is:
loMail.From = ICBMConstants.FROM_ID_FOR_EMAIL_ACTIVE_USERS; loMail.To = this.tbToEmail.Text.Trim(); loMail.Cc = lsEmailCC; loMail.Bcc = ICBMConstants.BROADCAST_EMAIL_COPY_USERS_LIST; loMail.Subject = lsEmailSub; loMail.Body = lsEmailBodyMessage; loMail.Attachments.Add(new MailAttachment(@"C:\Inetpub\wwwroot\icbm\test4.html",MailEncoding.Base64)); loMail.BodyFormat = MailFormat.Html; //Send the email in HTML format. SmtpMail.SmtpServer = ICBMConstants.SMTP_Server_Name; SmtpMail.Send(loMail);
Manoj [ manoj dot santhi ( at ) gmail dot com ],
2007-08-20 05:55:55
#
-
Hyperlink in the Email body
[ Reply ]
Hey How can i send hyperlink the body part of email
Email1.Body = "the link is : "; //i want to send hyperlink next than text
Needo [ khan dot asif ( at ) yahoo dot com ],
2007-09-07 02:24:31
#
-
I want to send mail in HTML Format
[ Reply ]
Dear Sir, I want to send mail in HTML format. I used RichTextBox in body part, that body part i have to send. This software i am developing in VB.Net (Windows based).I am using color dialog box and font dialog box to format the text.
Girish Rakhe [ girishrakhe ( at ) gmail dot com ],
2007-09-18 05:46:19
#
-
I want to send mail in HTML Format
[ Reply ]
Dear Sir, I want to send mail in HTML format. I used RichTextBox in body part, that body part i have to send. This software i am developing in VB.Net (Windows based).I am using color dialog box and font dialog box to format the text.
Girish Rakhe [ girishrakhe ( at ) gmail dot com ],
2007-09-18 05:52:17
#
-
RE: I want to send mail in HTML Format
[ Reply ]
By default, email sent with System.Web.Mail is formatted as plain text. To format as Html, set the MailMessage.BodyFormat property to MailFormat.Html.
In Web.config
<system.net>
<mailSettings>
<smtp from="test@foo.com">
<network host="smtpserver1" port="25" userName="username" password="secret" defaultCredentials="true" />
</smtp>
</mailSettings>
</system.net>
[ C# ]
MailMessage mail = new MailMessage(); mail.To = "me@mycompany.com"; mail.From = "you@yourcompany.com"; mail.Subject = "this is a test email."; mail.BodyFormat = MailFormat.Html; mail.Body = "this is my test email body.<br><b>this part is in bold</b>"; SmtpMail.SmtpServer = "localhost"; //your real server goes here SmtpMail.Send( mail );
ramana [ boyiniramana ( at ) gmail dot com ],
2009-04-17 06:01:35
#
-
Mail Status
[ Reply ]
Hi, How i get the Mail Status While Sending the mail thro ASP.NET 2.0
Best Regards Vijaya
Vijaya [ vijirajamiyer ( at ) hotmail dot com ],
2008-06-29 23:05:41
#
-
RE: Mail Status
[ Reply ]
Hi, You can't do this with System.Web.Mail or System.Net.Mail.
Cheers! Dave
dave wanta [ dave ( at ) advancedintellect dot com ],
2008-06-30 08:53:11
#
-
RE RE: Mail Status
[ Reply ]
Hi Mr.Daves,
Thank u for ur answer, while i am using OSMTP component i got the mail status, but using System.Web.Mail i could not trap trap the mail status. Anyway thak u very much for ur reply.
once gain thanks vijaya
Vijaya [ vijirajamiyer ( at ) hotmail dot com ],
2008-06-30 21:02:32
#
-
RE RE: Mail Status
[ Reply ]
Hi Mr.Daves,
Thank u for ur answer, while i am using OSMTP component i got the mail status, but using System.Web.Mail i could not trap the mail status. Anyway thank u very much for ur reply.
once gain thanks vijaya
Vijaya [ vijirajamiyer ( at ) hotmail dot com ],
2008-06-30 21:05:45
#
-
how can i send html page with images
[ Reply ]
i have an html page containing images.i want to send this html page as mail body .Please send me an exact solution
thanks in advance
Praseetha [ mepraseetha ( at ) gmail dot com ],
2008-07-30 02:49:01
#
-
RE: how can i send html page with images
[ Reply ]
its simple add the html img tag
<img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Blue hills.jpg"/>
u can use the image address such as your picassa address or any other web image address
first you want host the image in the net in image hosting website and use that link it will functions well
karthikeyan [ melur dot karthi ( at ) gmail dot com ],
2010-02-11 05:53:59
#
-
Sending an e-mail with text underlined
[ Reply ]
I want to send this HTML as an e-mail it does not underline the text that I want <tr> <td style="width: 100px"> <span style="text-decoration: underline">QTY</span></td> <td style="width: 100px"> <span style="text-decoration: underline">Material</span></td> <td style="width: 100px"> <span style="text-decoration: underline">Total</span></td> </tr>
Adam Olson [ aolson ( at ) gothiclandscape dot com ],
2009-04-17 15:49:39
#
-
RE: Sending an e-mail with text underlined
[ Reply ]
there is an html tag for underline know you can use that to underline as a new tag insted of using span style
<u>underline</u>
karthikeyan [ melur dot karthi ( at ) gmail dot com ],
2010-02-11 06:00:23
#
-
doubt
[ Reply ]
i have tried the code below to send email when button clicked, im able to get mail sent successfully, but im not able to see the main in inbox....pls can anyone provide solution for this.............thanks in advance.................code which i have used is here..
protected void Button1_Click(object sender, EventArgs e) { SmtpMail.SmtpServer = "localhost"; MailMessage msg = new MailMessage(); msg.From = TextBox1.Text; msg.To = "swathi_bhouni@gmail.com"; msg.Subject =TextBox2.Text; msg.Body=TextBox3.Text; SmtpMail.Send(msg); Response.Write("your mail has been sent successfully"); }
swathi [ swathi_bhouni ( at ) gmail dot com ],
2009-06-06 02:46:23
#
-
sending a mail in asp.net
[ Reply ]
I have a problem in sending a mail.It has been successfully sent.But i couldn't receive the mail in inbox.It shows one warning that system.web.mail is obsolete,recommended alternative is system.net.mail.mailmessage.so i used this namespace,but two errors were displayed.Can anyone what will i do?
savia [ saviasvs ( at ) gmail dot com ],
2010-02-04 03:24:46
#
-
RE: sending a mail in asp.net
[ Reply ]
There is no problem with that name space the system.web.mail have the same properties as system.net.mail.
this absolute intdication is because of version difference....
try by Import this header file
import system.net.smtp
pls define the error to solve the problem....
karthikeyan [ melur dot karthi ( at ) gmail dot com ],
2010-02-11 05:45:47
#
-
Format issue with rediff email
[ Reply ]
As i am sending email from my asp.net code to rediffmail, i want email format in html, so i made the body using string builder, in which it holds html code. a url link in the data should be appended, using anchor tag, i made it. Then i send the email. other mail servers are displaying the url as link but in rediffmail, it is shown as plain text, why it is so, please help me out
NGKPrasad [ gokool4 ( at ) gmail dot com ],
2010-02-20 03:49:20
#
-
voting buttons
[ Reply ]
Is it possible to add voting buttons to an SMTP email? How??
Justin Dye [ dyej ( at ) Aetna dot com ],
2010-04-30 05:53:38
#
|