Hello all,
b4 anything, i am using iis smtp to send the emails..
is there anyway to detect if the "To" email is a valid one ?
Like for eg. To = sadjwqewe@askjqw.com (so this email of course doesnt
exist, but is there anyway to detect that ?, or if the email exist but the
inbox is full etc..)
i know that if i set the delivery method to pickup from iis and the email
fails, it ill drop it in the badmail folder, but i dont think that is nice..
is there any other way to detect any errors when the email was sent besides
checking the badmail folder ?
Thx in advance...
Jeff Dillon - 25 Mar 2008 21:47 GMT
What do you plan to do if their inbox is full?
Don't most SMTP installs allow you to specify an "admin"/bounce account
where you get notified of delivery errors?
Jeff
> Hello all,
> b4 anything, i am using iis smtp to send the emails..
[quoted text clipped - 11 lines]
>
> Thx in advance...
Edgard Guilherme - 25 Mar 2008 21:59 GMT
well if inbox is full, i would but that email to that person on hold, and
would try again in a few hours, and if the email doesnt exist i would set
that the client would not receive any more emails. well i can set an email
to delivery on error, but isnt it possible to detect such errors at the
moment of send ?
Like
try
{
SmtpClient.Send(msg)
}
catch(Exception ex)
{
//and for eg. i could get such errors here
}
is such thing possible ?
> What do you plan to do if their inbox is full?
>
[quoted text clipped - 18 lines]
>>
>> Thx in advance...
Jeff Dillon - 25 Mar 2008 22:03 GMT
How can you tell if an inbox is full, until you send a message, and get the
response?
I don't think a full inbox or an invalid email raises a runtime exception.
My suggestion is to monitor that admin/bounce account
You aren't sending spam, are you?
> well if inbox is full, i would but that email to that person on hold, and
> would try again in a few hours, and if the email doesnt exist i would set
[quoted text clipped - 37 lines]
>>>
>>> Thx in advance...
Edgard Guilherme - 25 Mar 2008 22:11 GMT
its a kind of newsletter that users choose to receive or not when
registering not spam =D,
but my boss wants this kind of feature, so i guess my only option is to
monitor the email as you said, altho it ll be a little more difficult..
> How can you tell if an inbox is full, until you send a message, and get
> the response?
[quoted text clipped - 46 lines]
>>>>
>>>> Thx in advance...
bruce barker - 25 Mar 2008 22:38 GMT
unfortunately due to spam, this feature no longer exists. you used to a
bounce message, that the email addrss was invalid, but most mail host no
longer supply this. (the spammer would just hit mail servers with generated
names, and knock out bounces from the list).
the most common approach, is when someone signs up for mail, you send a
validation email to them, that they reply from (often at signup).
-- bruce (sqlwork.com)
> Hello all,
> b4 anything, i am using iis smtp to send the emails..
[quoted text clipped - 11 lines]
>
> Thx in advance...