This is an open forum for any mojoPortal topics that don't fall into the other categories.
Hi all,
I need newsletter. I read using newletter documents. Then i modified smtp server in web.config like this:
<add key="EnableSiteSettingsSmtpSettings" value="true" />
<add key="MaskSmtpPasswordInSiteSettings" value="true" />
<add key="ShowSmtpEncodingOption" value="false" />
<add key="DisableDotNetOpenMail" value="true" />
<add key="SMTPServer" value="smtp.gmail.com" />
<add key="SMTPRequiresAuthentication" value="true" />
<add key="SMTPUseSsl" value="true" />
<add key="SMTPPort" value="587" />
<add key="SMTPUser" value="mymail@gmail.com" />
<add key="SMTPPassword" value="mypass" />
And my contact form is working fine. When i tried send newsletter following errors showed:
Required Unsubscribe token #unsubscribe# not found in HTML.Unsubscribe token #unsubscribe# not found in plain text.
Does anyone know about this?
Huh. This is just require #unsubscribe# which must be included your message.
However there is no errors occurs, Task Queue was appears
Test letter Mailer 12/1/2009 2:08:36 AM 12/1/2009 2:20:13 AM 12/1/2009 2:20:13 AM 0% Started
It took long time and i checked system log, there was following error
ERROR mojoPortal.Web.mojoBasePage - 124.158.104.252-en-US - /eletter/LetterEdit.aspx?l=22ea2d94-59d9-40c8-b847-5b9a75da4290&letter=324e272d-f09f-4274-9386-a68cd3ee6f89
System.FormatException: The specified string is not in the form required for an e-mail address.
at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
at System.Net.Mail.MailAddress.ParseValue(String address)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.MailAddress..ctor(String address)
Then Letter Mailer task didn't finish.
Please help me
Hi,
I would check that the Default Email From Address is correct in Site Settings
Hope it helps,
Joe
Thank you for replying.
Sorry i didn't understand your mean. As i understood do you want check my default mail address or your own address?
Anyway i changed my Site Email From Address in Site Settings to same as in web.config.
When i tried send newsletter, task is queued.
However in the system log no error shown, newsletter mailer task didn't running.
My issue is looks like this one
http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=3&thread=4059&postid=16877
Did you solve it?
Hi Ogolo,
Actually your error looks more like this one:
http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&mid=34&ItemID=2&thread=4255
I have fixed this in svn trunk at least in terms of handling the error. I will email you a new version of mojoPortal.Net.dll, please backup the current one from the /bin folder and let me know if this solves it for you.
Best,
Hi Joe,
I tried your suggestion. But no difference from before.
And in the system log has no error and my contact form is working fine.
My mojo version: 2.3.1.9 MySQL
My newsletter is working now.
Before i used version 2.3.1.9 MySQL.
I upgraded to version 2.3.3 MySQL then it is working.
Thanks Joe