Hello, I write a simple code to send email via my webpage.
But there is no errors in the program when I trace it, and NO EMAIL get received in my hotmail box. Any idea? Seems all emails not been sent, thanks
I am sure there is no send email authentication for password, but I am not sure whether the MyMail.from is correct
Thank
try
{
MailMessage MyMail = new MailMessage();
MyMail.To = "xx*@hotmail.co m";
MyMail.From = "xx*@xxx.ne t";
MyMail.Subject = "hello";
MyMail.Body = "sometext";
SmtpMail.SmtpSe rver = "sendmail.xxx.c om";
SmtpMail.Send(M yMail);
}
catch(Exception eee)
{
Literalmsg.Text ="mail sent error";
} 1 1246
My smtp server wouldn't let me send mail from addresses not on the same
domain. I would use smtp.xxx.net or similar in your case.
Jure I am not sure whether the MyMail.from is correct. MyMail.From = "xx*@xxx.ne t"; This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan Boyle |
last post by:
Hi,
I am having difficulty connection to an smtp host. I am using the
following code but I don't think I fully understand what smtp host can
be used.
function setSMTPParams($host = null, $port = null, $helo = null, $auth
= null, $user = null, $pass = null)
{
if (!is_null($host)) $this->smtp_params = $host;
|
by: Nancy |
last post by:
Hi, Guys,
Is there any other way to use python or mod_python writing a web page?
I mean, not use "form.py/email", no SMTP server.
<form action="form.py/email" method="POST"> ...
Thanks a lot.
Nancy W
|
by: Steven Burn |
last post by:
My server has POP but only has SMTP if sending to my domain, and not other
domains (such as hotmail). I'm therefore wondering, if anyone knows of any
scripts etc, that will allow me to have a sort of "virtual" SMTP server on
my site?. (I really can't afford to use a third party SMTP mailer).
--
Regards
Steven Burn
|
by: Janna Deegan |
last post by:
Hello all,
First off, if there is a better place to post for an answer to this
question, please feel free to point me there.
I have some very strange behavior happening with my System.web.mail objects.
I was able to run my application fine for roughly 1500 email messages. The
next time I tried sending mail, it stopped working with the message:
"
|
by: Charlie |
last post by:
Hi:
I'm working on an e-commerce site. Using the SMTP class, my site sends out
confirmation messages. It works most of the time, but sometimes raises an
error. I need a way of making sure it goes out every time. I thought about
wrapping a try-catch handler in loop that keeps on retrying if delivery
fails. Is this a good idea? If not, what is the best way of handling this
kind of thing?
Thanks,
| |
by: RN |
last post by:
I am tired of sending mail from the built-in SMTP service for so many
reasons (errors are nondescriptive in the event log, it doesn't let me
control which IP address it sends from, and it identifies itself as the
computer name which is not in domain.com format, triggering spam filter
problems).
Instead, I want to have my code send through an SMTP server of a company
that we pay for mail service. But they require a username and password....
|
by: eric |
last post by:
Hello, I write a simple code to send email via my webpage.
But there is no errors in the program when I trace it, and NO EMAIL get received in my hotmail box. Any idea? Seems all emails not been sent, thanks
I am sure there is no send email authentication for password, but I am not sure whether the MyMail.from is correct
Thank
try
{
MailMessage MyMail = new MailMessage();
MyMail.To = "xxx@hotmail.com";
MyMail.From = "xxx@xxx.net";
|
by: antonyliu2002 |
last post by:
I've set up the virtual smtp server on my IIS 5.1 like so:
1. Assign IP address to "All Unassigned", and listen to port 25.
2. Access Connection granted to "127.0.0.1".
3. Relay only allow "127.0.0.1".
4. Authentication: "Anonymous access" only.
5. Outbound connection listen to TCP 25.
Besides,
|
by: Rob Dob |
last post by:
The following code is giving me a timeout problem., no matter what I do I
can't send a piece of mail using .net2.0 System.Net.Mail.SmtpClient via port
465 and using ssl, if however I try using outlook or outlook express it
works fine..
System.Net.Mail.MailMessage msgMail = new
System.Net.Mail.MailMessage("myemail@mydomain.com",
"testemail@mydomain.com", "subject", "message body");
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |