/    Sign up×
Community /Pin to ProfileBookmark

Question about files…

So I used a grep to search out a line of code. It returned nothing, but the code is obviously being generated by a (mail) function or some function because it’s part of an auto-responder after a purchase it being made.

Thank you for your order! etc etc etc.

Name
Address
billing info
shipping info etc etc.

Any ideas where this might reside? If it’s not in my actual files anywhere?

:banghead:

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@SupplementauthorSep 30.2011 — So basically in the auto-responder the name is being screwed up so you can't return emails if customers wished from their email receipt. This is the output: [email][email protected][/email] The name is Steven.

I think i found the file but i'm not sure what's messing it up, it's a shot in the dark but perhaps this:


$headers .= 'To: '.$MailTo.' <'.$MailTo.'>'.$eol;

$headers .= 'From: '.$SenderName.' <'.$SenderMail.'>'.$eol;

$headers .= "Message-ID: <".$Momentn."@".$Servername.">".$eol;

$headers .= 'Date: '.date("r").$eol;

$headers .= 'Sender-IP: '.$_SERVER["REMOTE_ADDR"].$eol;

$headers .= 'X-Mailser: iPublications Adv.PHP Mailer 1.6'.$eol;

$headers .= 'MIME-Version: 1.0'.$eol;

$bndp = md5(time()).rand(1000,9999);

$headers .= "Content-Type: multipart/mixed; $eol boundary="".$bndp.""".$eol.$eol;


As usual, any help would be greatly appreciated.
Copy linkTweet thisAlerts:
@SupplementauthorSep 30.2011 — I'm not sure where $SenderMail is being defined because there is no includes at the top of the page.

Any help would be appreciated.

?
Copy linkTweet thisAlerts:
@criterion9Sep 30.2011 — If you are using Netbeans or Eclipse you can try right-clicking and using some of the advanced context searching options...
Copy linkTweet thisAlerts:
@SupplementauthorSep 30.2011 — Using go to declaration?
Copy linkTweet thisAlerts:
@SupplementauthorOct 05.2011 — well, i feel like a big dummy cause the name in the email address coming from the payment gateway. Just thought I'd mention that the issue has been resolved and thanks again for any time and effort put fourth from you guys.


:banghead:
×

Success!

Help @Supplement 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.28,
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,
)...