Jump to content

Escaping special characters in email address


mayfair

Recommended Posts

Hello Guys

 

Im at the final stages of an online ordering system and have to send the details of the order to the database software that our company uses - Goldmine. This is done via a web import process that picks up emails sent to a certain address with the required fields and values in.

 

Now the problem is: The version of Goldmine we use is an absolute dinosaur and uses loads of symbols that are special or reserved characters in many programming languages  >:( in particular, the 'to' address for all web-import emails have to follow an exact syntax - {$GM-WEBIMPORT$} <[email protected]> - and that's hard-coded into the program. When I try and send to this address using PHP's mail() function, I get a "550 delivery is not allowed to this address" error; which im assuming is being caused because PHP is looking for a variable called $GM-WEBIMPORT or something. I've tried escaping all the symbols using their ASCII equivalent and splitting them up into strings etc, but I still can't get it to work. Our Goldmine 'Technical Contact' was just as puzzled on the phone and actually said "hmm well im sure there is a workaround because lots of our customers must import using PHP"! 

 

My Plan B was to come on here and see if you guys have any suggestions!  8)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.