i want to send a newsletter which stored in db(sql server 2005) containing image header,footer and content.i have created one html page which shows this data by using generic handler.when i m running this html page independently it is showing images properly.but when i m sending it with mail it doesn't show images.
I have the below script to get a Web Page's html and add it as a string to the mail.body property of the mail message that I have created. However, if the webpage is larger then several KBs, it cause a StackOverflowException to fire.
Is there a simple way to just tell the mail message to use a link like "a.com/default.aspx" for the mail message body?
I want to create HTML templates to send my subscribers e-mail message. I put HTML tags into a text file and changed the required format items every time I want to send an e-mail with values from my database using string.format():
I think the application will be slower as string.format() searches for more format items.
I am exporting crystal report into html format and sending the html file via email (HTML EMAIL) in the body of text.The problem is while the receiver forwarded the email to any other person, the email content get distrubed and format of the report became tollay wrong.Also when I tried to send the report to GMAIL account, the gmail account is not displaying format properly.I report this issue in the asp.net crystal report forum perviously also.crystal report export to HTML Format issue when forwarding email to other person
I am having a bit of an issue sending an email which has a link to an asp page.Please see the code below
mailbodytext = "<html><body> A new Loan Request has been created.<br />Please <a href = http://loanpooldev.tiu.teda/ViewLoanRequest.aspx?loanid= " + lblLoanidVal.Text + "> click here to process the request</a></body></html>
mailClient.Send(loanrequestmail)Loanrequestmail is defined as new mailmessage()The issue is when the email is sent the value in lblLoanidVal.text is blank even though when I debug the code I can see the correct value in that control up until the call to mailClient.send(loanrequetmail)Not sure what is wrong.
have code on a web form -- when you hit the button "send emails", it executes this sub which reads an SQL database table and sends emails one by one -- however I get this error above -- anyway to check it and skip to the next email? Some emails in my table have firstname.lastname@example.org for example, so it seems this causes this error.
i have a page wherein i need to lock the screen when user clicks on the send email button, but everything is happening except i am unable to see my lock screen page. i have used the update progress for this purpose.. m posting part of the code here .aspx part
i have some page in aspx that display order details after user make order trought the site. i want to send to his email the same page. the page containe few gridview and fromview from few SQL tables. is it possible?
I have a web form that a uses fills out and I want it to send the form in a email when the user clicks complete. I know how to send a HTML email in ASP.net but how do I get the HTML of the page so that I can send the completed form in a email.
I have set a job in sql server 2008 to send reminder emails for product expiration. Now I want a report which will specify the list of the emails sent with the email status details like queued ,sent,delivered, failed.
I can fetch the emails that are sent by querying the like following
select * from sysmail_mailitems SM inner join sysmail_profile SP on SM.Profile_Id = SP.Profile_Id and SP.Name ='ReminderProfile'
The problem is only getting a perfect status of email whether it is delived or failed. How I can get those status ?