Last post Jul 02, 2008 07:49 AM by manwithbraveheart
Jun 14, 2008 09:19 PM|abc_abc|LINK
I am trying to send e-mails automatically to my customers from my web site when they subscribe to my website. Here is my code. I am able to send e-mails successfully in the same domain but i am unable to send e-mails to domains like Yahoo or Google. How
can I fix the problem? Is it some mail server settings or do I need to pass mailbox credentials in code? I need this urgently. Please help..
objEmail.IsBodyHtml = true;
objEmail.Body = strBody
sending mail vb c#
Send email with asp.net
Jun 15, 2008 01:13 AM|augustwind|LINK
Assuming its hosted - have you asked your host if it's something they're doing, specifically?
Jun 15, 2008 01:18 AM|abc_abc|LINK
I don't know. i did not check anything. What should I be asking? When i can send a mail from mail box to out side domains like yahoo, why can't I send programatically using ASP.NET. They will telle me if i can send mails to Yahoo from mailbox, there is no
Jun 17, 2008 04:54 AM|ganesansankar|LINK
Check with your network people to know about the Internet Domain IP address/Host.
Just give the Internet IP address overthere, and that will do the rest of the thing like what you are expecting.
Email also will go the other domain.
Jun 18, 2008 12:32 PM|abc_abc|LINK
Do I need to give my web server IP address to mail administartors to add it there?
Jun 23, 2008 07:15 AM|ganesansankar|LINK
Yes you need to give the web server IP address over there, which is allowing you to send and receive the mail or internet access.
Some proxy setting will be there once you inform to your admin, he will take care of it.
After that test your apps, hope it'll start work by sending mail smoothly
Jul 01, 2008 02:56 AM|crazyghost|LINK
Earlier was using system.web.mail class to send emails through my asp.net application...i wasnt able to send the mails specially to yahoo n hotmail domain..
There is no problem with gmail...
After going through above posts now using following code to send mails from
message.Body = strbody;
By using follwoing code also m not able to sens mails to yahoo id...Its working for gmail as earlier was the case..please help me reagarding in this...
Using this class if anybody tells me how send mails wid attachements and wid Bcc feild it would be helpful...[:)]
Thanks in advance
.MSG outlook emails
Email Attachment Extraction
Visual Studio 2005
Jul 02, 2008 07:49 AM|manwithbraveheart|LINK
MailAddress from =
MailAddress(from email id);
MailMessage message =
message.Subject = "Order Confirmation";
message.IsBodyHtml = true;