If details.email_address is a var, then it shouldn't be in quotes. To
avoid any doubt, just use a str: 'myt...@validemail.com'
General approach: "first get it working, then improve it". Maybe this
will help...
def contact_us():
details=db.hotel_profile(request.args(0, cast=int))
I am sure details.email_address is defined, I double checked.
I redefined my code & added the highlighted lines, now everytime i send
the email response flashes an error message. How can I get it to tell me
the exact error??
def contact_us():
details=db.hotel_profile(request.args(0,
What error did it give you? Are you sure `details.email_address` is
defined?
On Sunday, February 23, 2020 at 8:13:07 AM UTC-5, mostwanted wrote:
>
> I did try it without the quotes & it still gave me an error!
>
> On Sunday, February 23, 2020 at 2:59:04 PM UTC+2, Scott Hunter wrote:
>>
>> Did
I did try it without the quotes & it still gave me an error!
On Sunday, February 23, 2020 at 2:59:04 PM UTC+2, Scott Hunter wrote:
>
> Did you try removing the quotes around the address?
>
> - Scott
>
>
>
> On Saturday, February 22, 2020 at 4:56:04 PM UTC-5, mostwanted wrote:
>>
>> I've created
Did you try removing the quotes around the address?
- Scott
On Saturday, February 22, 2020 at 4:56:04 PM UTC-5, mostwanted wrote:
>
> I've created an emailing form in my application but have substituted where
> the email goes with a reference that contains the email, the problem is
> that
5 matches
Mail list logo