CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Subscription Confirmation request - external mail server
Pages: [1]

Author Topic: Subscription Confirmation request - external mail server  (Read 1090 times)

maxrebo

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.6
  • CMS version: Joomla! 2.5.8 Stable [ Ember ]
  • MySQL version: not sure
  • PHP version: 5.3.17
Subscription Confirmation request - external mail server
February 06, 2013, 11:59:57 pm
Subscription Confirmation Request - link within email to confirm a users subscription to i.e. newsletter

"An error occurred when CiviCRM attempted ....." Full details and steps to take are below.

I have been in touch with civihosting.com and they have advised to post on this forum as they checked my setting and don't know how to fix this either.

NOTE: hosting is on another server - sot sure if this has anything to do with it?

HOW TO REPRODUCE THE ERROR
1. Go to “mailing list subscription”
3. enter email and check mailing list box
4. go to your email for confirmation request
5. click on link within email
6. When you click on the click here link you get this message. Note: user is actually successfully subscribed in civi.

ERROR:
An error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after submitting on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.
The mail library returned the following error message:
Validation failed for: "Right To Life Australia"
This is probably related to a problem in your Outbound Email Settings (Administer CiviCRM » System Settings » Outbound Email), OR the FROM email address specifically configured for your contribution page or event. Possible causes are:
• Your Sendmail path is incorrect.
• Your Sendmail argument is incorrect.
• The FROM Email Address configured for this feature may not be a valid sender based on your email service provider rules.
Check this page for more information.
accounts@****(accounts@*****) has been successfully subscribed to the Newsletter Emailout mailing list.



Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Subscription Confirmation request - external mail server
February 07, 2013, 08:00:04 am
To clarify, the issue here is when a visitors uses a standalone Profile to sign up for a mailing list and clicks on the confirmation link, he sees the error above. This site uses mail() for outgoing email and it works fine.

Regarding the third possible cause, I don't see how to set the particular email used for this profile but I tried changing the global default email account, but it didn't help.

The phrase "hosting is on another server" above refers to email service, which is hosted on a third party server, not the one hosting the website.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Subscription Confirmation request - external mail server
February 07, 2013, 09:53:05 am

Might be easiest to add some debug code to the confirm page and see if you can get a more detailed error message from the mailing package

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

maxrebo

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.6
  • CMS version: Joomla! 2.5.8 Stable [ Ember ]
  • MySQL version: not sure
  • PHP version: 5.3.17
Re: Subscription Confirmation request - external mail server
February 12, 2013, 05:49:47 pm
hmm not really sure how to do that. Can you advise or perhaps I may have to phone a friend :-\

maxrebo

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.6
  • CMS version: Joomla! 2.5.8 Stable [ Ember ]
  • MySQL version: not sure
  • PHP version: 5.3.17
Re: Subscription Confirmation request - external mail server
March 13, 2013, 12:27:03 am
"Might be easiest to add some debug code to the confirm page and see if you can get a more detailed error message from the mailing package"

Would you mind elaborating or pointing me to somewhere that can advise of the debug code and how to add?

maxrebo

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.6
  • CMS version: Joomla! 2.5.8 Stable [ Ember ]
  • MySQL version: not sure
  • PHP version: 5.3.17
Re: Subscription Confirmation request - external mail server
April 02, 2013, 06:17:35 pm
Ok i have the debug code but i am not sure which part you require (since there are passwords in it) so i have just blanked them out. Any help would be greatly appreciated as this issue is becoming urgent and i just keep getting thrown back and forth between the ISP and the mail host. I am going quite insane!!!!  H.E.L.P!


{$SCRIPT_NAME}   "/index.php"
{$activeComponent}   "CiviCRM"
{$buildNavigation}   null
{$config}   CRM_Core_Config Object (116)
   ->dsn = "mysql://righttolife:#####@localhost..."
   ->userFramework = "Joomla"
   ->userFrameworkURLVar = "task"
   ->userFrameworkDSN = "mysql://righttolife:######@localhost..."
   ->userSystem = CRM_Utils_System_Joomla Object (4)
      ->is_drupal = false
      ->is_joomla = false
      ->is_wordpress = false
      ->supports_form_extensions = false
   ->templateCompileDir = "/home/righttolife/www/www/media/civic..."
   ->configAndLogDir = "/home/righttolife/www/www/media/civic..."
   ->initialized = 1
   ->componentRegistry = CRM_Core_Component Object (0)
   ->inCiviCRM = false
   ->recaptchaPublicKey = "6Lfq8t0SAAAAAEI9ug805csXRFemtBk5BgzAB..."
   ->debug = "1"
   ->backtrace = "0"
   ->smartyDir = "/home/righttolife/www/www/administrat..."
   ->pluginsDir = "/home/righttolife/www/www/administrat..."
   ->templateDir = Array (1)
     0 => "/home/righttolife/www/www/administrat..."
   ->resourceBase = "/administrator/components/com_civicrm..."
   ->uploadDir = "/home/righttolife/www/www/media/civic..."
   ->imageUploadDir = "/home/righttolife/www/www/media/civic..."
   ->customFileUploadDir = "/home/righttolife/www/www/media/civic..."
   ->imageUploadURL = "http://righttolife.com.au/media/civic..."
   ->extensionsURL = "http://righttolife.com.au/extensions/"
   ->cleanURL = 0
   ->countryLimit = Array (5)
     0 => "1228"
     1 => "1013"
     2 => "1039"
     3 => "1154"
     4 => "1226"
   ->provinceLimit = Array (4)
     0 => "1228"
     1 => "1013"
     2 => "1039"
     3 => "1226"
   ->defaultContactCountry = "1013"
   ->defaultCurrency = "AUD"
   ->lcMessages = "en_US"
   ->dateformatDatetime = "%B %E%f, %Y %l:%M %P"
   ->dateformatFull = "%B %E%f, %Y"
   ->dateformatPartial = "%B %Y"
   ->dateformatYear = "%Y"
   ->dateformatTime = "%l:%M %P"
   ->timeInputFormat = 1
   ->dateInputFormat = "dd/mm/yy"
   ->fiscalYearStart = Array (2)
     M => "7"
     d => "1"
   ->moneyformat = "%c %a"
   ->moneyvalueformat = "%!i"
   ->currencySymbols = ""
   ->defaultCurrencySymbol = "$"
   ->monetaryDecimalPoint = "."
   ->monetaryThousandSeparator = ","
   ->gettextCodeset = "utf-8"
   ->gettextDomain = "civicrm"
   ->gettextResourceDir = "/home/righttolife/www/www/administrat..."
   ->userFrameworkVersion = "2.5.9"
   ->userFrameworkUsersTableName = "jos_users"
   ->userFrameworkClass = "CRM_Utils_System_Joomla"
   ->userHookClass = "CRM_Utils_Hook_Joomla"
   ->userPermissionClass = "CRM_Core_Permission_Joomla"
   ->userFrameworkBaseURL = "http://righttolife.com.au/"
   ->userFrameworkResourceURL = "http://righttolife.com.au/administrat..."
   ->userFrameworkFrontend = 1
   ->userFrameworkLogging = false
   ->maxImportFileSize = 52428800
   ->maxAttachments = "3"
   ->maxFileSize = "2"
   ->localeCustomStrings = null
   ->mapProvider = "Google"
   ->mapAPIKey = ""
   ->geoProvider = "Google"
   ->geoAPIKey = ""
   ->geocodeMethod = "CRM_Utils_Geocode_Google"
   ->mapGeoCoding = 1
   ->contactUndelete = "1"
   ->logging = "0"
   ->versionCheck = "1"
   ->enableComponents = Array (7)
     0 => "CiviContribute"
     1 => "CiviPledge"
     2 => "CiviMember"
     3 => "CiviEvent"
     4 => "CiviMail"
     5 => "CiviReport"
     6 => "CiviCampaign"
   ->enableComponentIDs = Array (7)
     0 => "2"
     1 => "6"
     2 => "3"
     3 => "1"
     4 => "4"
     5 => "8"
     6 => "9"
   ->enableSSL = false
   ->fatalErrorTemplate = "CRM/common/fatal.tpl"
   ->fatalErrorHandler = ""
   ->legacyEncoding = "Windows-1252"
   ->fieldSeparator = ","
   ->maxLocationBlocks = 2
   ->captchaFontPath = "/usr/X11R6/lib/X11/fonts/"
   ->captchaFont = "HelveticaBold.ttf"
   ->includeWildCardInName = "0"
   ->includeEmailInName = "1"
   ->includeNickNameInName = "1"
   ->smartGroupCacheTimeout = "0"
   ->defaultSearchProfileID = "1"
   ->dashboardCacheTimeout = "1440"
   ->doNotResetCache = 0
   ->includeAlphabeticalPager = "1"
   ->includeOrderByClause = "1"
   ->oldInputStyle = 1
   ->formKeyDisable = false
   ->doNotAttachPDFReceipt = "1"
   ->wkhtmltopdfPath = ""
   ->civiRelativeURL = "/administrator/?option=com_civicrm&am..."
   ->verpSeparator = "."
   ->mailerBatchLimit = "0"
   ->mailThrottleTime = "0"
   ->mailerJobSize = "0"
   ->replyTo = ""
   ->mailerJobsMax = "0"
   ->recaptchaPrivateKey = "6Lfq8t0SAAAAACzWXqK_h7jFsRn1UMSiiEXJj..."
   ->recaptchaOptions = ""
   ->customTranslateFunction = ""
   ->_qf_default = "Localization:next"
   ->_qf_Localization_next = "Save"
   ->inheritLocale = 0
   ->civiModules = Array (0)
   ->mailerPeriod = 180
   ->mailerSpoolLimit = 0
   ->customTemplateDir = "/home/righttolife/www/www/civicrm_cus..."
   ->customPHPPathDir = null
   ->extensionsDir = "/home/righttolife/www/www/extensions"
   ->customCSSURL = null
   ->sqlDir = "/home/righttolife/www/www/administrat..."
   ->importDataSourceDir = "/home/righttolife/www/www/administrat..."
   ->groupTree = false
   ->revampPages = Array (0)
   ->useIDS = true
   ->useFrameworkRelativeBase = "/"
{$defaultWysiwygEditor}   "2"
{$display_name}   "Michelle Spence"
{$email}   "michellespence2@optusnet.com.au"
{$formTpl}   "default"
{$group}   "Right to Life Australia Online News"
{$langSwitch}   Array (0)
{$mode}   "null"
{$pageTitle}   "Confirm"
{$printerFriendly}   "/index.php?option=com_civicrm&tas..."
{$session}   CRM_Core_Session Object (0)
{$success}   true
{$tplFile}   "CRM/Mailing/Page/Confirm.tpl"
{$tsLocale}   "en_US"
{$urlIsPublic}   true

<http://righttolife.com.au/index.php?option=com_civicrm&task=civicrm/mailing/confirm&reset=1&cid=32831&sid=124&h=d6f8564e5dcf5525&smartyDebug=1>

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Subscription Confirmation request - external mail server
April 07, 2013, 10:25:24 am
Can you try using a different SMTP email connection?

Or try making a different profile and test if it works? Perhaps something is odd with this one....
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

maxrebo

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: CiviCRM 4.2.6
  • CMS version: Joomla! 2.5.8 Stable [ Ember ]
  • MySQL version: not sure
  • PHP version: 5.3.17
Re: Subscription Confirmation request - external mail server
April 07, 2013, 08:35:57 pm
I tried using campaigns@righttolife.com.au (before these settings were implemented) but it did not work - I will try again and see.

I set up a new profile called Newsletter Sign-up - but I get the exact same results.
http://www.righttolife.com.au/index.php/newsletter-sign-up

I just tried Subscription through a different method and although the confirmation message is different - the activation link works.
http://righttolife.com.au/index.php/joomla-registration-form

Although this method works I still require the Profile method to be functioning so I can add other fields that are not provided.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Subscription Confirmation request - external mail server

This forum was archived on 2017-11-26.