Jump to content
Server Maintenance This Week. ×

email address being modified


This topic is 5109 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hey everyone,

A client is using this plug-in for mass emails (looped through, one at a time).

While trying to send about 1300 individual emails, about 100 of the email addresses were changed to include some strange characters in them.

For example, an email of [email protected] became the following:

"ÿHarvey.Wallbanger"@something.gc.ca

It inserts the quotes, and that foreign character at the beginning -- but it is not always the same character!

Here is the formula that is used to create and send the email.

EmailCreate(

$$userEmail

; CONTACT::email

; CONTACT::zcg_emailSubject )

and

If ( CONTACT::zcg_emailAttach

; EmailAttachFile( CONTACT::zcg_emailAttach ) ; 1 )

and

EmailSetBody( CONTACT::emailPluginMessage ; "text/plain" )

and

EmailSetBody( CONTACT::zcc_encodedEmailMessage ; "text/html" )

and

EmailSetHeader( 1 ; 1 ) and

EmailSend

Link to comment
Share on other sites

It looks like there is a problem with the CONTACT::email field. I recommend stepping through your script using the script debugger and the data viewer so that you can see what value is being passed in by that field as you loop through the records.

Link to comment
Share on other sites

I just tried that again, and no joy. The CONTACT::email field is only holding the email address -- without the extra characters -- when I look at it on the layout, OR in the data viewer.

I stopped short of actually sending the email, so that it wouldn't actually send an email to their clients. But the email field looked good before and after.

Any ideas?

Link to comment
Share on other sites

Try a test function call by hard-coding the email address into the function parameter manually. This should help you tell if there is a problem with your calculation.

Edited by Guest
Link to comment
Share on other sites

This topic is 5109 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.