Developer Support »

Where does that miss directed email go?  (See more user questions)

Hi

I'm not an expert on the email side of things. I write the PHP code. The
code relies on the email server to be set up correctly and PHP simply sends
the message to the (hopefully correctly working) email server.

I think you are worrying needlessly. If you want a "belt and braces"
solution, you can put two email addresses in the script so the script will
send TWO emails every time, one to each address.

There are intructions for this in the script. To save you the trouble, this
is what you do.

In the script where it has:

$my_email......

Put in the two addresses, like so:

$my_email ="this@that.com,this@theother.com";

I haven't added anything here that isn't in the script instructions or on my
support section. If you get the time I would recommend you have a read
through them.

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Saturday, September 20, 2008 1:27 AM
Subject: RE: What happens if?


> Hi Charles, I have another question for you please. I had an issue with
> formstomail with the corrected email address failing to deliver today. My
> web hosting service was of little or no help; Fat Cow. I understand that
> the
> internet can be a place where certain proprietary issues can come up but
> with formstomail working so well and being integrated into so many apps, I
> have a hard time believing that it was at fault. I tested that page that I
> had asked you about "where does it go when you type an address in wrong".
> Well, what can you do to help minimize lose if one server fails? Have it
> send to two email accounts? Does that work OK? I was really pissed because
> they would not supply any support on this because they did not right the
> code but there was no error message just lost information. There is no way
> to know if a customer's response is simply lost. Are there any easy ways
> to
> test the code with a servers CGI protocol? ( right terms?)
>
> If you can, just point me in the right direction.
>
> -----Original Message-----
> Sent: Thursday, September 18, 2008 5:49 PM
> Subject: Re: What happens if?
>
> Hi
>
> I'm very well, thank you, hope you are too.
>
> Good question. To some extent, it would be the same as sending yourself
> an
> "ordinary" email but to the wrong address. You could try sending one to
> .com and see what happens!
>
> This is largely down to the email server, not the end of things I know a
> lot
>
> about. You can safely assume it's gone forever. This is the thing with
> PHP, it sends the mail off to the mail server but it has no clue what
> happens to it thereafter. It doesn't get an error from the mail server
> like
>
> a conventional email program would.
>
> I hope this is of some assistance.
>
> Best wishes.
>
> Charles Sweeney
> https://formtoemail.com
> The world's easiest feedback script!
>
> ----- Original Message -----
> Sent: Thursday, September 18, 2008 11:15 PM
> Subject: What happens if?
>
>
>> Hi Charles, Hope your doing well. I had the misfortune of typing my email
>> address wrong in the FormstoMail php that The Turning Gate uses in their
>> Lightroom/photoshop web galleries. It generates a forms to mail php page
>> that you go in and edit the email and web page to get redirected to. Well
>> I
>> mistyped by own email address in the form. Usually a mail message is sent
>> to
>> the mail program like outlook if you send an email to a wrong or invalid
>> address. I know I should have checked the site and waited before I sent
>> the
>> OK to use to my customer but I didn't. Just one customer so not the end
>> of
>> the world, but where does that miss directed email go?
>>
>>
>>
>> If you can help, please drop me a line. I have since gone and changed the
>> line of code with Dream Weaver, but just in case this happens again.