/    Sign up×
Community /Pin to ProfileBookmark

PHP problem with forwarding email

Hi there,

I’m using Pyro’s (many tanks) php script to send email via a form.

However, I have a problem in that when you submit data via a form it only works if you send it to one email address. If you try to forward the email to alternative address, the email appears to get lost.

I’m totally lost, and have tried (seemingly) everything.

Can anyone advise me on what to do? Does this even sound like a php script problem?

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@jaykayauthorMar 26.2004 — Any advice. Any thing please?!?
Copy linkTweet thisAlerts:
@olafMar 26.2004 — Hallo,

I think that you need some extra headers to sent some CC

or just run a loop...

If i'm wrong then it could be because i didn't know pyro's script (i write my own one's)
Copy linkTweet thisAlerts:
@jaykayauthorMar 27.2004 — Thanks for the reply olaf.

Could you please tell me how do I write script to CC to an alternative email address. I believe it goes in the 'headers' part of the script but thats all I know.

Thanks,
Copy linkTweet thisAlerts:
@olafMar 27.2004 — $mail_headers = "From: "".$fromName."" <".$fromMail.">rn";

$mail_headers .= "Cc: [email][email protected][/email]rn";

But you have to send mime mail in this case seach for tutorials about mime mail
Copy linkTweet thisAlerts:
@jaykayauthorMar 29.2004 — Thanks mate, I'll definately try that. I'll let you know how I get on.
×

Success!

Help @jaykay 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.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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