Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

email address being modified

Featured Replies

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

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.

  • Author

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?

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

  • Author

Thanks, David. I'll give that a try.

They get a lot of these addresses by copying and pasting from Web sites. Is there a chance that they have accidentally brought along some illegal, invisible characters?

That is quite possible. It is very easy to accidentally catch a space, line break, or return that you may not notice when copying and pasting text.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.