hey roomies, can I place a geo script when sending email so it will show the name of the local city to the recipient? I have html options in email (who doesn't!) but I don't know if a script I have (I have a couple) either max mind or geo java script works in email? thanks !! I'm open to any thoughts AMF~
Well, I am not sure if calling a script generating html output in email will be allowed. I would suggest to keep img tag with source to a php script which will generate an image of the city name based on the geocode data received from user's ip address. I recommend using MaxMind for this purpose.
Your going to be very hit and miss with running javascript in an email and probably not worth trying. Your best option is to capture the IP at the same time as capturing the email address and use that to generate the emails with the correct city name in it. The idea of using a server side script to output the city name is a good one if you haven't captured IPs and will be more "realtime" if people are in hotels etc when accessing their email but will mean that people will have to look at the HTML version and have internet images turned on.