/    Sign up×
Community /Pin to ProfileBookmark

mailer.php email addresses

Hey everyone. First, I want to say that this site is very awesome. ?

I’ve searched the forum, and I didn’t see this question asked. I’m sorry if I missed it and this is redundant.

My question is this… I’m using the coding from this site about sending a form to an email address. It works fine for my own site, but I went to test a clients form using my email address, and it wouldn’t work. I can type things in, and it takes me to the confirmation page, but it wouldn’t send me the email. After hours and days working on it, I created a new email account for their domain. I put that email in my Outlook and in the mailer.php. Now it works just fine.

Why won’t it work with an email address that’s not directed to the same domain that the mailer is? I mean, if the email address [I]in[/I] the mailer is directed to a different domain, why wouldn’t it still send it to the appointed email? Shouldn’t I be able to direct the form results to any email I want?

Any input would be apprecited.

Thanks,
Rebekah

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@bokehAug 02.2005 — Because the mailserver is probably set not to relay if the sender is not local.
×

Success!

Help @Rebekah spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...